An error occurred while trying to run the project: a solution to failure to start the project on the Web Server

Source: Internet
Author: User
1: Check that "ASP. NET debugging enabled" is "true" in "configuration properties"
Procedure:
In the vs environment, choose "menu"> "project"> "Project Properties"> "configuration properties" (second item on the left)> "debugging"> "enable ASP. NET"> "debugging" to "true ".
Purpose:
Make sure that the debugger can start IIS to debug the Asp.net page!
2: Confirm "DEBUG = true" in your "Web. config"
Procedure
Open the Web. config file and set DEBUG = "true ";
Purpose: configure the debugger to debug the application. Program

3: If you have installed wind2000 SP4, Run "regsvr32 I aspnet_isap.dll" on the command line"
Procedure:
Start-run-cmd-regsvr32 I aspnet_isap.dll
Purpose:
Register aspnet_isap.dll again

4: view the site information in IIS, select "Directory Security", which includes "Anonymous Access and authentication control", and then click "Edit .. ", confirm that the" Integrated Windows Authentication "option is selected
Procedure:
My computer-right-click-Manage-Application Management-IIS-default website-your site-right-click-Directory Security-Authentication and access method-select Anonymous Access and authentication control, edit-check "Integrated Windows Authentication"
Purpose:
Anonymous Access: This is not set to solve your debugging problem, but to enable other users in the LAN or wide area network to access the website by entering your IP address and website name.
Integrated Windows Authentication: if you have just created a website identity authentication method for Windows, you must use a Windows user identity to access the website. If you do not change IIS, debugging will fail!
5: Choose "ie"> "Security Settings"> "Custom Level" and check "automatically log on with the current user name and password"
The preceding steps are described in detail.
Unknown role
6: Run c: \ winnt \ Microsoft. NET \ framework \ v1.0.3705 \ aspnet_regiis.exe-I
Procedure;
CD to c: \ winnt \ Microsoft. NET \ framework \ v1.0.3705 \ directory
Aspnet_regiis.exe-I
Or start = All progames-Visual studio.net 2003-Visual studio.net tools-command prompt-aspnet_regiis.exe-I
Purpose:
Re-register the current. NET Framework Version (v1.0.3705) to IIS.

7: Control Panel-management tools-Computer Management-local users and groups-users, double-click the ASPNET user to add the Administrators
Steps have been completed. I do not know the role

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.