The original IIS is set to display a single error page
But the recent server Page error, but the local is really intact, so I want to let the server display specific error
Two methods are found on the Internet;
First of all, one effective:
Configuration via Web. config
In fact, the above in both configurations, will eventually be reflected in the corresponding Web. config. Therefore, we can edit the Web. config directly. Especially for purchased virtual hosts (Shared Web Hosting), there is no permission to change IIS. Open the Web site directory, locate the Web. config file (if not, create a TXT file to save as Web. config), locate the System.webserver configuration section, add the configuration .
<configuration> <system.webServer>
Attention
This parameter option can be applied to a Web site or subdirectory or to a virtual directory.
This parameter option is valid for all IIS applications, including ASP, Aps.net, PHP, and so on.
If it is an ASP, you may also need to configure <customerrors mode= "Off"/>
<system.web> <customerrors mode= "Off"/> </system.web>
Here are the second, online a lot of this practice, but I have no effect, you can try it yourself
The first step:
1. Open IIS, or press and hold WIN + R to open the command line Input inetmgr open IIS Management
2, the left directory select the target site, in the right IIS block, double-click "ASP"
3. Expand the Debug Properties node in the ASP page
4. Find "Send error to Browser" and select True
5, the application can be.
Part II:
1. Open IIS Manager, or press and hold WIN + R to open the command line Input inetmgr open IIS Management
2, the left directory select the target site, in the right IIS block double-click "Error Page"
3. Select "Edit feature Settings" in the "actions" item on the right side of the error page
4, in the Error responses, select detailed errors, stand-alone OK to complete the configuration.
Log---IIS displays specific errors for the ASP.