Enabling ASP.NET 2.0 remote debugging on Composite sites
You can debug asp.net user controls and custom aspx pages on a remote Composite site if your workstation and the server are located in the same domain.
To enable remote debugging on a specific Composite site, execute the following steps:
-
Ensure that the FrontPage 2002 Server Extensions and the Visual Studio Remote Debugger has been installed on the Composite server.
If you fail in step 3 below, you are probably missing the FrontPage 2002 Server Extensions. You can find instructions on how to install these elements in the article “How to install asp.net 2.0 remote debugging prerequisites”.
-
Locate the Composite site in the IIS Manager
-
Ensure that the website root and the folder "Administration" both support Integrated Windows Authentication. (Select Properties, Directory Security, Authentication and access control, Edit button)
-
Right click it, select All tasks > Configure Server Extensions 2002
-
Your default web browser will launch. You might be prompted for user name and password. Specify an account with administrative privileges.
-
You are prompted to specify an administrative account. Specify your user name and password and click Submit.
-
In the tree view, locate the application “Administration” (located under the Composite site), right click it and select All tasks > Configure Server Extensions 2002
-
Your default web browser will launch. You might be prompted for user name and password. On the web form, click Submit. *)
-
Close any unneeded browser windows and the IIS Manager
At this point, the elements needed on the server should be in place, and you should be able to connect to and remote debug the site.
*) If you are unable to authenticate in step 8, try to remove all host header definitions that contain a host name from the site, and execute step 7, 8 and 9, and then add the host headers again. For technical information and other solutions to this problem, please see http://support.microsoft.com/?id=896861