Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer
    
agreed.. This is my dev box –  ChiliYago Nov 15 '11 at 21:30
    
Thanks you! Worked for me! –  danbord Nov 29 '12 at 17:06

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.

share|improve this answer
    
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. –  ChiliYago Nov 17 '11 at 0:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.