1. When debugging ASP. NET applications, an error message "the project is not configured for debugging" is displayed. Symptom When you debug an ASP. NET application in Visual Studio. NET, the following error message may appear: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged For ASP. NET projects, verify that you have a valid project file called 'web. config' for the URL specified and 'debug' is set to 'true' in that file. For ATL Server projects, verify that the 'debug' verb is associated with your ISAPI extension. Wocould you like to disable future attempts to debug ASP. NET pages for this project? Cause This error is mainly caused by the following reasons: The ASP. NET application does not have the Web. Config file. The execution permission attribute of the current project folder in "Internet Service Manager" is set to none. Solution To solve this problem, use one of the following methods based on your environment: If your project does not have a Web. config file, add a Web. config file to the directory containing the ASP. NET application. If you are working in Visual Studio. NET, right-click the project in "Project Resource Manager", click Add new project, and then click Web configuration file. If your project already has Web. config file, and the Web. in the "Compilation" section of the config file, set the debug attribute to true. Follow these steps to set the execution permission attribute of the project folder: 1. Start "Internet Service Manager" and click the project you want to debug. 2. Right-click the project and click Properties. 3. Click the Directory tab. 4. If you select none in the execution permission list, Click Show script only and then click application.
2. An error message "cannot start debugging" appears when sending an HTTP request for debugging. Symptom When you debug an ASP. NET application in Visual Studio. NET, the following error message may appear: Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. make sure the server is operating correctly. you may also want to refer to the ASP. NET and ATL Server debugging topic in the online documentation. wocould you like to disable future attempts to debug ASP. NET pages for this project? Cause This problem occurs if a syntax error occurs in the Web. config file of an ASP. NET application. Solution To solve this problem, make sure that the Extensible Markup Language (XML) in the Web. config file is in a valid and correct format. In addition, remember that all characters in Web. config are case sensitive. 3. Access denied when debugging ASP. NET applications. Check the DCOM configuration settings of the Computer debugging manager. "Error message Symptom
When you remotely debug an ASP. NET application in Visual Studio. NET, the following error message may appear: Error while trying to run project: Unable to start debugging on the web server. access is denied. check the DCOM configuration settings for the machine debug manager. wocould you like to disable future attempts to debug ASP. NET pages for this project? Cause This error occurs because the user attempting to perform remote debugging is not a member of the "Debugger user" group on the Microsoft Internet Information Server (IIS) Server. Solution To add an appropriate user to the debugger user group, perform the following steps on the Web server: 1. From the Windows Start Menu, point to program, point to management tools, and then click computer management. 2. In the left pane, click to expand computer management, system tools, and local users and group nodes. 3. Click the group and double-click the debugger user. 4. In the debugger User Properties dialog box, click Add. 5. In the select user or group dialog box, select the appropriate user and click OK. 6. Click OK to exit the debugger user Attributes dialog box. 7. Disable "Computer Management" Resource Manager. 4. error message "cannot start debugging on Web server" appears during ASP. NET application debugging Symptom When you debug an ASP. NET application in Visual Studio. NET, the following error message may appear: Error while trying to run project: Unable to start debugging on the web server. wocould you like to disable future attempts to debug ASP. NET pages for this project? Cause This error occurs because Microsoft Internet Information Server (IIS) is not running or is not running properly. Solution To solve this problem, you must restart IIS. To do this, type iisreset at the command prompt.
5. When debugging ASP. NET pages, the Visual Studio. NET debugger does not stop at the breakpoint. Symptom When debugging ASP. NET Applications in Visual Studio. NET, the debugger may not stop at the breakpoint. Cause This problem occurs because ASP. NET debugging is not enabled in the application. Solution To solve this problem, follow these steps in Visual Studio. NET: 1. In Solution Explorer, select a project name. 2. Click properties in the project menu. 3. Click to expand the configuration attribute node. 4. In the Enable ASP. NET debugging list under debugging, click True.
6. Unable to debug ASP. NET Web applications Symptom When you debug an ASP. NET application in Microsoft Visual Studio. NET, the following Microsoft Development Environment error message may be displayed: Error while trying to run project: Unable to start debugging on the web server. the server does not support debugging of ASP. NET or ATL Server applications. run setup to install the Visual Studio. NET server components. if setup has been run, verify that a valid URL has been specified. You may also want to refer to the ASP. NET and ATL Server debugging topic in the online documentation. wocould you like to disable future attempts to debug ASP. NET pages for this project? Cause This error may occur if Microsoft. NET Framework settings or installation is not completed correctly. When this error occurs, the application ing of the ASP. NET file extension (such as. aspx) is not correctly configured in Microsoft Internet Information Service (IIS. To check whether the application ing is correct, follow these steps: 1. Click Start, point to program, point to administrative tools, and then click Internet Service Manager. 2. Expand the node corresponding to the local host (computer name), and then expand the default Web site node. 3. Right-click the Web application directory and click Properties. 4. Under application settings on the Directory tab, click Configure. 5. Click the application ing tab. 6. Under application ing on the application ing tab, check whether the. aspx extension is mapped to the following dynamic link library (DLL ): C: \ Windows Directory \ Microsoft. Net \ Framework \ v1.0.3705 \ aspnet_isapi.dll Note: you must replace Windows Directory in this path with the correct Directory of your system. 7. If no application ing entry is found, follow the steps in solution. Solution To solve this problem, use the Aspnet_regiis.exe management utility, which manages the installation and uninstallation of multiple versions of ASP. NET on a single computer. To use the Aspnet_regiis.exe utility, follow these steps: 1. Click start, and then click Run. 2. Type cmd in the open box, and click OK to open the command prompt. 3. In the command prompt, type the cd command to change to the following directory: C: \ Windows Directory \ Microsoft. Net \ Framework \ v1.0.3705 4. Type aspnet_regiis-I to correctly configure the application ing.
Error while trying to run project: Unable to start debugging on the web server. Access is denied. wocould you like to disable future attempts to debug ASP. NET pages for this project? Verify that you are a member of the "Administrator" group and "Debugger user" group on your computer. The non-Administrator does not have the correct permission to debug the ASP. NET auxiliary process (Aspnet_wp.exe.
|