Show classic ASP errors in Azure

Here is the web.config to show classic ASP (.asp files) in Azure, or in my case Windows Azure Pack with websites.

<configuration>
   <system.webServer>
		<asp scriptErrorSentToBrowser="true"/>
		<httpErrors existingResponse="PassThrough"/>
		<!--<httpErrors errorMode="Detailed"/>-->
   </system.webServer>
</configuration>

I commented out detailed error messages. With that enabled it would not show the classic ASP errors.

Leave a Comment

Your email address will not be published.