error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!
From: Kim Noer (kn@comtec.dk)
Date: 08/16/02
- Next message: .Rob Dot: "Urgent !- Certificate Issue on IIS 5 with ISA server"
- Previous message: Al Kiazin: "403 error code."
- Next in thread: Ray Hu [MS]: "RE: error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!"
- Reply: Ray Hu [MS]: "RE: error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Kim Noer <kn@comtec.dk> Date: Fri, 16 Aug 2002 07:56:41 -0700
Hi there..
I'm having serious problems reading a simple text file from a network
share.
The schema is like this:
SERVER1, NT4, domain controller, supplier of text file
SERVER2, Windows 2000, Workgroup member, IIS server
WORK1, Windows XP, workgroup member
WORK2, Windows 2000, domain member
Now I want in an ASP application read the text file on SERVER1, using a
network share. If I try to access the test file from explorer, I'm
prompted with a user/password box. I usually use 'guest' for this, since
'everyone' got access to that file.
Now, consider this scenario in the IIS on SERVER2:
WebApplication -> Properties -> Directory Security -> Edit :
Anonymous Access box checked;
User Name : SERVER2\Administrator
Password : REALLYSECRET
Integrated Windows authentication box checked.
With this particular setup the following code fails when I try to read
the text file:
set fso = Server.CreateObject("Scripting.FileSystemObject")
'filespec = "\\SERVER1\shoplocal\database\readme.txt" <--1. NT4
'filespec = "\\WORK1\public\fixes.txt" <-2. WORKGROUP PC
'filespec = "\\WORK2\container\mail.txt" <--3. DOMAIN PC
set f = fso.OpenTextFile(filespec,1)
do while not f.AtEndOfStream
response.write f.readline & "<br>"
loop
f.close
Now with filespec 1 : I get the following error :
error '8007052e'
And that's it.
Filespec 2 :
No problem. This one work, probably because the file is located in the
workgroup, which the SERVER2 is a member of.
Filespec 3 :
error '8007052e'
Now. If I use the SERVER1\Guest Or administrator as IIS user, I get a
permission denied, on SERVER1, WORK1, WORK2.
I've even let the SERVER2 joined the NT4 domain, then all I get is
permission denied.
I seriously hope somebody can help me with this - else my head will pop
off.
-- If 0 thinks it looks like O, then 0 got a problem right?
- Next message: .Rob Dot: "Urgent !- Certificate Issue on IIS 5 with ISA server"
- Previous message: Al Kiazin: "403 error code."
- Next in thread: Ray Hu [MS]: "RE: error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!"
- Reply: Ray Hu [MS]: "RE: error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|