This is driving me to insanity!!!
I do not have a lot of experience with IIS which probably is not helping but
as far as I can tell I am do things as per the MSDN documentation.
I have a solution in Source Safe that I want to add some web service
projects to.
I create a folder under my solution folder for the new web service project.
I create a virtual directory using IIS and accept the default settings for
security etc.
I use "File->New->Project" and select a C# ASP.Net web service.
I specify "http://localhost/<<my virtual folder>>
Visual Studio.Net creates the new project for me, I do some work on it.
Write the test code everything is just dandy.
Then I use the Visual Studio IDE to add the new project to Source Safe, as
instructed on MSDN, specifying a folder under the solution folder.
All the files get added - everything looks like sweetness and light.
Then I go to a different machine which has the old solution (without the web
service projects) on it.
I create the folders for the new web service projects.
I create the virtual directories using IIS on the new machine.
Then I do a "Get Latest" from Source Safe to get the new solution with the
new web service projects.
When I go to open the solution I get a dialog with a caption "Set Project
Location - << solution name >>"
My three new projects are listed in a list box along with their Source Safe
locations and three new virtual directories with the same names as the ones
I created but suffixed with an _1. I do not want to put the projects in
those virtual folders! I want to put them in the ones I specially created
for the job a few seconds ago.
So I edit the suggested folders and change to the ones that I just created.
When I click OK I get a dialog that says ...
"One or more of the suggested paths are invalid. To open the solution,
specify a valid path for each project."
Well that is just tosh! These are all good vdirs - I created them only two
seconds ago!
Oh well if you do not like the ones I created then I will go with your
ones - so I accept the default names - only to receive a dialog that says..
"Unable to create web project <<vdir>>. The path <<path>> does not
correspond to the URL <<vdir>> The two need to map to the same server
location. HTTP error 404 object not found"
Well thanks a lot! I am stuck - I have wasted soooo much time trying to
work around this stupid issue.
If anyone can help and point me towards a good solution it would be much
appreciated.
TIA
Andy