Scenario:
Got an error while activating feature.
Object reference not set to an instance.
Also break point was not hitting the Feature Receiver code while debugging.
Solution:
Few things I tried before I found the real cause.
1. Commented the code and tried, still same error
2. Removed the Element manifest and tried, still same error
3. Checked the feature dependency. This was the culprit. Remove feature dependency resolved the issue.
Wednesday, January 18, 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment