Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2004, 04:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default 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.
======================================
__________________
======================================
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."
--Shakespeare
======================================
 
Old April 15th, 2004, 04:28 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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:
http://localhost/VirtualDirectoryName/

Is this what you're after?

Cheers,

Imar
---------------------------------------
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)

 
Old April 15th, 2004, 08:20 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Imar,

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.
======================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005 - Setup Project torefj Visual Studio 2005 0 August 11th, 2008 07:11 PM
Installing IIS for Visual Studio 2003 createrk General .NET 3 April 25th, 2008 12:03 PM
Visual studio.Net, IIS, and sql server anthonyij VS.NET 2002/2003 2 May 26th, 2006 04:37 AM
Visual Studio 2003 vs. Visual Studio 2005 eitanbarazani C# 2005 4 May 9th, 2006 01:34 AM
Create C# Web App Visual Studio on remote IIS 6 lange Classic ASP Professional 0 July 31st, 2004 09:34 AM





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