1: Confirm that "Enable ASP.NET debugging" in "Configuration Properties" is "True"
Operation steps:
In the VS environment, menu-Project-Project Properties (the bottom option)-Configuration Properties (the second item on the left)-Debugging-Enable Asp.Net Debugging is set to True
effect:
Make sure the debugger can debug the asp.net page by starting IIS!
2: Confirm "debug=true" in your "web.config"
Operation steps: Open the web.config file and set debug="true";
Function: Configure the debugger to debug the application
3: If you have installed wind2000 SP4, you need to execute "regsvr32 i aspnet_isap.dll" on the command line
Operation steps:
start-run-cmd-regsvr32 i aspnet_isap.dll
effect:
Re-register aspnet_isap.dll
4: View the site information in IIS, select "Directory Security", there is "Anonymous Access and Authentication Control", then click "Edit..." and confirm that the "Integrated Windows Authentication" option is selected Operation steps:
My Computer-right-click-Manage-Application Management-IIS-Default Website-Your Site-Right-click-Directory Security-Authentication and Access Method-Check Anonymous Access and Authentication Control, Edit-Check Confirm "Integration" Windows Authentication"
effect:
Anonymous access: The setting here is not to solve your debugging problem, but to enable other users in the LAN or WAN to access the website by entering your IP and website name. Integrated Windows authentication: the authentication method of the newly created website is Windows It is required to access the website as a Windows user. If the IIS is not updated, normal debugging will not be possible!
5: In IE Options->"Security Settings"->"Custom Level", there is "User Authentication", confirm that "Automatically use the current username and password to log in" is selected.
Step 6 has been detailed above
: Run C:WINNTMicrosoft.NETFrameworkv1.0.3705aspnet_regiis.exe -i
Operation steps;
cd to the C:WINNTMicrosoft.NETFrameworkv1.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
effect:
Re-register the current .net framework version (v1.0.3705) to iis, in order to solve the problem that the .net version you are running is not v1.1 during debugging.
7: Control Panel--Administrative Tools--Computer Management-- Local Users and Groups--Users, double-click the ASPNET user and add the Administrators user to which it belongs.