Tuesday, August 10, 2010

Unexpected Error - When attempting to check "User notifcations". BUG!

Hey,

Today I came across with a very annoying bug when you try to get into the "user notifications" under "site actions".

When you press that link you might get an "unexpected error" - with not much info in the event viewer, nothing if you change the custom errors to off ( in the web.config ). That made me read the Moss log and to see that im being thorwen away with THE famous error AKA "null object refernce".

This made me realize that from some odd reason I have nothing under this link or in other words its not initialized at all...

Then I made a subscription in that web site to some doclib and afterwards I was able to reach that page ( sub*.aspx , forgot the name :) ) and to see that info. Deleting my subscription made the page unavilable again.

So instead of checking if the site has any subscription at all and just prompt some more friendly message or letting you know that there is no subscription to the site -it throws you off with this unexpected error...

It always unexpected when you program wrong. Please check for Nulls.

Thanks.

**This issue was checked on a Moss farm with SP2 and Cumulative update June 2009

No comments:

Post a Comment