Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Classic ASP Sending errors to browser does not work on IIS7 for remote connections

I can’t get detailed error reporting for IIS7 for ASP pages on a remote browser connection. However, when I run the page locally on the server I do see a detailed error message.

I have enabled Send Errors To Browser but IIS keeps sending an internal server error.

I have unchecked show friendly HTTP error messages on IE.

Does anyone know how to enable error messages to be sent to a remote browser?

like image 254
Joseph Bi Avatar asked Jun 29 '10 01:06

Joseph Bi


People also ask

Which server option must be selected in order to send the client detailed ASP error messages?

Double click "ASP" in the site's Home screen in IIS admin, expand "Debugging Properties", enable "Send errors to browser", and click "Apply". Under "Error Pages" on the home screen select "500", then "Edit feature settings" and select "Detailed Errors".

How do I enable Classic ASP in IIS 10?

Normally, the iis version in windows 10 is iis10, you can follow below steps to enable classic asp in iis. Search for Turn Windows Features on or off in the win10 search bar. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.


2 Answers

If "Send Errors To Browser" is not working set also this:

Error Pages -> 500 -> Edit Feature Settings -> "Detailed Errors"

like image 50
Casper Avatar answered Oct 24 '22 00:10

Casper


There is an ASP setting you need to change in IIS 7

Under the IIS heading, open the ASP properties, and under Compilation, expand the Debugging Properties, there you'll find:

  • Send Errors To Browser

Set it to True

As you've already done, you need to disable the show friendly HTTP error messages in IE.

like image 21
Andrew Avatar answered Oct 23 '22 22:10

Andrew