473,657 Members | 2,395 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 1179
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
9713
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 one comes back after roughly 4 seconds and then instance two comes back in 8 seconds, twice the...
6
5390
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
1617
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
2482
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 changed the bind statement to use a specific username/password like: DirectoryEntry entry = new...
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 point to this. I have tried this, by my VS project will not work if I move the files and delete the...
7
4036
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 system.
1
2679
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, and checking most of it out, I uninstalled Office 2000. Well, it's a lot easier to upgrade than...
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 (are you missing a using directive or an assembly reference?)" when trying to run as a virtual...
3
2468
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 working, the other v1.1 apps stopped working and we got the "Server Application is not available"...
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7330
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.