Asp. NET project error handling method rollup

Source: Internet
Author: User
Asp.net| Project

1: Confirm "Enable ASP.net debugging" in Configuration properties as "True"
Operation Steps:
VS Environment, Menu-Project-project properties (bottom option)-Configuration properties (second on left)-debugging-enable asp.net debugging set to True
Role:
Determine if the debugger can start IIS to debug the asp.net page!
2: Confirm the "Debug=true" in your "Web.config"
Operation Steps
Open the Web.config file and set debug= "true";
Role: Configure the debugger to debug the application

3: If you have installed wind2000 SP4, you want to perform "regsvr32 i aspnet_isap.dll" at the command line
Operation Steps:
Start-run-cmd-regsvr32 i Aspnet_isap.dll
Role:
Re-register Aspnet_isap.dll

4: View the site information in IIS, select Directory security, with anonymous access and authentication control, and then click Edit ... to confirm that the Integrated Windows Authentication option is selected
Operation Steps:
My Computer-Right click-admin-Application Management-iis-Default Web site-Your site-right click-Directory security-authentication and access mode-check anonymous access and authentication control, edit-checkbox confirm Integrated Windows authentication
Role:
Anonymous access: This setting is not intended to solve the problem you have to debug, is to enable the local area network or WAN other users to enter your IP and site name to access the site
Integrated Windows authentication: Newly established Web site authentication method for Windows requires that the Web site be accessed by Windows users, not even IIS, which will not be able to debug properly!
5: In the IE option-> "Security Settings"-> "Custom Level" has "user verification", confirm that select "Automatically log on with current username and password"
Steps above have been detailed

6: Running C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe-i
Operation Steps;
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
Role:
Re-registering the current. NET Framework version (v1.0.3705) to IIS, which is not a v1.1 problem when you are running the. NET version.

7: Control Panel--management tools--Computer Management--Local Users and groups--users, double-click the ASPNET user to be subordinate to the Add Administrators user



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.