"/" Indicates a server error in the application.
Runtime error
Note:An application error occurs on the server. The current custom error settings of this application Disable remote viewing of detailed information about application errors (for security reasons ). However, you can view it in a browser running on the local server computer.
Details:To enable others to view detailed information about this specific error message on a remote computer, go to the "Web. create a <mermerrors> tag in the config file. Set the "mode" attribute marked by <customErrors> to "Off ".
<! -- Web. Config configuration file --> <configuration> <system. web> <customErrors mode = "Off"/> </system. web> </configuration> |
Cause 1: The Asp. Net program does not display detailed error information in the configuration.Solution: You must modify the web as required. in the config file, set <customErrors mode = "Off"/> mode = "Off" and upload it to the root directory of the website. then refresh to see the detailed error. then modify the program according to the error.Cause 2: the web. config file is not stored in the www root directory.. It is placed under the subdirectory of www. in this way, an error is prompted when you access this directory. solution: Move the Asp.net application under the subdirectory to the www root directory. the detailed error is displayed. you can adjust the program according to the error.
3. the Asp. Net program displays the following error:
Server Error in '/'application.Runtime ErrorDescription:An application error occurred on the server. the current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons ). it cocould, however, be viewed by browsers running on the local server machine.Details:To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web. config "configuration file located in the root directory of the current web application. this <customErrors> tag shoshould then have its "mode" attribute set to "Off ".
Cause 1: the web. config file is incomplete. It is not a qualified asp.net configuration file.Solution: Check whether the web. config is qualified. Sometimes it is careless and the xml file is incomplete.Cause 2:Asp.net version Problems.Asp.net has two versions: asp.net 1.1 and asp. net2.0.