I have a virtual directory, lets say it exists at www.server-a.com/virtual-dir/
virtual-dir points to another directory on another server using the
unc path: \\server-b\main-dir
I have a file at www.server-a.com/virtual-dir/some_script.asp, using
the following include:
<!--#include file="some_include.asp"--->
Going to www.server-a.com/virtual-dir/some_script.asp works perfectly
fine
HOWEVER
If I have another asp file at www.server-a.com/my_script.asp, which
uses the following include:
<!--#include virtual="/virtual-dir/some_script.asp"--->
it produces this error:
Active Server Pages error 'ASP 0126'
Include file not found
/virtual-dir/some_script.asp, line 2
The include file 'some_include.asp' was not found.
Anybody have any clues as to why it would say file not found, even
though the file clearly exists? 5 4554 ch***********@redlands.edu wrote:
I have a virtual directory, lets say it exists at www.server-a.com/virtual-dir/ virtual-dir points to another directory
on another server using the
unc path: \\server-b\main-dir
I have a file at www.server-a.com/virtual-dir/some_script.asp, using
the following include:
<!--#include file="some_include.asp"--->
Going to www.server-a.com/virtual-dir/some_script.asp works perfectly
fine
HOWEVER
If I have another asp file at www.server-a.com/my_script.asp, which
uses the following include:
<!--#include virtual="/virtual-dir/some_script.asp"--->
it produces this error:
Active Server Pages error 'ASP 0126'
Include file not found
/virtual-dir/some_script.asp, line 2
The include file 'some_include.asp' was not found.
Anybody have any clues as to why it would say file not found, even
though the file clearly exists?
Have you enabled "parent paths" using IIS Manager? http://classicasp.aspfaq.com/general...31-errors.html
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
On Aug 8, 12:24*pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
chris_peop...@redlands.edu wrote:
I have a virtual directory, lets say it exists at www.server-a.com/virtual-dir/virtual-dir points to another directory
on another server using the
unc path: \\server-b\main-dir
I have a file atwww.server-a.com/virtual-dir/some_script.asp, using
the following include:
<!--#include file="some_include.asp"--->
Going towww.server-a.com/virtual-dir/some_script.aspworks perfectly
fine
HOWEVER
If I have another asp file atwww.server-a.com/my_script.asp, which
uses the following include:
<!--#include virtual="/virtual-dir/some_script.asp"--->
it produces this error:
Active Server Pages error 'ASP 0126'
Include file not found
/virtual-dir/some_script.asp, line 2
The include file 'some_include.asp' was not found.
Anybody have any clues as to why it would say file not found, even
though the file clearly exists?
Have you enabled "parent paths" using IIS Manager?http://classicasp.aspfaq.com/general...130/asp-0131-e...
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"- Hide quoted text -
- Show quoted text -
Yes I have that enabled on both servers, and am still getting the
error message.
I thought it might be a permissions thing but the error still occurs
after adding full control to 'Everyone'. ch***********@redlands.edu wrote:
On Aug 8, 12:24 pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
>chris_peop...@redlands.edu wrote:
>>I have a virtual directory, lets say it exists at www.server-a.com/virtual-dir/virtual-dir points to another directory on another server using the unc path: \\server-b\main-dir
>>I have a file atwww.server-a.com/virtual-dir/some_script.asp, using the following include: <!--#include file="some_include.asp"--->
>>Going towww.server-a.com/virtual-dir/some_script.aspworks perfectly fine
>>HOWEVER
>>If I have another asp file atwww.server-a.com/my_script.asp, which uses the following include: <!--#include virtual="/virtual-dir/some_script.asp"---> it produces this error:
Yes I have that enabled on both servers, and am still getting the
error message.
I thought it might be a permissions thing but the error still occurs
after adding full control to 'Everyone'.
Oh wait, I didn't read closely enough ... there's two servers involved?
This is likely to be a permissions issue. Your asp code is running under the
context of a local account on server A. That local account is not a member
of the Everyone group on server B. http://www.aspfaq.com/show.asp?id=2168
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
On Aug 8, 1:35*pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
chris_peop...@redlands.edu wrote:
On Aug 8, 12:24 pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
chris_peop...@redlands.edu wrote: I have a virtual directory, lets say it exists at www.server-a.com/virtual-dir/virtual-dirpoints to another directory on another server using the unc path: \\server-b\main-dir
>I have a file atwww.server-a.com/virtual-dir/some_script.asp, using the following include: <!--#include file="some_include.asp"--->
>Going towww.server-a.com/virtual-dir/some_script.aspworksperfectly fine
>HOWEVER
>If I have another asp file atwww.server-a.com/my_script.asp, which uses the following include: <!--#include virtual="/virtual-dir/some_script.asp"---> it produces this error:
Yes I have that enabled on both servers, and am still getting the
error message.
I thought it might be a permissions thing but the error still occurs
after adding full control to 'Everyone'.
Oh wait, I didn't read closely enough ... there's two servers involved?
This is likely to be a permissions issue. Your asp code is running under the
context of a local account on server A. That local account is not a member
of the Everyone group on server B.http://www.aspfaq.com/show.asp?id=2168
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"- Hide quoted text -
- Show quoted text -
Whoops, now I'm getting a 401. I changed the password of the
IUSR_machine account as instructed, but I didn't realize until
afterwards that those are instructions for Win2000, and I'm on
Win2003. Seems like it would be the same principal though, unless I
missed something.
On Aug 8, 2:24*pm, chris_peop...@redlands.edu wrote:
On Aug 8, 1:35*pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
chris_peop...@redlands.edu wrote:
On Aug 8, 12:24 pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
>chris_peop...@redlands.edu wrote:
>>I have a virtual directory, lets say it exists at
>>>www.server-a.com/virtual-dir/virtual-dirpointsto another directory
>>on another server using the
>>unc path: \\server-b\main-dir
>>I have a file atwww.server-a.com/virtual-dir/some_script.asp, using
>>the following include:
>><!--#include file="some_include.asp"--->
>>Going towww.server-a.com/virtual-dir/some_script.aspworksperfectly
>>fine
>>HOWEVER
>>If I have another asp file atwww.server-a.com/my_script.asp, which
>>uses the following include:
>><!--#include virtual="/virtual-dir/some_script.asp"--->
>>it produces this error:
Yes I have that enabled on both servers, and am still getting the
error message.
I thought it might be a permissions thing but the error still occurs
after adding full control to 'Everyone'.
Oh wait, I didn't read closely enough ... there's two servers involved?
This is likely to be a permissions issue. Your asp code is running under the
context of a local account on server A. That local account is not a member
of the Everyone group on server B.http://www.aspfaq.com/show.asp?id=2168
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"- Hide quoted text -
- Show quoted text -
Whoops, now I'm getting a 401. *I changed the password of the
IUSR_machine account as instructed, but I didn't realize until
afterwards that those are instructions for Win2000, and I'm on
Win2003. *Seems like it would be the same principal though, unless I
missed something.- Hide quoted text -
- Show quoted text -
Got it solved. Had to change the password in IIS and Computer
Management. Thanks for your help on this. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Astra |
last post by:
Hi All
Could you please confirm whether it is possible to include an include file,
which is on another site, but still on the same set of web servers.
I want to upload a default paeg to a...
|
by: Mike D |
last post by:
I have a .js menu file that runs in all of my intranet
files. I have an asp calendar system where I can add
calendar names to a db and it will display these new
calendars. What I don't have is a...
|
by: JR |
last post by:
Hi, I'm migrating my website to an IIS 6.0 server and all
the asp pages work fine except for the ones that reference
include files, even though I have "Enable parent paths"
enabled in the...
|
by: David Webb |
last post by:
The problem started when the Working Folder for a project was somehow set to
the folder of another project. I set the correct working folder in VSS and
deleted the .vbproj files that had been...
|
by: Lokkju |
last post by:
I am pretty much lost here - I am trying to create a managed c++
wrapper for this dll, so that I can use it from c#/vb.net, however, it
does not conform to any standard style of coding I have seen....
| |
by: Sky Sigal |
last post by:
I have created an IHttpHandler that waits for uploads as attachments for a
webmail interface, and saves it to a directory that is defined in
config.xml.
My question is the following:
assuming...
|
by: Steve M |
last post by:
I am having a really strange problem. I have a site setup in a virtual
directory that fails with the error below. It works on other web servers
that are network load balanced with this server. I...
|
by: Eric |
last post by:
Hello,
I have some server side includes on a Classic asp page that look
something like:
<!-- #include virtual="/includes/file1.asp"-->
<!-- #include virtual="/includes/file2.asp" -->
<!--...
|
by: SteveT |
last post by:
Is it possible to have an include file that resides outside of the web site
parent folder?
For instance, lets say you have several websites under
Inetpub/global/websites/ but the include file is...
|
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,...
|
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...
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
| |