Link to home
Start Free TrialLog in
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.
Avatar of GeorgeGergues
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.
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.
IISRESET ?
ASKER CERTIFIED SOLUTION
Avatar of simpsonator
simpsonator

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of simpsonator

ASKER

This method worked.