# JobStorage.Current property value has not been initialized

**URL:** <https://discuss.hangfire.io/t/jobstorage-current-property-value-has-not-been-initialized/884>\
**Category:** question\
**Created:** [April 23, 2015, 5:30am UTC](https://discuss.hangfire.io/t/jobstorage-current-property-value-has-not-been-initialized/884 "2015-04-23T05:30:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nirinchev](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/nirinchev/32/122_2.png) [@nirinchev](https://discuss.hangfire.io/u/nirinchev)\
**Post date:** [April 23, 2015, 10:01pm UTC](https://discuss.hangfire.io/t/jobstorage-current-property-value-has-not-been-initialized/884/2 "2015-04-23T22:01:30Z")

</div>

You should call  
`JobStorage.Current = new SqlServerStorage("ConnectionStringName", options)`  
before initializing your BackgroundJobServer.

---

_[View the full topic](https://discuss.hangfire.io/t/jobstorage-current-property-value-has-not-been-initialized/884)._
