Friday, May 23, 2014

#SharePoint 2010 | Object reference not set on solutions gallery

Problem:
Some default pages throw object reference error.

Server Error '/'  Application

Object reference not set to an instance of an object

Description:
An unhandled exception was generated during the execution of the current web request. please review the stack trace for more information about the error and where it orginated in the code.

Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request.Information regarding the origin and using the exception stack trace below.

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
     Microsoft.office.server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()  +134
Microsoft.office.server.Administration.UserProfileApplicationProxy.get_PartitionIDs() +44
Microsoft.office.server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext ServiceContext) +134
Microsoft.office.server.WebControls.MyLinksRibbon.get_Portal Available() +44
Microsoft.office.server.WebControls.MyLinksRibbon.EnsureMySiteUrls() +60
Microsoft.office.server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable()+15
Microsoft.office.server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive()+65
System.Web.UI.Control.LoadRecursive()+190
System.Web.UI.Control.Page.ProcessRequestMail(Boolean includeStagesBeforeAsyncpoint, Boolean includeStagesAfterAsyncpoint) +2427



Solution:
Delete the User Profile Service Application, of fix it.

http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/10/20/sharepoint-issue-unable-to-oben-the-site-object-null-reference-error-solution.aspx


No comments:

Post a Comment