Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Access Failed Dialog Box mystery

Status
Not open for further replies.

Beeps

Programmer
Aug 28, 2001
128
US
Hi,

In trying to create or open a previous ASP.Net applications, I get the following error dialog:

The default Web access mode for this project is set to file share, but the project folder at ' cannot be opened with the path 'c:\inetpub\ The error returned was:
Unable to create Web project 'WebApplication1'. The file path 'C:\inetpub\ does not coorespond to the URL ' The two need to map to the same server location. HTTP Error 404: Object Not Found.

I've waded through the online and offline help and I can't seem to sort out the problem. The only thing that has changed since successfully working is that I've installed and un-installed php for a small project.

Any help would be greatly apprieciated for my sanity.

Regards,

Brian
 
verify the IIS configuration and check the virtual directory called WebApplication1. if you still can't solve this, the easiest way is to create a bew virtual directory, copy your files to the new folder created on the harddrive and resume working from there.
 
If using IIS6 try this.Go to IIS and under the properties for that site make sure the mime type .TMP is accepted. What happens is VS.NET tries to write a tmp file to the location to make sure that everything jives. Since IIS6.0 is locked down it will not allow an http request of type .tmp. So VS.NET thinks the path is messed up.

 
alright, solved the problem.

I just un/re-installed IIS and that seemed to do the trick. That seemed as good as any answer because it only takes a minute.

I tried both of your suggestions, and when they didn't work, I went back to step 1.

Thanks for the effort.

Regards,
Brian
 
Ok, I think that I really figured out the problem.

In IIS, where you configure the IP address of the site, you can have all unassigned or specify an address.

In my case, I set the IP address to a specified address from unassigned, then I started having problems again. Once I switched it back, Visual Studio works again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top