Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
in this code variable _service is null. Any idea what's wrong? It was working before without any problems...
private SPWebApplication _service;
_service = properties.Feature.Parent as SPWebApplication;
It seems that your feature is not web application scoped.
Required, but never shown