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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject

Status
Not open for further replies.

TheBestOfMe

Programmer
Apr 7, 2002
21
CA
I made a cool script using FileSystemObject. It works perferctly on my development server and when I put it on the production server, it doesn't work. I can make a instance of the object, work with it (getFileName, getExtension, ...), but when I want to read or write a file, it doesn't work. I have no error message, but the script always run even passing throught the script timeout. I gave rights on scrrun.dll to IUSR and IWAN. I gave rights on the folder where the script is to IUSR. I searched everywhere I could and now I don't know what to do. If someone can help me, it would be great 'cause I passed 3 days searching to solve this problem.

Thanks.
 
It may help if we could see the part of the script that sets up the FSO and tries the reading/writing.
ASCII silly question, get a silly ANSI
 
Set fs=Server.CreateObject("Scripting.FileSystemObject")
set text_sort = fs.OpenTextFile("d:\ 2, true)

The syntax his not the error because even if I copy source code on msdn, the same error occurs (the script is running and running).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top