This error occurs when you try to start debugging on a Web project that has a URL in the Internet Web content zone. To debug a Web project, the project must be located on your local machine or a machine in the Local Intranet or Trusted sites Web content zone.
This error can occur for projects on your local machine if you specify the full name of the local machine, such as in this example:
yourmachinename.zonename.microsoft.com
Specifying the full name in this manner causes the project to appear to be in the Internet zone.
To debug a Web project on a local intranet machine or a trusted site, use Internet Explorer to add the project URL to the Local intranet or Trusted sites Web content zone.
To add a server to the Local intranet or Trusted sites zone
- In Internet Explorer, choose Internet Options from the Tools menu.
- In the Internet Options dialog box, choose the Security tab.
- Under Select a Web content zone, click Local Intranet or Trusted sites.
- Click Sites.
- In the Local Intranet or Trusted sites dialog box, click Advanced.
- In the Add this Web Site to the zone box, enter the URL of the project, click Add, then click OK.
- Click OK to close the Local Intranet or Trusted sites dialog box.
- Click OK to close the Internet Options dialog box.