.NET can't create a new web project

xiaoxiao2021-03-06  74

phenomenon:

Web Access Failed This item's default web access mode is set to file sharing, but cannot open the project folder at "http: // localhost / webapplication1" from the path "C: / INETPUB / WWWWROOT / WebApplication1". The return error is: Unable to create a web project "WebApplication1". File path "c: / inetpub / wwwroot / webapplication1" does not match the URL "http:// localhost / webapplication1". Both needs to be mapped to the same server location. HTTP error 404: Object Not Found

Workaround: Open IIS- "Default Website -" Properties - "Website -" IP Address - "changed to all unassigned,

Because Ide is open by the default, localhost is not your IP address setting.

转载请注明原文地址:https://www.9cbs.com/read-120538.html

New Post(0)