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

Unable to open web project error

P: n/a
Rob
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob
Nov 18 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
for c# web projects there is a file called:

projname.csproj.webinfo

in this file is a url. VS then uses this url to get the path to aspx files.

-- bruce (sqlwork.com)
"Rob" <Ro*@dummy.com> wrote in message
news:2i********************************@4ax.com...
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob

Nov 18 '05 #2

P: n/a
Well it might be security reasons sometimes..
Make sure u have the appropriate right on ur wwwroot folder.
"Rob" wrote:
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob

Nov 18 '05 #3

P: n/a
Rob
Thanks for the reply. This doesn't seem to be the problem in this
case. The error message i'm getting is "...the file path 'blah' does
not correspond to the URL 'http://localhost/blahblah'...". The file
path 'blah' is my original source development directory, not my
production build directory where i'm trying to build it from now. But
i can't see where it's getting file path 'blah'.

Grateful for any more suggestions.

Rob
On Mon, 25 Oct 2004 20:47:08 -0700, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
Well it might be security reasons sometimes..
Make sure u have the appropriate right on ur wwwroot folder.
"Rob" wrote:
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob


Nov 18 '05 #4

P: n/a
Rob
Thanks, Bruce i already looked into this. The webinfo contains the
correct url, which points to the correct directory, so i'm confused
why the error message tells me its expecting a different file path -
don't know where its getting this file path from.

Rob

On Mon, 25 Oct 2004 13:03:39 -0700, "bruce barker"
<no***********@safeco.com> wrote:
for c# web projects there is a file called:

projname.csproj.webinfo

in this file is a url. VS then uses this url to get the path to aspx files.

-- bruce (sqlwork.com)
"Rob" <Ro*@dummy.com> wrote in message
news:2i********************************@4ax.com.. .
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob


Nov 18 '05 #5

P: n/a
Rob,
Is your IIS server and VS.NET on the same PC?
Try looking at:-
http://support.microsoft.com/default...;EN-US;Q326497
Hope this helps!


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #6

P: n/a
Try reading through this sites:-
http://support.microsoft.com/default...;EN-US;Q326497
http://support.microsoft.com/default...;EN-US;Q320265
"Rob" wrote:
Thanks for the reply. This doesn't seem to be the problem in this
case. The error message i'm getting is "...the file path 'blah' does
not correspond to the URL 'http://localhost/blahblah'...". The file
path 'blah' is my original source development directory, not my
production build directory where i'm trying to build it from now. But
i can't see where it's getting file path 'blah'.

Grateful for any more suggestions.

Rob
On Mon, 25 Oct 2004 20:47:08 -0700, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
Well it might be security reasons sometimes..
Make sure u have the appropriate right on ur wwwroot folder.
"Rob" wrote:
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob


Nov 18 '05 #7

P: n/a
Rob,

I have same problem. I just wondering if you found solution.

I am using .NET 2003 (7.1.3088
Framework 1.1.4322) on Windows
Server 2003. After I installed BizTalk 2004
on same machine I was not able to open web
project.
Error:
"Unable to open Web Project 'ProjectName'. The file path
'C:\Inetpub\wwwroot\ProjectName' does not corresponding
to the URL 'http://localhost:/ProjectName'. The two need to map
to same server location. HTTP Error 404:"

Thanks
Paul

"Rob" wrote:
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob

Nov 19 '05 #8

P: n/a
I have also been struggling with this problem. The solution that I found was
to recreate the virtual folder using the wizard, and give it the same name as
the web application. It does not work if you right click the folder and
create the site; you must right click the web site and create a virtual
folder. After this is done, close and open the IIS Manager and the duplicate
folder will be gone.

hope this helps,
John

"Rob" wrote:
I asked this question before but having had no response i'll try to
simplify the description and hope someone can help this time.

Basically my problem is that i'm getting the error "Unable to open web
project...the file path 'blah' does not correspond to the url
'blahblah'. Fair enough because the file path 'blah' is incorrect.
The question is where does it get this file path from ?

Just to add some background, i have copied the project into a separate
area to do production builds, file path 'blah' is my original
development area, but i can't see where it is getting this path from,
it doesn't appear to be in the .sln. .csproj, etc.

Hope someone can provide some clues.

Thanks
Rob

Nov 19 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.