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.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago
Get the weekly newsletter!
see an example newsletter