Server error in '/' Application and server errors in '/' Application. The ultimate Solution _win Server

Source: Internet
Author: User

/applies tools/ajax.aspx?t=topicswithsametag&tagid=338 Tag "href=" tools/ajax.aspx?t=topicswithsametag&tagid=94 "> server error. Run-time Error description: An application error occurred on the server. The current custom error for this application Prevents remote viewing of details of application errors (for security reasons). However, you can view it by using a browser that is running on the local server computer. details: To enable others to view the details of this particular error message on a remote computer, create a <customErrors> tag in the "Web.config" configuration file that is located under the root of the current WEB application. You should then set the "mode" property of this <customErrors> tag to "off."

<!--web.config config file--><configuration> <system.web> <customerrors mode= "Off"/> </ System.web></configuration>


Reason 1: This is because the ASP.net program in the configuration does not display detailed error messages. Solve: You must follow the instructions to modify the Web.config file to<customerrors mode= "off"/> Set mode = "Off" to upload to the site root. And then refresh to see the detailed error. Then you can modify the program according to the error . reason 2:web.config file is not placed in the WWW root directory. Instead, it is placed on the WWW subdirectory, and so on.UserThere is a hint error when accessing this directory. Solve:move the asp.net application under the subdirectory to the WWW root directory. This allows you to see detailed errors. 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 is application prevent the details of the application error from being viewed Remo Tely (for security reasons). It could, however, is viewed by browsers running on the local server machine.Details:To enable the details of the ' this ' specific error message to is viewable on remote machines, please create a &LT;CUSTOMERRORS&G T Tag within a "Web.config" configuration file located in the root directory of the current Web application. This <customErrors> tag should then have's "mode" attribute set to "off".
reason 1:web.config file incomplete. is not a qualified asp.net configuration file.Solve:you want to check whether the web.config is qualified, sometimes careless, and the XML file is incomplete. problems caused Reason 2:asp.net version problem. asp.net has two versions of ASP.net 1.1 and asp.net2.0.

The Server Error in application.the resource cannot is found. Description:http 404. The resource you are looking for (or one of their dependencies) could have been, removed its name had, or are changed rily unavailable. Please review the "following URL and make sure" it is spelled correctly.

Requested URL:/aspx/2/board.aspx
--------------------------------------------------------------------------------
Version information:microsoft. NET Framework version:2.0.50727.42; asp.net version:2.0.50727.42 encounters such a problem is not deploying the bin file, if any, You put the bin file inside the DreamweaverCtrls.dll copy, and then delete the bin file, and then in the previous directory under a new bin file, DreamweaverCtrls.dll paste in.
If it's still not working, that's the problem with IIS.
You need to start-run-cmd-input CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727-enter-aspnet_regiis.exe carriage return. He will prompt asp.net is installing. After installation completes
And then you go back and restart IIS, and the Startup method is: Right-click My Computer-admin-services and applications-right-click Internet Information Services-All Tasks-restart IIS, that should do it

ASPX program Server error in '/' Application The simplest solution to the error

Add users permissions to the Web directory:
Right-click the Web Site folder, properties, security, adding users, and make sure that IIS is not restarted.

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.