"/" Server errors in applications and Server errors in "/" Application. The ultimate solution

Source: Internet
Author: User

"/" 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.