473,499 Members | 1,678 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.asp")
and got
c:\inetpub\wwwroot\default.asp

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

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

"TomB" <sh*****@hotmail.com> wrote in message
news:eM**************@tk2msftngp13.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.asp")
and got
c:\inetpub\wwwroot\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*****@hotmail.com> wrote in message
news:uu**************@tk2msftngp13.phx.gbl...
Never mind.....I swear I did the same thing ten times, and the tenth time it worked...grrr.

"TomB" <sh*****@hotmail.com> wrote in message
news:eM**************@tk2msftngp13.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.asp")
and got
c:\inetpub\wwwroot\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*****@hotmail.com> wrote in message
news:eM**************@tk2msftngp13.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.asp")
and got
c:\inetpub\wwwroot\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*****@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
Oh ****, it's not supposed to is it?

"Tom B" <sh*****@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP11.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*****@hotmail.com> wrote in message
news:uu**************@tk2msftngp13.phx.gbl...
Never mind.....I swear I did the same thing ten times, and the tenth time
it
worked...grrr.

"TomB" <sh*****@hotmail.com> wrote in message
news:eM**************@tk2msftngp13.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.asp")
> and got
> c:\inetpub\wwwroot\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*****@hotmail.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.write server.mappath("\default.asp")
and got
c:\inetpub\wwwroot\default.asp

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
2075
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...
4
3296
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...
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
14405
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
2578
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...
5
3653
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...
8
3363
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...
3
2155
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...
2
2670
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...
6
2152
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: ...
0
7134
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,...
0
7014
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...
1
6905
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...
0
7395
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
5485
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
4921
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
3108
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
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
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.