Home All Groups Group Topic Archive Search About

VS 2005: Virtual directories

Author
24 Nov 2005 1:27 PM
Griff
Rather new to this....

I've created a new web site using VS 2005.  It's created the files under my
"documents and settings" area and the URL to this site is
http://localhost:3066/website1

I have a separate physical directory structure that I have to use within
this website (and others).  I therefore need to add this as a virtual
directory.

When using CLASSIC asp, I'd do this by finding the website in IIS manager
and adding a virtual directory and pointing it through to the physical
directory.

However, on my XP machine, I can't find this directory under IIS and
therefore can't map the virtual directory.   I'm not sure how to do
this....could someone please explain?

Thanks

Griff

Author
24 Nov 2005 2:07 PM
Griff
Worked this out eventually.....don't create the project in VS2005, but
instead create the web site and virtual directories under IIS and then open
the website using VS2005
Are all your drivers up to date? click for free checkup

Author
24 Nov 2005 4:23 PM
clintonG
We can use VS2005 to create a website. Use the File > New > Website and
select HTTP from the ddl shown in the dialog.
Secondly, I find it more efficient to locate websites in c:\inetpub\wwwroot.
I name my machine with short names such as XP1 which enable me to load
websites by using http:// xp1/nameofwebsite which sure beats the hell out of
http:// localhost:portnumber/nameofwebsite


<%= Clinton Gallagher
         METROmilwaukee (sm) "A Regional Information Service"
         NET csgallagher AT metromilwaukee.com
         URL http://metromilwaukee.com/
         URL http://clintongallagher.metromilwaukee.com/




Show quoteHide quote
"Griff" <Howl***@The.Moon> wrote in message
news:ubrXlBQ8FHA.1864@TK2MSFTNGP12.phx.gbl...
> Worked this out eventually.....don't create the project in VS2005, but
> instead create the web site and virtual directories under IIS and then
> open the website using VS2005
>

Bookmark and Share