Avatar of simpsonator
simpsonator
 asked on

Sharepoint 2010 - Click on Manage Web Applications, Get error: Object reference not set to an instance of an object

Hi
I was playing about trying to map a different local URL to a Sharepoint 2010 application that I've created.

Now, something is broken! Whenever I click on "manage web applications" or "configure service application associations", I get this error:

Object reference not set to an instance of an object. The only option available is "go back to site".

Please help!! I urgently need to setup my sharepoint site.
Microsoft SharePointMicrosoft SQL Server 2008Windows Server 2008

Avatar of undefined
Last Comment
simpsonator

8/22/2022 - Mon
GeorgeGergues

I think we will need more information on this error .

Here are the two places you need to change/ look for errors

[1] The Central Admin , application web config

search for entry

CustomErrors = On , , change that to Off
save the web config.

[2] The WIndows Application log.


Visit the same URL again to see what is causing the error.

Give me back the acutal errors that show on your screen

PS: when done fixing this probelm please revert the CustomError = Off  on your web.config.


Best of Luck.
KoenVosters

George, if he is getting Object Reference not set to an instance of an object that is the detailed error message. Changing customerrors to On won't change the message.
Make sure you put StackTrace=true as well in the web.config as explained here so we can see where it is going wrong.
http://www.koenvosters.be/post/2010/05/05/showing-the-real-error-message-in-sharepoint.aspx

Check your SharePoint log files as well to see what is going on.
Justin Smith

IISRESET ?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
simpsonator

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
simpsonator

ASKER
This method worked.