Hi all,

I cannot able to create project in Windows Server 2003 with Visual Studio.NET 2003

The error returned was:
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 th
e path 'c:\inetpub\wwwroot\WebApplication1'. The error returned was:

Unable to create web project 'WebApplication1'. 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 say million thanks to whoever resolves this issue.

(Note: No sharepoint server is installed)


with regards,

Recommended Answers

All 2 Replies

First I am worried as to why you are creating VS projects on Win2k3????
It is recommended to develop the project on a local pc (Say running XP) and then upload the final site to a webserver. If you need to share the project with other developers there are ways to do it with source control etc.

If you need to create a project on a server then i am assuming you do not have visual studio installed on the server and are trying to use a network path to create it on there?

Can you confirm where VS is installed and whether you are on the win2k3 server creating the project or whether you are on a pc using a network path

It started working after mentioning .tmp as MIME file extension of IIS.
Thanks guys.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.