473,651 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Unable to create Web project... The file path... does not correspond to the URL..." error using VSS with VS2003 in a Team Developemt environment

The problem started when the Working Folder for a project was somehow set to
the folder of another project. I set the correct working folder in VSS and
deleted the .vbproj files that had been created in the wrong folder on the
hard drive. Before I discovered these files, .NET kept trying to create a
new project with _1 following the project name. Deleting those files
corrected that problem.

I deleted the Virtual Directory, rebooted, and then recreated the Virtual
Directory for the project so that the folder structure in VSS matched the
folder structure on the hard drive. After rebooting (must reboot or else
..NET will not recognize the Virtual Directory), I created a new blank
solution and tried to add the projects from source control.

The file path is correct in the "Create local project from SourceSafe"
dialog.

In the "Set Project Location" dialog, the "Source Control Server Location"
is correct and the "Enter working copy Location Here" URL is correct (that
URL is mapped to the same folder in IIS as what is set as a Working Folder
in VSS).

Before deleting the .vbproj files that had been created in the wrong folder,
this is where the URL kept being changed to _1, etc.

Once I click the OK button in the "Set Project Location" dialog, I get the
following error:

"Unable to create Web project 'http://localhost/TeamCorpApp'. The file path
'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond to the URL
'http://localhhost/TeamCorpApp'. The two need to map to the same server
location. HTTP Error 404: Object Not Found."

The project name is TeamCorpApp and the project location is
C:\Projects\Tea mCorpSolution\T eamCorpApp.

The erroneous .vbproj files were created in C:\Projects\HAL O2\PowerStreamI I
which was caused by that being set as the Working Folder in VSS.

Two other team developers have successfully created projects from source
control but I have not been able to.

Please help.

David Webb
Senior Application Developer
National Health Insurance Company
Jul 21 '05 #1
5 11030
We had a similar problem but was able to resolve it via MS's recommendations
at the following page:

http://support.microsoft.com/default...b;en-us;327283
"David Webb" wrote:
The problem started when the Working Folder for a project was somehow set to
the folder of another project. I set the correct working folder in VSS and
deleted the .vbproj files that had been created in the wrong folder on the
hard drive. Before I discovered these files, .NET kept trying to create a
new project with _1 following the project name. Deleting those files
corrected that problem.

I deleted the Virtual Directory, rebooted, and then recreated the Virtual
Directory for the project so that the folder structure in VSS matched the
folder structure on the hard drive. After rebooting (must reboot or else
..NET will not recognize the Virtual Directory), I created a new blank
solution and tried to add the projects from source control.

The file path is correct in the "Create local project from SourceSafe"
dialog.

In the "Set Project Location" dialog, the "Source Control Server Location"
is correct and the "Enter working copy Location Here" URL is correct (that
URL is mapped to the same folder in IIS as what is set as a Working Folder
in VSS).

Before deleting the .vbproj files that had been created in the wrong folder,
this is where the URL kept being changed to _1, etc.

Once I click the OK button in the "Set Project Location" dialog, I get the
following error:

"Unable to create Web project 'http://localhost/TeamCorpApp'. The file path
'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond to the URL
'http://localhhost/TeamCorpApp'. The two need to map to the same server
location. HTTP Error 404: Object Not Found."

The project name is TeamCorpApp and the project location is
C:\Projects\Tea mCorpSolution\T eamCorpApp.

The erroneous .vbproj files were created in C:\Projects\HAL O2\PowerStreamI I
which was caused by that being set as the Working Folder in VSS.

Two other team developers have successfully created projects from source
control but I have not been able to.

Please help.

David Webb
Senior Application Developer
National Health Insurance Company

Jul 21 '05 #2
Thanks for the response.

However, I am using .NET 2003 and that Q article states " This problem does
not occur when you use Visual Studio .NET 2003 because this version uses a
file that has the .htm file name extension for this process. "

I have created projects on a third computer without any problems so that
pretty much narrows the search to IIS and .NET on my computer. I've searched
registry on both the VSS server and my development server with no matches
for "Projects\HALO2 \PowerStreamII" which is where the .vbproj files were
being placed before I corrected the Working Folder path in VSS.

