FileSystemObject ... need help

Results 1 to 2 of 2

Thread: FileSystemObject ... need help

  1. #1
    Join Date
    Dec 1969

    Default FileSystemObject ... need help

    sorry if you read this in the general post, but i haven&#039;t fixed the problem yet... <BR><BR>set fso = server.CreateObject("Scripting.FileSystemObject")< BR><BR>set tso = fso.CreateTextFile("c:pagessample.txt", true, false)<BR>tso.writeline "this was written at: " & now() & "."<BR>tso.close<BR>set tso = nothing<BR>set fso = nothing<BR><BR>the page just sits there when ran. no heavy cpu usage. my machine gives a beep when i run this script and then it nearly freezes up. no errors shown. i&#039;ve traced the problem to the tso (TextStreamObject) creation, when commented out it runs as expected. in desperation i re-registered the scrrun.dll to make sure something weird didn&#039;t happen. could i have made the problem worse by doing this?<BR>please, any help is appreciated, i&#039;m dead in the water.<BR><BR>justin

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject ... need help

    Maybe the IUSR (internet user) has no rights to create a file in that directory. Although I think you should get an error in that case.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts