• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 761
  • Last Modified:

IIS 7 Enable Details Error messages remotely

When I create a new website in my web hosting control panel the detailed error messages for asp are turned off by default on an IIS 7 server.  
I can contact the support team to enable it, but is there any way this can be enabled by placing a file on the server?  E.g. a web.config file (which I don't know anything about)
I am using classic asp for this site.
  • 2
2 Solutions

web.config file is for .net environment and not applicable in classic ASP. The only way to see detailed error report in client browser is to set it from the IIS server.. As per my understanding, there is no workaround available for this situation.


you can do this with the following content in web.config, but only if the system administrator has allowed that property to be delegated:

   <asp scriptErrorSentToBrowser="true"/>

refer to this resource for more info:  

cheers,  Mike.
harris9999Author Commented:
I found a different work around.  
In the control panel I can create custom error messages so I redirected the 500:100 errors to a page which caught the error and displayed it.  
Thanks for the help anyway.
just a poinjt of clarification - the first comment is actually not true for IIS7.  That was the case for IIS6, but since IIS7, all IIS configuration can be done by web.config


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now