How to solve? Server Error in '/' Application.

Source: Internet
Author: User

Problem Description:

Server Error in '/' Application.
Runtime Error
Description:an Application error occurred on the server. The current custom error settings-application prevent the details of the application error from being viewed Remo Tely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details:to enable the details of this specific error message to being viewable on remote machines, please create a <custo Merrors> tag within a "Web. config" configuration file located in the root directory of the current Web application. This <customErrors> tag should then has its ' mode ' attribute set to "Off".

<!--Web. config Configuration File--

<configuration>
<system.web>
<customerrors mode= "Off"/>
</system.web>
</configuration>

Notes:the Current error page seeing can is replaced by a custom error page by modifying the "defaultredirect" att Ribute of the application ' s <customErrors> configuration tag to point to a custom error page URL.

<!--Web. config Configuration File--

<configuration>
<system.web>
<customerrors mode= "RemoteOnly" defaultredirect= "mycustompage.htm"/>
</system.web>
</configuration>

New site, often encountered this problem, after the search is to modify the configuration file, but the effect is not good, there are sequelae.

Final Solution:

. Check the Iis-web service extension--asp.net v2.0.50727 and active Server pages have no settings allowed
(If no service extension is re-registering the IIS service extension, enter the command as in "Start"-"run", carriage return C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis-i-enable)
2. Control Panel--management tool--services--asp.netstate Service set to Automatic, and start
1 after execution if not, it's best to reestablish a virtual directory or Web site
Recent occurrences should have been caused by the update of. NET Patches

How to solve? Server Error in '/' Application.

Related Article

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.