Microsoft KB Archive/230507

From BetaArchive Wiki
Knowledge Base


PRB: Unable to Find Project on Web Server or to Set Server into Correct Debugging State

Article ID: 230507

Article Last Modified on 10/15/2002



APPLIES TO

  • Microsoft Visual InterDev 6.0 Standard Edition



This article was previously published under Q230507

SYMPTOMS

When starting the Visual InterDev 6.0 debugger you may receive the following error:

Unable to find project on server. Unable to set server into correct debugging state automatically. You may not be able to debug ASP pages. Do you want to continue launching the debugger?

CAUSE

This error occurs when the targeted Web server is configured with multiple virtual servers that are assigned the same IP address and same port number. The Visual InterDev 6.0 debugger binds to the virtual server using only the IP address and port number and ignores all other information, such as the Host Header Name. If the project that you are trying to debug is on the second virtual server, the debugger is unable to find the project because it binds to the first virtual server where the project does not exist. Thus, the error message occurs. Also, this error occurs when using Visual InterDev 6.0 to debug locally or remotely.

RESOLUTION

You will need to manually attach the debugger. Please refer to the following articles in the Microsoft Knowledge Base on how to manually attach the debugger:

196378 HOWTO: Debug ASP Applications Manually Against Windows NT 4 Web Server


258929 HOWTO: Debug ASP Applications Manually Against Windows 2000 Web Server


STATUS

This behavior is by design.

REFERENCES

Please see the following Microsoft Knowledge Base article for a list of related debugging articles:

244272 INFO: Visual InterDev 6.0 Debugging Resources


Keywords: kbbug kbdebug kbprb KB230507