Click here to Skip to main content
15,881,588 members
Articles / Productivity Apps and Services / Sharepoint

Object Null Reference Error When Opening the Site / Document Library in SharePoint

Rate me:
Please Sign up or sign in to vote.
3.00/5 (2 votes)
12 Oct 2012CPOL 18.6K   1   2
How to fix the 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 originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

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 
// ------------------------------------------------------------------------------------------------------

This error occurred in SharePoint installation on Windows Home Premium. But when I searched, I found out this is happening because of the incorrect configuration of user profile service. Therefore, I delete the user profile service application which will help me to solve the issue.

Go to Manage Service Application in the Central Administration.

image

Delete the User Profile Service Application.

image

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Sri Lanka Sri Lanka
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
Ben Schowe21-Nov-14 2:51
Ben Schowe21-Nov-14 2:51 
GeneralMy vote of 5 Pin
Albarhami27-Nov-12 23:24
Albarhami27-Nov-12 23:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.