473,378 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Unable to open the Web project

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 other web services
just fine.
Second, the main issue here is project collaboration. We use CVS for
revision control and when checking out the web services project on a machine
that did not originally create it, this error occurs. We can force a mapping
in IIS to the correct folder but other errors arise from that.

Another issue is that I cannot seem to force the project to look at my
server for the code. I renamed 'localhost' in the webinfo file to my server
name and cannot seem to get the system to see it. I do a search through all
my files for localhost and nothing returns, yet, when I turn off my IIS
server (for testing) and load the project it still looks to localhost - not
my server name. I need to get this working so that when someone checks out
the webservices code, they can use it seemlessly.

Please advise.
--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>
Jul 21 '05 #1
4 2753
1. As far as I know you will have to have your directory structures match
the solution structure on all machines... period... end of storry. So if the
Source Safe Structure is $\Solution\Project1 set the root ($) working folder
to your C-drive and and have everyone do the same.
2. Create your virtual directory before getting latest version. Manually
create the correct files and manually create the virdir. If you already got
latest version delete all local files or at the very least the proj file.
3. What other errors arise when you force a mapping?
4. It sounds like what you are trying to do with the localhost mod is set
up one machine that everyone develops off of and checks in and out to rather
than their own local machine. If so, try opening the solution from the
network share of the shared machine not from source safe( I am guessing here
that that is what you are doing). My suggestion would be to develop locally
and do continuous builds to the shared machine if you need to for demos or
whatever. But it I might have a better suggestion if you can flesh out your
explanation of the problem a little more.


"Brad" wrote:
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 other web services
just fine.
Second, the main issue here is project collaboration. We use CVS for
revision control and when checking out the web services project on a machine
that did not originally create it, this error occurs. We can force a mapping
in IIS to the correct folder but other errors arise from that.

Another issue is that I cannot seem to force the project to look at my
server for the code. I renamed 'localhost' in the webinfo file to my server
name and cannot seem to get the system to see it. I do a search through all
my files for localhost and nothing returns, yet, when I turn off my IIS
server (for testing) and load the project it still looks to localhost - not
my server name. I need to get this working so that when someone checks out
the webservices code, they can use it seemlessly.

Please advise.
--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>

Jul 21 '05 #2
Well, first, I guess I am trying to find the thing we did or didn't do
before. We have other projects implemented in the same way and checked in but
we didn't see to have the same issues on those projects - just this one.

What frustrates me is my test - pointing it to my server - doesn't work
because it ALWAYS looks to localhost no matter what I try. Multiple people
will be working on these web services so to require a central server is not
viable for us.

I will do it, but what is the diff of when you create the virtual dir?

"force a mapping" - what do you mean? The only thing I forced was changing
the server name in the webinfo file from localhost to my computer name to
force the other machine to look to my computer - this was only done for a
test. We need to run local most of the time.

More info - I completely deleted everything related off my machine and
removed the virtual directory and started over. I checked everything out,
created the VD and then opened the project and all was well on my machine. I
just cannot figure why this would be different on someone else's machine -
and if it is, what file I need to adjust to get it right.

"Derek" wrote:
1. As far as I know you will have to have your directory structures match
the solution structure on all machines... period... end of storry. So if the
Source Safe Structure is $\Solution\Project1 set the root ($) working folder
to your C-drive and and have everyone do the same.
2. Create your virtual directory before getting latest version. Manually
create the correct files and manually create the virdir. If you already got
latest version delete all local files or at the very least the proj file.
3. What other errors arise when you force a mapping?
4. It sounds like what you are trying to do with the localhost mod is set
up one machine that everyone develops off of and checks in and out to rather
than their own local machine. If so, try opening the solution from the
network share of the shared machine not from source safe( I am guessing here
that that is what you are doing). My suggestion would be to develop locally
and do continuous builds to the shared machine if you need to for demos or
whatever. But it I might have a better suggestion if you can flesh out your
explanation of the problem a little more.


"Brad" wrote:
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 other web services
just fine.
Second, the main issue here is project collaboration. We use CVS for
revision control and when checking out the web services project on a machine
that did not originally create it, this error occurs. We can force a mapping
in IIS to the correct folder but other errors arise from that.

Another issue is that I cannot seem to force the project to look at my
server for the code. I renamed 'localhost' in the webinfo file to my server
name and cannot seem to get the system to see it. I do a search through all
my files for localhost and nothing returns, yet, when I turn off my IIS
server (for testing) and load the project it still looks to localhost - not
my server name. I need to get this working so that when someone checks out
the webservices code, they can use it seemlessly.

