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).

    —or—

  2. Change the IIS Web site identification setting.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft