VS.Net 2003, unable to open web project

S

Sagar

Hi Iam unable to open my ASP.Net web project HRMS.vbproj suddenly in
VS.Net 2003

I am getthing this error.

Unable to open Web project '/'. The file path 'D:\company\ASP\Web'
does not correspond to the URL 'http://Localhost:'. The two need to
map to the same server location. HTTP Error 500: Internal Server Error

The webinfo file reads

<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/HRMS.vbproj" />
</VisualStudioUNCWeb>


The IIS logs read

2008-02-16 11:03:26 127.0.0.1 GET /vs-191401699729913227_tmp.htm - 80
- 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.aspx - 80 - 127.0.0.1
Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
2008-02-16 11:03:26 127.0.0.1 GET /vs-191292325429913227_tmp.htm - 80
- 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.aspx - 80 - 127.0.0.1
Microsoft-Visual-Studio.NET/7.10.3077 500 0 0

Also, In the IIS -> Home Directory Configuration, the htm and aspx are
mapped to C:\windows\microsoft.net\framework
\v1.1.4322\aspnet_isapi.dll

The only thing special of this case is that .net 2.0 is also installed
in this machine. But all the file extensions are mapped to run against
1.1 only.

Any help is appreciated.

thanks,
Anand.
 
M

Mark Fitzpatrick

Is your web server pointing to the d:\company\asp\web directory? What this
error is telling you is that the location of your web, in this case
localhost, does not map to the physical location of the files.

Try pointing the root of your IIS to this directory and see if you can open
it then.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top