Re: Access to Remote Data Files with ASP VBScript
From: Alok Kumar (AlokKumar_at_discussions.microsoft.com)
Date: 01/15/05
- Next message: John Beschler: "Re: Reason: Not associated with a trusted SQL Server connection."
- Previous message: Bob Barrows [MVP]: "Re: Reason: Not associated with a trusted SQL Server connection."
- In reply to:(deleted message) Dr. Know: "Re: Access to Remote Data Files with ASP VBScript"
- Next in thread: Dr. Know: "Re: Access to Remote Data Files with ASP VBScript"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 15 Jan 2005 11:35:01 -0800
I am sorry. I just saw this. I responded to your other posting. look at the
respons in the other posting also.
I beileve the you need to have a domain level iusr account for this to work.
Also it appears that the 2 servers are in different domain.. is this correct?
Alok
"Dr. Know" wrote:
> Bob Barrows [MVP] said:
>
> Bob, Thanks for the guidance, again. But...
>
> >Bob Barrows [MVP] wrote:
> >> Dr. Know wrote:
> >>> And I would love to log on as the IUSR I created, but the computer is
> >>> 800 miles away... No one there has a clue as to what I'm talking
> >>> about... I have to administrate their computers via PCAnywhere.
> >>
> >> No! Log into YOUR machine as IUSR and try to test your UDL on YOUR
> >> machine.
>
> >I mean, log into your web server machine as IUSR ....
>
> I'm not quite certain what you mean by this - as it works fine here.
> But I DID try it here and it does work.
>
> In case there is some misunderstanding, we have 5 computers here. One
> is a Win2k server. The others are development machines - primarily
> for MS Access. We are part of the MS Partners Program.
>
> I have no problem getting the server here to run the script and access
> other local machines when a duplicate anonymous account is created for
> this app. on both computers. I've tried creating three different NEW
> users on the machines - they all work fine here.
>
> The customer is 800 miles away, and has many on-site machines.
> The two machines in question are are the web server, and the machine
> with the data files we are trying to access from IIS(ASP). Going
> through the EXACT same config steps there as here, it fails to work.
> They do NOT run a domain controller.
>
> I created another NEW duplicate anonymous account on both machines,
> works fine here, but not there. It makes no sense.
>
> Here is what I have done since posting this.
> To eliminate the DB drivers as a problem, I created a simple script
> that writes a small test file to a remote share
>
> <%
> Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject")
> Set MyFile = ScriptObject.OpenTextFile("\\DDMS\testfile.txt", 8,true)
> MyFile.WriteLine "*** Write file test ***"
> Myfile.writeline " file was written to at: " & Now
> Myfile.writeline " "
> MyFile.Close
> %>
>
> Works here, not there. I get (as expected) this error:
>
> Microsoft VBScript runtime error '800a0046'
> Permission denied
> /webuser/test.asp, line 3
>
> So, yes - you are right. It is a permissions issue.
>
> But why can I create a totally NEW duplicate account on two machines
> at our location and it works, but I do the EXACT SAME THING there and
> it doesn't?
>
> There is one odd thing...
> I ran the admin script ADSUtil.VBS script on the Web Server with the
> command:
>
> cscript adsutil.vbs get w3svc/anonymoususername and pass
>
> to retrieve the anonymous user account info, and it returns the
> administrator account info... The Admin account is not used as the
> IIS anonymous account anywhere on the system.
>
> I'm beginning to think something is hosed...
> They had this problem with another application, and finally gave up.
> This computer has been upgraded from Win98, to Win2000, to Windows
> Server2003 over the years - or so I'm told... Arrgghh....
>
> I'm so frustrated at this I could stick my head in a plastic bag - for
> about an hour... :-|
>
>
> Thanks again,
>
> Greg
>
>
>
>
>
>
>
>
>
> Dr. Know
>
- Next message: John Beschler: "Re: Reason: Not associated with a trusted SQL Server connection."
- Previous message: Bob Barrows [MVP]: "Re: Reason: Not associated with a trusted SQL Server connection."
- In reply to:(deleted message) Dr. Know: "Re: Access to Remote Data Files with ASP VBScript"
- Next in thread: Dr. Know: "Re: Access to Remote Data Files with ASP VBScript"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|