"Unable to Open Web Project"

BOA_Dev

Active member
Joined
Feb 16, 2007
Messages
32
Programming Experience
1-3
Ive been working on an asp.net project from a shared folder on a remote computer but I want to have a local copy as well. So I copied the project into my C drive and tried to open it and got this error message:

"Unable to Open Web Project. Unable to validate that the filepath "C:projectName" matches the URL path "http://localhost:/ProjectName. A connection to the server could not be established."

Since the project opens fine when I access it from the remote computer Im assuming I just have to change some value in a config folder for the URL path but I have no idea where something like that would be. Thanks for any suggestions.

Also, I only get this error when I open the project file. When I open the solution file it will actually open up the version that is on the remote computer(not my local copy).
 
giadich, yes I installed IIS from the add windows componets section in the ADD/Remove programs window. Actually now I just tried to create a blank web project and I get the same error! So the problem has nothing to do with the code. There seems to be many different "fixes" floating around but none of them have worked for me. Someone suggested creating a "temp" mime type in the IIS menu but that didnt work.

Background info:

visual studio 2002
.net framework 1.0
 
Nevermind I finally got it working. In case anyone comes here looking for an answer heres the fix that worked for me:

"When you open ISM (Internet Services Manager) expand the node so you can see Default Web Site, right click on Default Web Site and click Properties, click the Home Directory tab, and where it says 'Local Path' make sure it is pointing to the c:\Inetpub\Wwwroot directory.

If it's already pointing to the c:\Inetpub\Wwwroot directory then your security may be restricing VS.NET from accessing it, click the Directory Security tab of the Default Web Site Properties box, under 'Anonymous access and authentication control' click Edit and make sure Anonymous access is checked, and Integrated Windows Authentication is checked.

Click OK to get out of it and try creating a new project again.

If you still can't do it reply to this thread and I'll see if I can help some more."

http://forums.devarticles.com/net-development-43/vs-net-setting-up-web-project-940.html
 
Back
Top