error '8007052e' and Microsoft VBScript runtime (0x800A0046) - serious problems!

From: Kim Noer (kn@comtec.dk)
Date: 08/16/02


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?


Relevant Pages

  • server access
    ... We are in the middle of a migration from NT4 to W2003. ... Server2 is Windows 2000 also running ... Server1 was brought online first then we added Server2. ... When I add an NT4 workstation to the ...
    (microsoft.public.windows.server.migration)
  • Re: permission denied when moving folder
    ... server2 share folder. ... The MoveFolder method is basically a "rename" method, ... Demonstration script that uses the FileSystemObject to move a folder ... Windows Server 2003 Yes ...
    (microsoft.public.scripting.wsh)
  • RE: Errors
    ... Server2 now acts as another DC for the same domain. ... Windows cannot query for the list of Group Policy objects. ... Microsoft Network Server: Digitally sign communications ... Should I run DCDIAG or NETDIAG? ...
    (microsoft.public.windows.server.general)
  • Errors
    ... Server2 now acts as another DC for the same domain. ... Windows cannot query for the list of Group Policy objects. ... Microsoft Network Server: Digitally sign communications ... Should I run DCDIAG or NETDIAG? ...
    (microsoft.public.windows.server.general)
  • Add permission servers not domains account show up
    ... I have an account on a Windows 2000 domain (PDC is ... Server1) but my home directory is on Server2 which is ...
    (microsoft.public.win2000.security)