简体   繁体   中英

ASP.NET 2.0 IIS Setup

Good afternoon,

This should be an easy one. I've done the cookie-cutter default ASP.NET 2.0 installation, but I have a couple of programming errors in my application.

When I access the webpage on the server itself, I get a detailed ASP error message. However, when i try to run the same thing from a client machine, I just get a no-descriptive 500 error without any exception details.

How do I make it so detailed exception messages are sent to remote clients?

Regards, Alan.

Set the CustomErrors mode to Off. I hope this is not for public facing websites.

Off - Specifies that custom errors are disabled. The detailed ASP.NET errors are shown to the remote clients and to the local host.

You dont want to do that. Its a security practice violation.

Just think how much easier you make it for an attacker, when your source code and app version (among other things) are displayed on the screen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM