473,569 Members | 2,652 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\MyProj ect 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 1174
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\MyProj ect 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.netNoS pamM> wrote
in message news:E2******** *************** ***********@mic rosoft.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\MyProj ect 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
9692
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 they always seem to run synchronously. I've boiled down the code to a simple "lab" experiment below. In this console app you'll see that instance...
6
5387
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 I'm being stupid... Thanks,
1
1613
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 if you modify the ISAPI filter setting in IIS for the site to point to the 1.0 aspnet_filter.dll, your app will then use the 1.0 framework.
3
2481
by: Marshall | last post by:
I appear to be having a problem similar to Neil as posted at http://msdn.microsoft.com/newsgroups/Default.aspx?query=directoryentry+intermittent&dg=&cat=en-us-msdn-dotnet&lang=en&cr=US&pt=&catlist=DEA2432D-EA76-4E5B-AF80-E56902048BAD%2C774F24A2-F71F-425F-AC2B-DC48AB0DA5C9&dglist=&ptlist=&exp=&sloc=en-us I thought my problem was solved when I...
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. 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...
7
4030
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 Admin tool from the IDE however. I noticed some people referring to a directory called c:\Inetpub\wwwroot\aspnet_webadmin\, which i do not have on my...
1
2672
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 issue. But ... Office 2000 was on this machine when it was given to me. I don't own it. After installing Office 97, mine, in a different directory,...
5
3407
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 Web Site. On 64-bit machines I get an error loading the dlls: "Compiler Error Message: CS0246: The type or namespace name <namecould not be found...
3
2466
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 earlier today it would not work. We restarted IIS and evenutally it started working, but not right after it restarted. Once it finally started...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7974
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.