|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VS 2005: Virtual directoriesI'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 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 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 >
Other interesting topics
Using Components in ASP.NET (C#)
The system cannot find the file specified. (Exception from HRESULT: 0x80070002) XHTML 1.0 Event 1089 Retreive images stored in Access database Can we search keywords in a word document? MS Forms 2.0 Combo box control .ascx file as index page? How to initiate a postback in a function? Problem with aspnet_wp.exe |
|||||||||||||||||||||||