p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Basics (http://p2p.wrox.com/forumdisplay.php?f=60)
-   -   Visual Studio IIS Setup (http://p2p.wrox.com/showthread.php?t=11847)

rodmcleay April 15th, 2004 04:14 AM

Visual Studio IIS Setup
Hi All,

I have recently moved from one computer to another, their specs are more or less the same.
In doing this I moved my project files over as well.
However when a new project is created from within Visual Studio it sets up the Virtual Directories etc, when I copied the folders into the inetpub/wwwroot directory, they obviously, are not virtual directories. In order to run the app in debug i needed to set up a vitual directory for the project and point it to the folder in the same directory. Aside the images not linking properly this worked.
However the virtual directory and the folder are listed in the wwwroot folder which is not the same as when VS.NET does it.

I am failry sure there must be a better way of doing this.
Can anybody tell me, or point me to some info, on how to move a solution under developement from one PC to another.

Thanks in advance for any assistance.

They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.

Imar April 15th, 2004 04:28 AM

Hi Rod,

If I understand your question correctly, I think this is caused by the way how you assign a Virtual Directory (VD). If you go to the IIS management console, you'll see the physical folders listed under the wwwroot folder. You can open the Properties of one of those folders and turn them into a VD. I think this is what you have done now.

Another way to create a VD is to right click your site in the IIS MMC and choose New | New VD. This allows you to assign a new VD name, and point to a completely different folder, like E:\Data\MySites\MyNewProject.
Then this location will be used as the VD, and can be reached with:

Is this what you're after?


Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Shadow Of The Sun by Audioslave (Track 7 from the album: Audioslave)

rodmcleay April 15th, 2004 08:20 PM


Thanks, that is what I needed.
In fact that is what I did but it did not seem to work correctly, this morning after rebooting all seems fine.
The image problem was a error on my part.

Thanks again.

They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.

All times are GMT -4. The time now is 10:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.