Web Service project configuration in Visual Studio 2003.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andy (swarb70sok_at_hotmail.com)
Date: 07/09/04


Date: Fri, 9 Jul 2004 18:19:02 +0100

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/< 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



Relevant Pages

  • Re: Cant access IIS admin window
    ... >>I can't access the IIS properties dialog (or, for that matter, the ... >>properties dialog for any single folder), and I also can't uninstall it (the ... #1] and none of my virtual directories nor any IIS' default items ... says "Key not valid for use in specified state". ...
    (microsoft.public.inetserver.iis)
  • Re: IIS Problems...cant figure out...
    ... >The folder has read, ... Again, I only use IIS for the basics, setting up virtual directories for websites. ... I reinstalled IIS with no luck except that I can pull up ASP pages in new directories now. ...
    (microsoft.public.inetserver.iis)
  • Re: Virtual Directory Problems
    ... Are you saying that you mapped a drive, and that is the shared folder? ... IIS runs as a webservice, ... "How to Enable Pass-through Authentication for UNC Virtual Directories" ...
    (microsoft.public.inetserver.iis)
  • RE: c1030af7 on SBS2003, after installing ProjectServer 2003 and all u
    ... Thank you for posting in SBS newsgroup. ... If no other virtual folders exist in IIS, the best way should be restoring ... In IIS, select Web Sites, and note the "Identifier" for Default Web Site ... | folder insted of the /projectserver folder work anymore. ...
    (microsoft.public.windows.server.sbs)
  • Re: Manually Created Web Site Does Not Work - What am I Missing?
    ... between my VS project - and therefore assembly names - and the IIS Web site. ... have the same name or folder structure as my VS project. ... The ASP.NET Dev Server runs as the Administrator account in VS 2008. ...
    (microsoft.public.dotnet.framework.aspnet)