Still no luck!
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:5D******** *************** ***********@mic rosoft.com...
We had a similar problem but was able to resolve it via MS's recommendations at the following page:

http://support.microsoft.com/default...b;en-us;327283
"David Webb" wrote:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been created in the wrong folder on the hard drive. Before I discovered these files, .NET kept trying to create a new project with _1 following the project name. Deleting those files
corrected that problem.

I deleted the Virtual Directory, rebooted, and then recreated the Virtual Directory for the project so that the folder structure in VSS matched the folder structure on the hard drive. After rebooting (must reboot or else
..NET will not recognize the Virtual Directory), I created a new blank
solution and tried to add the projects from source control.

The file path is correct in the "Create local project from SourceSafe"
dialog.

In the "Set Project Location" dialog, the "Source Control Server Location" is correct and the "Enter working copy Location Here" URL is correct (that URL is mapped to the same folder in IIS as what is set as a Working Folder in VSS).

Before deleting the .vbproj files that had been created in the wrong folder, this is where the URL kept being changed to _1, etc.

Once I click the OK button in the "Set Project Location" dialog, I get the following error:

"Unable to create Web project 'http://localhost/TeamCorpApp'. The file path 'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond to the URL 'http://localhhost/TeamCorpApp'. The two need to map to the same server
location. HTTP Error 404: Object Not Found."

The project name is TeamCorpApp and the project location is
C:\Projects\Tea mCorpSolution\T eamCorpApp.

The erroneous .vbproj files were created in C:\Projects\HAL O2\PowerStreamI I which was caused by that being set as the Working Folder in VSS.

Two other team developers have successfully created projects from source
control but I have not been able to.

Please help.

David Webb
Senior Application Developer
National Health Insurance Company

Jul 21 '05 #3
That's a bummer that my suggestion did not fix your problem. I've read that
some installs of Sharepoint Portal Server may mess up your IIS settings to
cause the problem you're experiencing... . perhaps, you could look into your
IIS logs to determine what VS.NET is trying to access that throwing the 404
not found error.

Sorry I can't be of more help!

"David Webb" wrote:
Thanks for the response.

However, I am using .NET 2003 and that Q article states " This problem does
not occur when you use Visual Studio .NET 2003 because this version uses a
file that has the .htm file name extension for this process. "

I have created projects on a third computer without any problems so that
pretty much narrows the search to IIS and .NET on my computer. I've searched
registry on both the VSS server and my development server with no matches
for "Projects\HALO2 \PowerStreamII" which is where the .vbproj files were
being placed before I corrected the Working Folder path in VSS.

Still no luck!
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:5D******** *************** ***********@mic rosoft.com...
We had a similar problem but was able to resolve it via MS's

recommendations
at the following page:

http://support.microsoft.com/default...b;en-us;327283
"David Webb" wrote:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been created in the wrong folder on the hard drive. Before I discovered these files, .NET kept trying to create a new project with _1 following the project name. Deleting those files
corrected that problem.

I deleted the Virtual Directory, rebooted, and then recreated the Virtual Directory for the project so that the folder structure in VSS matched the folder structure on the hard drive. After rebooting (must reboot or else
..NET will not recognize the Virtual Directory), I created a new blank
solution and tried to add the projects from source control.

The file path is correct in the "Create local project from SourceSafe"
dialog.

In the "Set Project Location" dialog, the "Source Control Server Location" is correct and the "Enter working copy Location Here" URL is correct (that URL is mapped to the same folder in IIS as what is set as a Working Folder in VSS).

Before deleting the .vbproj files that had been created in the wrong folder, this is where the URL kept being changed to _1, etc.

Once I click the OK button in the "Set Project Location" dialog, I get the following error:

"Unable to create Web project 'http://localhost/TeamCorpApp'. The file path 'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond to the URL 'http://localhhost/TeamCorpApp'. The two need to map to the same server
location. HTTP Error 404: Object Not Found."

The project name is TeamCorpApp and the project location is
C:\Projects\Tea mCorpSolution\T eamCorpApp.

The erroneous .vbproj files were created in C:\Projects\HAL O2\PowerStreamI I which was caused by that being set as the Working Folder in VSS.

