C
Chris A.
Having a weird issue with IIS / VS.Net
When I try to start a new ASP.NET project I get the following error:
===
The default Web access mode for this project is set to file share, but the
project folder at 'http://localhost/WebApplication1' cannot be opened with
the path 'c:\inetpub\wwwroot\WebApplication1'. The error returned was:
Unable to create Web project 'Web Application1'. The file path
'c:\inetpub\wwwroot\WebApplication1' does not correspond to the URL
'http://localhost/WebApplication1'. The two need to map to the same server
location. HTTP Error 404: Not Found.
===
I tried to use the browse feature and that still brings up the same problem.
It's odd because I know the mappings are correct - that the folder
physically exists and the mappings correspond (I can access any pages via
IE/http fine).
Once I click on "Try to open the page with frontpage server extensions", the
new project opens fine. I assume it's a configuration error or something and
I'd just as soon ignore it but I've been trying to open a sample ASP.NET
application I retrieved from MSDN and I can't because of the aforementioned
problem. When I try to open the .csproj file I get the same error as above,
but in this case trying to open the project with frontpage server extensions
does not work either.
tia to anyone who knows what's going on.
When I try to start a new ASP.NET project I get the following error:
===
The default Web access mode for this project is set to file share, but the
project folder at 'http://localhost/WebApplication1' cannot be opened with
the path 'c:\inetpub\wwwroot\WebApplication1'. The error returned was:
Unable to create Web project 'Web Application1'. The file path
'c:\inetpub\wwwroot\WebApplication1' does not correspond to the URL
'http://localhost/WebApplication1'. The two need to map to the same server
location. HTTP Error 404: Not Found.
===
I tried to use the browse feature and that still brings up the same problem.
It's odd because I know the mappings are correct - that the folder
physically exists and the mappings correspond (I can access any pages via
IE/http fine).
Once I click on "Try to open the page with frontpage server extensions", the
new project opens fine. I assume it's a configuration error or something and
I'd just as soon ignore it but I've been trying to open a sample ASP.NET
application I retrieved from MSDN and I can't because of the aforementioned
problem. When I try to open the .csproj file I get the same error as above,
but in this case trying to open the project with frontpage server extensions
does not work either.
tia to anyone who knows what's going on.