473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Microsoft VBScript runtime error '800a004c'

I have an IIS 5.0 server with a Virtual Directory called test. This virtual
directory points to a share on the network, \\server1\share\ and uses a valid
domain account in the "Connect As" field.

From an IE browser, you can access the virtual directory without a problem.
However, when referencing the virtual diretory in an asp page, the following
error is received:

Microsoft VBScript runtime error '800a004c'

Path not found

/Folder1/webpage.asp, line 10
Line 10 is where the virtual directory is referenced.

I have tried changing the network share permission to Full access for
EVERYONE, but that did not work. I also changed the "Connect As" credentials
to an administrator account, but again without an luck. I have tested this
on two other web servers, 1 works and 1 doesn't, but I can't find any
differences in their IIS Settings.

Does anyone have any ideas??
Feb 3 '06 #1
4 25224
Show code up to line 10.

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
I have an IIS 5.0 server with a Virtual Directory called test. This
virtual
directory points to a share on the network, \\server1\share\ and uses a
valid
domain account in the "Connect As" field.

From an IE browser, you can access the virtual directory without a
problem.
However, when referencing the virtual diretory in an asp page, the
following
error is received:

Microsoft VBScript runtime error '800a004c'

Path not found

/Folder1/webpage.asp, line 10
Line 10 is where the virtual directory is referenced.

I have tried changing the network share permission to Full access for
EVERYONE, but that did not work. I also changed the "Connect As"
credentials
to an administrator account, but again without an luck. I have tested
this
on two other web servers, 1 works and 1 doesn't, but I can't find any
differences in their IIS Settings.

Does anyone have any ideas??

Feb 3 '06 #2
It is as follows:

dim fso,f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder( "\\server1\share\")


"Ray Costanzo [MVP]" wrote:
Show code up to line 10.

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
I have an IIS 5.0 server with a Virtual Directory called test. This
virtual
directory points to a share on the network, \\server1\share\ and uses a
valid
domain account in the "Connect As" field.

From an IE browser, you can access the virtual directory without a
problem.
However, when referencing the virtual diretory in an asp page, the
following
error is received:

Microsoft VBScript runtime error '800a004c'

Path not found

/Folder1/webpage.asp, line 10
Line 10 is where the virtual directory is referenced.

I have tried changing the network share permission to Full access for
EVERYONE, but that did not work. I also changed the "Connect As"
credentials
to an administrator account, but again without an luck. I have tested
this
on two other web servers, 1 works and 1 doesn't, but I can't find any
differences in their IIS Settings.

Does anyone have any ideas??


Feb 3 '06 #3
Although you have that share setup as a virtual directory with logon
credentials, when you attempt to access it that way, the logon credentials
for the virtual directory are in no way connected or relevant. Instead,
what you're doing is executing code that is running under your
IUSR_computername account (presumedly), and trying to access a network
share. You will have to use some other means of accessing that share, such
as by synchronizing IUSR_ accounts, manually, using a domain account for the
site/app/page that runs this code, or using basic authentication and using
your users' security tokens for accessing the share.

Take a look at the "If the file is within your LAN" section of
http://www.aspfaq.com/show.asp?id=2168

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
It is as follows:

dim fso,f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder( "\\server1\share\")


"Ray Costanzo [MVP]" wrote:
Show code up to line 10.

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
>I have an IIS 5.0 server with a Virtual Directory called test. This
>virtual
> directory points to a share on the network, \\server1\share\ and uses a
> valid
> domain account in the "Connect As" field.
>
> From an IE browser, you can access the virtual directory without a
> problem.
> Howeve

Feb 3 '06 #4
How can I make the login credentials in the "Connect As" of that virtual
directory relevant in the code? If I attempt to access the virtual directory
directly, http:\\iisserver\test, I have no problem accessing the conntents of
\\server1\share\.

Syncing IUSR accounts is not an option in this specific case.

"Ray Costanzo [MVP]" wrote:
Although you have that share setup as a virtual directory with logon
credentials, when you attempt to access it that way, the logon credentials
for the virtual directory are in no way connected or relevant. Instead,
what you're doing is executing code that is running under your
IUSR_computername account (presumedly), and trying to access a network
share. You will have to use some other means of accessing that share, such
as by synchronizing IUSR_ accounts, manually, using a domain account for the
site/app/page that runs this code, or using basic authentication and using
your users' security tokens for accessing the share.

Take a look at the "If the file is within your LAN" section of
http://www.aspfaq.com/show.asp?id=2168

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
It is as follows:

dim fso,f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder( "\\server1\share\")


"Ray Costanzo [MVP]" wrote:
Show code up to line 10.

Ray at work

"john d" <jo***@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
>I have an IIS 5.0 server with a Virtual Directory called test. This
>virtual
> directory points to a share on the network, \\server1\share\ and uses a
> valid
> domain account in the "Connect As" field.
>
> From an IE browser, you can access the virtual directory without a
> problem.
> Howeve


Feb 6 '06 #5

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

Similar topics

10
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
3
by: Mike Kanski | last post by:
I get this error Microsoft VBScript runtime error '800a01fb' When i call LoadPicture method, or when i pretty much do any operation with PictureBox like setting width and height. It happened...
10
by: Seeker | last post by:
Hi! I have to do some developing and I'm trying to configure my server to mimic the operation of our production server. The issue I'm having is that I'm trying to use CDONTS to send an email...
1
by: PaulieS | last post by:
Hi all. Am migrating a customer from IIS5 on W2K server to IIS6 on W2K3. Zipped all the websites and unzipped them to the identical locations on new server. Used IISMT to migrate metabase. ...
2
by: anidmarty | last post by:
Hey I'm a Sysadmin and my users are getting this error on my production box. It works fine on the dev box. There is a script that is run that generates this error. Production is clustered...
0
by: =?Utf-8?B?TWF0dCBDYWxob29u?= | last post by:
HI there, I am getting an error on my page which calls up a web service. Microsoft VBScript runtime error '800a13ba' Unknown runtime error: 'SearchQueryXML' /SearchResults.asp, line 142
1
by: Concheso | last post by:
Hi there! I just created a login page. 1/3 of the login works fine, but some like "Lost Password" of "Admin access to add users" are not working. Any help will be great! The erros: On...
0
by: .nLL | last post by:
Erorr is --------------------- Microsoft VBScript runtime error '800a0046' Permission denied /a.asp, line 3 -----------------------
1
by: morrisqueto | last post by:
Hello, One of my websites just started sending a new rare error. The site has been working for almost 2 years without trouble, but today morning started giving away this error in all my views. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.