Two other team developers have successfully created projects from source
control but I have not been able to.

Please help.

David Webb
Senior Application Developer
National Health Insurance Company


Jul 21 '05 #4
Nothing is logged in the IIS log file.

So, the question is; where is that folder path being cached? It's not in the
registry on the VSS or development machine.

One peculiar thing though; when VSS had the incorrect folder set as the
Working Folder, .NET created the .vbproj file in the folder that was
specified in VSS instead of using the Virtual Directory folder that was
setup in IIS. In otherwords, .NET wasn't using the file folder that was
mapped to the URL of the project but instead was using the Working Folder
path in VSS.

What's even stranger is that the two development workstations that I setup,
which is before I discovered the incorrect Working Folder, didn't have the
problem. .NET used the Virtual Directory folder that mapped to the URL as it
should have even though the Working Folder in VSS was probably not correct
(I never checked at that time).

I have tried to add the project by logging into VSS as one of the other
developers but I get the same results. That pretty much eliminates VSS.

Since IIS is not logging anything at all when I try to add the project and
VSS displays all of the correct paths in the VSS dialogs using different
logins; then the problem must be with .NET!

I really don't want to reinstall .net since there are a lot of preferences
that will be reset when I do but it is looking like that might be a last
resort.

But if the problem exists with .NET or IIS, then there MUST be the text
string "C:\Projects\HA LO2\PowerStream II" somewhere on my hard drive. But if
it is in a binary file, that would be impossible to locate.

David
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:51******** *************** ***********@mic rosoft.com...
That's a bummer that my suggestion did not fix your problem. I've read that some installs of Sharepoint Portal Server may mess up your IIS settings to
cause the problem you're experiencing... . perhaps, you could look into your IIS logs to determine what VS.NET is trying to access that throwing the 404 not found error.

Sorry I can't be of more help!

"David Webb" wrote:
Thanks for the response.

However, I am using .NET 2003 and that Q article states " This problem does not occur when you use Visual Studio .NET 2003 because this version uses a file that has the .htm file name extension for this process. "

I have created projects on a third computer without any problems so that
pretty much narrows the search to IIS and .NET on my computer. I've searched registry on both the VSS server and my development server with no matches for "Projects\HALO2 \PowerStreamII" which is where the .vbproj files were
being placed before I corrected the Working Folder path in VSS.

Still no luck!
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:5D******** *************** ***********@mic rosoft.com...
We had a similar problem but was able to resolve it via MS's

recommendations
at the following page:

http://support.microsoft.com/default...b;en-us;327283
"David Webb" wrote:

> The problem started when the Working Folder for a project was somehow
set to
> the folder of another project. I set the correct working folder in
VSS and
> deleted the .vbproj files that had been created in the wrong folder
on the
> hard drive. Before I discovered these files, .NET kept trying to
create a
> new project with _1 following the project name. Deleting those files
> corrected that problem.
>
> I deleted the Virtual Directory, rebooted, and then recreated the

Virtual
> Directory for the project so that the folder structure in VSS
matched the
> folder structure on the hard drive. After rebooting (must reboot or
else > ..NET will not recognize the Virtual Directory), I created a new blank > solution and tried to add the projects from source control.
>
> The file path is correct in the "Create local project from SourceSafe" > dialog.
>
> In the "Set Project Location" dialog, the "Source Control Server

Location"
> is correct and the "Enter working copy Location Here" URL is correct

(that
> URL is mapped to the same folder in IIS as what is set as a Working

Folder
> in VSS).
>
> Before deleting the .vbproj files that had been created in the wrong

folder,
> this is where the URL kept being changed to _1, etc.
>
> Once I click the OK button in the "Set Project Location" dialog, I get the
> following error:
>
> "Unable to create Web project 'http://localhost/TeamCorpApp'. The
file path
> 'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond to
the URL
> 'http://localhhost/TeamCorpApp'. The two need to map to the same

server > location. HTTP Error 404: Object Not Found."
>
> The project name is TeamCorpApp and the project location is
> C:\Projects\Tea mCorpSolution\T eamCorpApp.
>
> The erroneous .vbproj files were created in

