473,545 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic virtual directory name (in the IIS)

My web application name is xyz--> so I have a virtual directory name xyz.
The problem: I need each time to install it under different name!
What would be the best way to do it and avoid all this problems:
1. Registering user-controls and linking to other files (scripts, css...) who uses in the path the app name.
2. Inside style sheet we use classes that uses URL (with app name)
3. Regular images controls (server and client side) that are used in aspx\ascx files. (Consider that all images are places in one folder, and due to files hierarchy in the project, relative path doesn’t work also.
4. ... other related issues.

Jul 21 '05 #1
0 1354

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

Similar topics

0
999
by: Ronen | last post by:
My web application name is xyz--> so I have a virtual directory name xyz. The problem: I need each time to install it under different name! What would be the best way to do it and avoid all this problems: 1. Registering user-controls and linking to other files (scripts, css...) who uses in the path the app name. 2. Inside style sheet we use...
1
3649
by: Stephane | last post by:
Hi, I'm trying to create a virtual directory dynamically in my web site using ASP.NET. I received this error: System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that file already exists. at System.DirectoryServices.Interop.IAdsContainer.Create(String className, String relativeName) at...
0
1180
by: Steve Singer | last post by:
Hello. I would like to find the name of the virtual directory and the directory path of the website from a business class which the website uses. I can't figuire out what the code would be? Any ideas??? This makes me think of another question.. How would I determine if my business object is running under a web application or standalone...
0
316
by: Ronen | last post by:
My web application name is xyz--> so I have a virtual directory name xyz. The problem: I need each time to install it under different name! What would be the best way to do it and avoid all this problems: 1. Registering user-controls and linking to other files (scripts, css...) who uses in the path the app name. 2. Inside style sheet we use...
0
891
by: dnvhariprasad | last post by:
hello experts, i have a problem with iis, actually in iis i have one root virtual directory under virtual directory i have two more virtual directories. now i removed one sub virtual directory and created new virtual directory with updated asp.net application. even after recreation of virtual directory the old code only executing.... where...
1
4921
by: sudhapadmas | last post by:
Hello netters, I was trying to create a virtual directory in IIS using the following code: System.EnterpriseServices.Internal.IISVirtualRoot vr = new System.EnterpriseServices.Internal.IISVirtualRoot();
3
3302
by: MarkusJNZ | last post by:
Hi, I have two different applications running on 2003 both in two different vitrual directories. One application runs on the .NET framework 1.1 whilst the other runs on 2.0. If I change the framework version (via IIS admin ASP.NET tab) for either application (Initally the 2.0 app was recognised by IIS as 1.1) does this force IIS to restart?...
1
2022
by: =?Utf-8?B?QWxleCBNdW5r?= | last post by:
I am using C# in VS2005. In my solution I have a web project and a setup project. When I run the setup wizard to install the web application on the server the virtual directory name that comes up is the name of the setup project. How do I change this so that the name defaults to the web project name instead? Thanks, Alex
2
1068
by: James | last post by:
Hello, I had installed IIS 6 Manager in my Windows XP Professional using SP 3, I try to create a virtual directory using IIS, I googled and what I could not able to understand is that there is no drop down list in the IIS to go to the default websites and create a virtual directory. I mean there is no + icon to expand the IIS services. Can...
0
7401
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...
0
7656
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. ...
1
7423
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...
0
5972
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
5329
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
4945
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
3450
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1884
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 we have to send another system
1
1014
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.