473,545 Members | 2,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to open web project error

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
8 2974
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.co m> wrote in message
news:2i******** *************** *********@4ax.c om...
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
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
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*********@di scussions.micro soft.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
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.co m> 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
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
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*********@di scussions.micro soft.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
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\www root\ProjectNam e' 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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2775
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL 'http://localhost/myservices'. The two need to map to the same server location. HTTP Error 404: Object Not Found" First, this error comes up on a system that is serving...
3
4088
by: David N | last post by:
I got a solution that contains about 30 projects, three of which cannot be open. When I open the project, I always receive the error message "Unable to get the project file from the Web Server" My machine is running Windows 2003. My colleagues are using the same hardware and software as I do, but I am the only one running into this...
1
2102
by: soni29 | last post by:
hi, i'm running windows 2000 and Internet Information Services 5.0, that's the version that the help file for iis shows, i'm using Visual Studio ..Net 2002 (version 7) but whenever i try to create an asp.net project i get an error. here is what i do: Click Create Project For Location type: http://localhost/5040/WebApplication1 5040 is...
16
4181
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the project in debug mode (by hitting F5) it gives an error message "Error while trying to run project: Unable to start debugging on the web server.
5
6552
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on...
3
2241
by: alan_coffman2004 | last post by:
Opening an ASP.NET VS2002 project in VS2003, am getting this error: "Unable to open Web project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL 'http://Localhost:/MyProject'. The two need to map to the same server location. HTTP Error 404: Not Found." I have tried fixing this using both of these...
7
613
by: Jed | last post by:
I am trying to open web project in VS 2003 using the File Share method. VS is running on XP Pro (Host) and I am accessing the root web of an XP Pro install on Virtual PC (Server) running on the same machine. I have the loopback adapter running on the Host. The Host is sharing it's Internet connectivity with the loopback adapter and the...
11
5365
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but when I try to debug, it gives me the message: Error When Trying to Run Project: Unable to Start Debugging on the Web Server. Debugging failed because...
2
5170
by: Sagar | last post by:
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
0
7490
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7682
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7935
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7449
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6009
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.