C:\Projects\HAL O2\PowerStreamI I
> which was caused by that being set as the Working Folder in VSS.
>
> Two other team developers have successfully created projects from source > control but I have not been able to.
>
> Please help.
>
> David Webb
> Senior Application Developer
> National Health Insurance Company
>
>
>


Jul 21 '05 #5
Correction, I was looking at the modified date of the log file which
apparently doesn't change when new events are added. This is an example of
an event that occurs when I try to add a project:

2005-02-04 20:01:39 127.0.0.1 - 127.0.0.1 80 GET
/TeamCorpApp/vs1452400864296 90612_tmp.htm - 404
Microsoft-Visual-Studio.NET/7.10.3077

If I place a simple html file in the project folder that is mapped to
http://localhost/teamcorpapp and browse to that file in IE, the web page is
displayed which proves that the virtual folder is mapped to that location.

Note the extension of the file that is not found in that log record
"...90612_tmp.h tm" which might be what that article that you sent the link
to was mentioning.

David
"David Webb" <strangecargo > wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl...
Nothing is logged in the IIS log file.

So, the question is; where is that folder path being cached? It's not in the registry on the VSS or development machine.

One peculiar thing though; when VSS had the incorrect folder set as the
Working Folder, .NET created the .vbproj file in the folder that was
specified in VSS instead of using the Virtual Directory folder that was
setup in IIS. In otherwords, .NET wasn't using the file folder that was
mapped to the URL of the project but instead was using the Working Folder
path in VSS.

What's even stranger is that the two development workstations that I setup, which is before I discovered the incorrect Working Folder, didn't have the
problem. .NET used the Virtual Directory folder that mapped to the URL as it should have even though the Working Folder in VSS was probably not correct
(I never checked at that time).

I have tried to add the project by logging into VSS as one of the other
developers but I get the same results. That pretty much eliminates VSS.

Since IIS is not logging anything at all when I try to add the project and
VSS displays all of the correct paths in the VSS dialogs using different
logins; then the problem must be with .NET!

I really don't want to reinstall .net since there are a lot of preferences
that will be reset when I do but it is looking like that might be a last
resort.

But if the problem exists with .NET or IIS, then there MUST be the text
string "C:\Projects\HA LO2\PowerStream II" somewhere on my hard drive. But if it is in a binary file, that would be impossible to locate.

David
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:51******** *************** ***********@mic rosoft.com...
That's a bummer that my suggestion did not fix your problem. I've read that
some installs of Sharepoint Portal Server may mess up your IIS settings to
cause the problem you're experiencing... . perhaps, you could look into

your
IIS logs to determine what VS.NET is trying to access that throwing the

404
not found error.

Sorry I can't be of more help!

"David Webb" wrote:
Thanks for the response.

However, I am using .NET 2003 and that Q article states " This problem does not occur when you use Visual Studio .NET 2003 because this version
uses
a file that has the .htm file name extension for this process. "

I have created projects on a third computer without any problems so
that pretty much narrows the search to IIS and .NET on my computer. I've
searched registry on both the VSS server and my development server with no matches for "Projects\HALO2 \PowerStreamII" which is where the .vbproj files were being placed before I corrected the Working Folder path in VSS.

