If you publish an ASP.NET app that has an error in the web.config file, ASP.NET won’t give you a detailed error message because the app hasn’t loaded yet. IIS gives a generic yellow ASP.NET error message, again because the app hasn’t loaded, so the debug=”true” stuff hasn’t been parsed correctly. How can I tell IIS to send the details of the configuration error? As it stands, the only way for me to figure out the problem is to look at the event log on the server itself.
Share
http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx
Update after comments
Note, changing this section in the
machine.configwill be the new default for all web applications on the server. To override simply supply this section on your applications’web.config.