By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,083 Members | 1,608 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,083 IT Pros & Developers. It's quick & easy.

VS.Net 2003, unable to open web project

P: n/a
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.

Feb 16 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

"Sagar" <an********@gmail.comwrote in message
news:1d**********************************@64g2000h sw.googlegroups.com...
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.
Feb 16 '08 #2

P: n/a
Yes, my IIS web server root is pointing to 'D:\company\ASP\Web'
On Feb 17, 3:15*am, "Mark Fitzpatrick" <markf...@fitzme.comwrote:
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
Feb 17 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.