Still no luck!
"sze tan" <sze ta*@discussions .microsoft.com> wrote in message
news:5D******** *************** ***********@mic rosoft.com...
> We had a similar problem but was able to resolve it via MS's
recommendations
> at the following page:
>
> http://support.microsoft.com/default...b;en-us;327283
>
>
> "David Webb" wrote:
>
> > The problem started when the Working Folder for a project was somehow set to
> > the folder of another project. I set the correct working folder in VSS and
> > deleted the .vbproj files that had been created in the wrong folder on
the
> > hard drive. Before I discovered these files, .NET kept trying to create a
> > new project with _1 following the project name. Deleting those
files > > corrected that problem.
> >
> > I deleted the Virtual Directory, rebooted, and then recreated the
Virtual
> > Directory for the project so that the folder structure in VSS
matched the
> > folder structure on the hard drive. After rebooting (must reboot or else
> > ..NET will not recognize the Virtual Directory), I created a new blank > > solution and tried to add the projects from source control.
> >
> > The file path is correct in the "Create local project from SourceSafe" > > dialog.
> >
> > In the "Set Project Location" dialog, the "Source Control Server
Location"
> > is correct and the "Enter working copy Location Here" URL is
correct (that
> > URL is mapped to the same folder in IIS as what is set as a Working Folder
> > in VSS).
> >
> > Before deleting the .vbproj files that had been created in the wrong folder,
> > this is where the URL kept being changed to _1, etc.
> >
> > Once I click the OK button in the "Set Project Location" dialog, I
get the
> > following error:
> >
> > "Unable to create Web project 'http://localhost/TeamCorpApp'. The file path
> > 'C:\Projects\HA LO2\PowerStream II\TeamCorpApp' does not correspond
to the URL
> > 'http://localhhost/TeamCorpApp'. The two need to map to the same server > > location. HTTP Error 404: Object Not Found."
> >
> > The project name is TeamCorpApp and the project location is
> > C:\Projects\Tea mCorpSolution\T eamCorpApp.
> >
> > The erroneous .vbproj files were created in
C:\Projects\HAL O2\PowerStreamI I
> > which was caused by that being set as the Working Folder in VSS.
> >
> > Two other team developers have successfully created projects from source > > control but I have not been able to.
> >
> > Please help.
> >
> > David Webb
> > Senior Application Developer
> > National Health Insurance Company
> >
> >
> >


Jul 21 '05 #6

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

Similar topics

4
4604
by: Bruce A. Julseth | last post by:
This is my 2nd request. Is the question too vague? Or, too difficult to answer. I'm really a newbie at this VS.NET stuff and do appreciate some help on this problem.---I keep getting the error "Unable to Start Debugging on the Web Server." I am on a standalone, non networked computer running XP Professonal and VS.net, and doing my development using VS.C#. I "think" I have gone through eveything listed in help for this error, but...
0
376
by: Joachim | last post by:
I have copied my ASP.NET solution from one computer with VS.NET to another, but when I try to run my solution I get the following error message: "Microsoft Development Environment" "Error while trying to run project: Unable to start debugging on the web server. This project is not configured to be debugged." When I click help it says that you should have the debug property of the Web.config file set to true - which I already have. It...
2
1947
by: genc_ymeri | last post by:
Hi, We are a team of 4 using win2003 server (sp1) in our dev machines and VS2003 for our .Net web app. We did make a copy of our project (located to one "hardwarely old" PC ) to our machines. All of us are getting the above error in ths subject. Everything works fine in the original machine. (project name is not the same neither include the any machine name). We did read all MSDN article and others in our goold search. We made sure...
2
2293
by: Andrew | last post by:
VS.net Win 2k3 I'm getting the following error when attempting to debug. I'm not debugging remotely, just a local project. "Unable to start debugging. Cannot find port. Check the remote machine name." Any insight is appreciated.
5
2594
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been created in the wrong folder on the hard drive. Before I discovered these files, .NET kept trying to create a new project with _1 following the project name. Deleting those files corrected that problem. I deleted the Virtual Directory, rebooted, and...
5
63777
by: João Santa Bárbara | last post by:
hi there i have this error in VS2005 DEV Edition "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." i have create an windows forms application (exe) and in the same project i have create 2 forms
1
1738
by: Rich | last post by:
Hello, I downloaded a sample asp.net app (in C#). When I try to run it I get the following error message" "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. Click Help for more information"
2
12816
by: ashishjainism | last post by:
I am unable to install my windows service and the installutil is throwing the following error: Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the d:\practice in .net\mywindowsservice\mywindowsservice\mywindowsservice\bin\practiceservice.exe assembly's progress. The file is located at d:\practice in...
0
1192
by: mohamed82 | last post by:
Hi all. in my project using the inet controls for down loading zip file from site at the time error will occur for "unable to complete ur request" i think it will happening for the download more than 600 kb it will not working.that error message will occur.codings below i put the coding in function calling -------------- Dim Size As Long, Remaining As Long, FFile As Integer, Chunk() As Byte Dim loginString As String Dim...
0
8352
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8697
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7297
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
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

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.