Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject trouble accross Domains.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
Okay... stilll having problems. Got Domain1\Webserver and Domain2\FileServer. (Yes the files must remain here for our production software.)
I have given IUSR_PCName (Anony web user accnt) Full Permissions to the share and the folder/files. The IUSR accnts a mirrored on both domains. Same User/Pass. I get the message Path not found when my script runs. Is there a way to better track why I am not seeing this? I tried Auditing on the file and server, but nothing shows up... I can't figure out if this is permissions, poor coding (the same script runs from my test system, on the same domain of the FileServer). Any ideas. How can I get more info on why this is not working?

Dim objFSO, objFolder, strPhysicalPath
strPhysicalPath = "\\Dell2400\KPDP2\Layouts\"
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Next line gets the error.
set objFolder = objFSO.GetFolder(strPhysicalPath)
 
Try making an account on "Domain1", we'll call it "myInternetUser". Go to "Domain2\Fileserver", and give the necessary permissions to "Domain1\myInternetUser". Then, in your IIS:Internet Services Console, set the web-directory, or ASP page to use the domain account "Domain1\myInternetUser", then try your scripts.

It sounds like you're trying to use passthrough authentication, and that's just not a reliable way to go.

Just a thought... hope it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top