473,503 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Working Directory for Web Apps

Hi All

I have just created a new solution and project in VS 2003 as a VB Web
Application called "CRM". VS has created a folder in Inetpub/wwwroot/crm for
me and set up a virtual directory.

This is OK, but I was wandering if I could work from a different directory
on my D drive e.g. D::\Work\MyProject and modify the virtual directory to
point to this. I have tried this, by my VS project will not work if I move
the files and delete the folder in Inetpub/wwwroot/crm (even though the
virtual web will still work as I have modified the web files location).

I had a similar problem with the old version and can't remember how I got
round it. Also, is there any advantage of using a virtual directory compared
to an actual website on win 2003?

Thanks in advance for any advice!
Paul
Jul 21 '05 #1
2 1165
The easiest way:

1. Move the files where you desire.
2. Delete the web application in IIS
3. Right click on the folder you put the files in and choose web sharing
4. Give it the same name you gave the original project
5. Ensure the web root is an application in IIS (if not change to an
application in properties)

Double click the project file and save this "new" solution. You can save
over the old solution, if you desire.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Paul" wrote:
Hi All

I have just created a new solution and project in VS 2003 as a VB Web
Application called "CRM". VS has created a folder in Inetpub/wwwroot/crm for
me and set up a virtual directory.

This is OK, but I was wandering if I could work from a different directory
on my D drive e.g. D::\Work\MyProject and modify the virtual directory to
point to this. I have tried this, by my VS project will not work if I move
the files and delete the folder in Inetpub/wwwroot/crm (even though the
virtual web will still work as I have modified the web files location).

I had a similar problem with the old version and can't remember how I got
round it. Also, is there any advantage of using a virtual directory compared
to an actual website on win 2003?

Thanks in advance for any advice!
Paul

Jul 21 '05 #2
That worked fine, thanks for you help!

"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote
in message news:E2**********************************@microsof t.com...
The easiest way:

1. Move the files where you desire.
2. Delete the web application in IIS
3. Right click on the folder you put the files in and choose web sharing
4. Give it the same name you gave the original project
5. Ensure the web root is an application in IIS (if not change to an
application in properties)

Double click the project file and save this "new" solution. You can save
over the old solution, if you desire.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Paul" wrote:
Hi All

I have just created a new solution and project in VS 2003 as a VB Web
Application called "CRM". VS has created a folder in Inetpub/wwwroot/crm for me and set up a virtual directory.

This is OK, but I was wandering if I could work from a different directory on my D drive e.g. D::\Work\MyProject and modify the virtual directory to point to this. I have tried this, by my VS project will not work if I move the files and delete the folder in Inetpub/wwwroot/crm (even though the
virtual web will still work as I have modified the web files location).

I had a similar problem with the old version and can't remember how I got round it. Also, is there any advantage of using a virtual directory compared to an actual website on win 2003?

Thanks in advance for any advice!
Paul

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
9675
by: Mark Sisson | last post by:
Hey all. I've got a legacy COM dll that I'd like to use in my multithreaded C# app. Problem though is when I create several instances of the interop object and start them on their own threads...
6
5380
by: Shaun Heveron | last post by:
Hi, I'm working on a portable ANSI C++ application designed to compile and execute under Windows and LINUX/UNIX. Is there a portable way of obtaining the current working directory? Sorry, if...
1
1612
by: Jeremy | last post by:
Hi there, We recently upgraded to the 1.1 framework, and of course, all of our 1.0 asp.net apps starting using the 1.1 framework, which we didn't want to happen. I found an MS article saying...
3
2474
by: Marshall | last post by:
I appear to be having a problem similar to Neil as posted at...
2
256
by: Paul | last post by:
Hi All I have just created a new solution and project in VS 2003 as a VB Web Application called "CRM". VS has created a folder in Inetpub/wwwroot/crm for me and set up a virtual directory. ...
7
4028
by: vamichael | last post by:
When I try to run the Website Administration Tool from my published application using http://localhost/myapp/webadmin.axd I am getting a "resource not found" error message. I can use the...
1
2667
by: Wandering | last post by:
I know you guys are heavy duty coders, while I do ad-hoc analysis, and rarely write code. And, I may be in the wrong groups because this is about an install issue, and I don't think it's a code...
5
3399
by: =?Utf-8?B?a25m?= | last post by:
I have a small application that initially loads two .net dlls and the app can run with .NET 1.1 or .NET 2.0. On 32-bit machines I am able to run these apps as a virtual directory under the Default...
3
2459
by: lds | last post by:
On our server we have both applications that have been migrated to use v2.0 of the framework as well as apps that have not yet been migrated and still use 1.1. When I tried to deploy my v2.0 app...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.