Please advise.
--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>

Jul 21 '05 #3
1. As far as I know you will have to have your directory structures match
the solution structure on all machines... period... end of storry. So if the
Source Safe Structure is $\Solution\Project1 set the root ($) working folder
to your C-drive and and have everyone do the same.
2. Create your virtual directory before getting latest version. Manually
create the correct files and manually create the virdir. If you already got
latest version delete all local files or at the very least the proj file.
3. What other errors arise when you force a mapping?
4. It sounds like what you are trying to do with the localhost mod is set
up one machine that everyone develops off of and checks in and out to rather
than their own local machine. If so, try opening the solution from the
network share of the shared machine not from source safe( I am guessing here
that that is what you are doing). My suggestion would be to develop locally
and do continuous builds to the shared machine if you need to for demos or
whatever. But it I might have a better suggestion if you can flesh out your
explanation of the problem a little more.


"Brad" wrote:
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 other web services
just fine.
Second, the main issue here is project collaboration. We use CVS for
revision control and when checking out the web services project on a machine
that did not originally create it, this error occurs. We can force a mapping
in IIS to the correct folder but other errors arise from that.

Another issue is that I cannot seem to force the project to look at my
server for the code. I renamed 'localhost' in the webinfo file to my server
name and cannot seem to get the system to see it. I do a search through all
my files for localhost and nothing returns, yet, when I turn off my IIS
server (for testing) and load the project it still looks to localhost - not
my server name. I need to get this working so that when someone checks out
the webservices code, they can use it seemlessly.

Please advise.
--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>

Jul 21 '05 #4
Well, first, I guess I am trying to find the thing we did or didn't do
before. We have other projects implemented in the same way and checked in but
we didn't see to have the same issues on those projects - just this one.

What frustrates me is my test - pointing it to my server - doesn't work
because it ALWAYS looks to localhost no matter what I try. Multiple people
will be working on these web services so to require a central server is not
viable for us.

I will do it, but what is the diff of when you create the virtual dir?

"force a mapping" - what do you mean? The only thing I forced was changing
the server name in the webinfo file from localhost to my computer name to
force the other machine to look to my computer - this was only done for a
test. We need to run local most of the time.

More info - I completely deleted everything related off my machine and
removed the virtual directory and started over. I checked everything out,
created the VD and then opened the project and all was well on my machine. I
just cannot figure why this would be different on someone else's machine -
and if it is, what file I need to adjust to get it right.

"Derek" wrote:
1. As far as I know you will have to have your directory structures match
the solution structure on all machines... period... end of storry. So if the
Source Safe Structure is $\Solution\Project1 set the root ($) working folder
to your C-drive and and have everyone do the same.
2. Create your virtual directory before getting latest version. Manually
create the correct files and manually create the virdir. If you already got
latest version delete all local files or at the very least the proj file.
3. What other errors arise when you force a mapping?
4. It sounds like what you are trying to do with the localhost mod is set
up one machine that everyone develops off of and checks in and out to rather
than their own local machine. If so, try opening the solution from the
network share of the shared machine not from source safe( I am guessing here
that that is what you are doing). My suggestion would be to develop locally
and do continuous builds to the shared machine if you need to for demos or
whatever. But it I might have a better suggestion if you can flesh out your
explanation of the problem a little more.


"Brad" wrote:
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 other web services
just fine.
Second, the main issue here is project collaboration. We use CVS for
revision control and when checking out the web services project on a machine
that did not originally create it, this error occurs. We can force a mapping
in IIS to the correct folder but other errors arise from that.

Another issue is that I cannot seem to force the project to look at my
server for the code. I renamed 'localhost' in the webinfo file to my server
name and cannot seem to get the system to see it. I do a search through all
my files for localhost and nothing returns, yet, when I turn off my IIS
server (for testing) and load the project it still looks to localhost - not
my server name. I need to get this working so that when someone checks out
the webservices code, they can use it seemlessly.

Please advise.
--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
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" ...
2
by: vince | last post by:
I installed the Portal Starter Kit (from www.asp.net) on a win 2003 server running IIS 6.0 and SQL Server 8.0, and it works fine using integrated authentication. However, I'm unable to open the...
1
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...
16
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...
8
by: Rob | last post by:
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...
1
by: Winshent | last post by:
I have recently upgraded my desktop from windows 2000 to XP Pro. I backed up my project by simply copying accross the files in the project. I have changed the default virtual directory from...
3
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...
7
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...
11
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...
2
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.