473,626 Members | 3,320 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

virtual root?

My IIS server (Win2K) I created a new application, but when I #Include a
file it goes to the root of the Default Web site rather than the root of the
site?

I tried
Response.write server.mappath( "\default.a sp")
and got
c:\inetpub\wwwr oot\default.asp

I know this is IIS 101 but I cannot get it to work.

Thanks
Jul 19 '05 #1
5 4087
Never mind.....I swear I did the same thing ten times, and the tenth time it
worked...grrr.

"TomB" <sh*****@hotmai l.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
My IIS server (Win2K) I created a new application, but when I #Include a
file it goes to the root of the Default Web site rather than the root of the site?

I tried
Response.write server.mappath( "\default.a sp")
and got
c:\inetpub\wwwr oot\default.asp

I know this is IIS 101 but I cannot get it to work.

Thanks

Jul 19 '05 #2
No, it didn't work.
My icon looks like a present opening, I have an Application name in the
properties....
what am I missing?
"TomB" <sh*****@hotmai l.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
Never mind.....I swear I did the same thing ten times, and the tenth time it worked...grrr.

"TomB" <sh*****@hotmai l.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
My IIS server (Win2K) I created a new application, but when I #Include a
file it goes to the root of the Default Web site rather than the root of

the
site?

I tried
Response.write server.mappath( "\default.a sp")
and got
c:\inetpub\wwwr oot\default.asp

I know this is IIS 101 but I cannot get it to work.

Thanks


Jul 19 '05 #3
I've no idea what you are talking about.

The result of the MapPath method looks correct to me. Are you saying that it
is not?

Paul

"TomB" <sh*****@hotmai l.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
My IIS server (Win2K) I created a new application, but when I #Include a
file it goes to the root of the Default Web site rather than the root of the site?

I tried
Response.write server.mappath( "\default.a sp")
and got
c:\inetpub\wwwr oot\default.asp

I know this is IIS 101 but I cannot get it to work.

Thanks

Jul 19 '05 #4
LOL

like a sitcom! i love it

"Tom B" <sh*****@hotmai l.com> wrote in message
news:eX******** ******@TK2MSFTN GP09.phx.gbl...
Oh ****, it's not supposed to is it?

"Tom B" <sh*****@hotmai l.com> wrote in message
news:eo******** ******@TK2MSFTN GP11.phx.gbl...
No, it didn't work.
My icon looks like a present opening, I have an Application name in the
properties....
what am I missing?
"TomB" <sh*****@hotmai l.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
Never mind.....I swear I did the same thing ten times, and the tenth time
it
worked...grrr.

"TomB" <sh*****@hotmai l.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
> My IIS server (Win2K) I created a new application, but when I
#Include a > file it goes to the root of the Default Web site rather than the
root
of the
> site?
>
> I tried
> Response.write server.mappath( "\default.a sp")
> and got
> c:\inetpub\wwwr oot\default.asp
>
> I know this is IIS 101 but I cannot get it to work.
>
> Thanks
>
>



Jul 19 '05 #5
What does your include statement look like?

Jeremy

On Thu, 4 Sep 2003 11:26:06 -0400, "TomB" <sh*****@hotmai l.com> wrote:
My IIS server (Win2K) I created a new application, but when I #Include a
file it goes to the root of the Default Web site rather than the root of the
site?

I tried
Response.wri te server.mappath( "\default.a sp")
and got
c:\inetpub\www root\default.as p

I know this is IIS 101 but I cannot get it to work.

Thanks


Jul 19 '05 #6

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

Similar topics

7
2086
by: jason | last post by:
I am getting twisted by the possibility that my virtual includes which currently work great on non-domain remote IP will crash if I purchase a domain and point it to one of my designated folders.....Here is the scenario and question:: If my remote webhost at (eg): http://69.8.9.9 ....has a subfolder with with:
4
3306
by: | last post by:
Is it possible to include my remote web server path eg: m:/html/root/site1 | m:/html/root/site2 etc ....in virtual includes.... Thus eliminating the need to create duplicate INC files in each sub-domain on my remote web server host domain IP. eg: http://72.3.5.6.0 (www.site1.com; www.site2.com) I would like to be able to use a UNIVERSAL INC file in the root of my web IP
4
385
by: aap | last post by:
Hi, I have the following code. #include <iostream> using namespace std; class Root { public: virtual void Root1() = 0; virtual void Root2() = 0;
2
14421
by: Jacky Luk | last post by:
Hi all, If I need to make a C# application, do I need to set up a virtual dir such as inetroot on the Harddisks. How do I set up such thingy? Thanks Jack
4
2589
by: Michelle | last post by:
I have a website with 6 virtual directories under it who dont "see" the bin/ directory in the root. If I create a /bin directory in each virtual directory and then copy my dll's in there, it works. Any idea what I'm doing wrong? Or any other way to reference a dll? I know a solution is to copy the dll's into the GAC, but this server has many other websites running on it, so I don't want the dll's there and available to any other...
5
3665
by: Leszek | last post by:
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following directory structure: FileManager (application name a.k.a. virtual directory?)
8
3382
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I wouldn't be able to get to it. So to access it via my browser I go to localhost/appA.
3
2164
by: Manso | last post by:
Hi, We have an application that is installed in default web site (root web site). The same application will be installed as virtual directories under the root site e.g. <default web site>/app1 and <default web site>/app2. Starting the root application goes well but when starting app1 it complains that the HttpModule installed for the default web site is already loaded. I don't understand this. The following thread mentions a nasty...
2
2675
by: §iD` | last post by:
Hi! I would like to create a virtual folder (which I want to mount) and populate managing his content by a DLL or something like that in VB.NET (2.0). How can I acomplish this? Thanks to all!
6
2163
by: Eric | last post by:
Hi Everyone, I have an ASP 1.1 website being hosted in a virtual directory that is a child node of an ASP 2.0 website. So I have: http://mainapp (which is a 2.0 site) And: http://mainapp/subapp (which is a 1.1 site)
0
8266
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
8638
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
8365
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
7196
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
5574
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();...
0
4092
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
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
1811
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.