2

When activating a feature on a site I am getting a Runtime Error page that indicates to set customError mode attribute to Off in order to see the error.

I have changed the web.config in my IIS folder for the web application but the error message does not display. Considering there are other web.config files in the 14 hive is there another one I should edit?

2 Answers 2

3

If your page is in _layouts folder, you may need to make similar change to {sharepoint root}\TEMPLATE\LAYOUTS\web.config as well.

Disclaimer: I would refrain from making a change in this file in production environments.

1
  • agreed.. This is my dev box Commented Nov 15, 2011 at 21:30
0

I would echo Ashish's comment that you should not make these changes in a production environment. The full details of the error should be getting written to the SharePoint log. I would look for the error details there.

I like the ULSViewer utility from Microsoft for this purpose.

1
  • do asp.net runtime errors show up on ULS logs? I have not noticed those and will have to check on that. It would be great if they did. Commented Nov 17, 2011 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.