This documentation is archived and is not being maintained.

Error: Site Uses IP Address

This error occurs when the debugger tries to auto-attach to a Web application that is using an IP address. This occurs if you change Web site identification to use specific IP address in IIS.

For auto-attach to work, you need to create the project with the specific IP address rather than just the machine name. Otherwise, the debugger will change the machine name to localhost, which will cause a failure to send the debug verb to IIS.

To correct this error

  1. Use manual attach instead (from the Debug menu, choose Attach to Process).


  2. Change the IIS Web site identification setting.