Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2004, 04:14 AM
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
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
======================================
  #2 (permalink)  
Old April 15th, 2004, 04:28 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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)

  #3 (permalink)  
Old April 15th, 2004, 08:20 PM
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
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.
======================================
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:16 PM.


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