Hi all.
I'm trying to read a text file that exists on the drive using the FileSystemObject object. For some reason, the ASP engine freezes when I call the OpenTextFile method.
I can create a new FileSystemObject object; However, in the next line, where an OpenTextFile method is implemented, it gets stuck. It doesn't matter if I specify a file by its full path or use Server.MapPath.
Why does it happen? Does it have anything to do with permissions? Also, I have an updated VB Scripting Engine (5.5). I even downloaded it and installed once again – and it doesn't seem to help my problem - still stuck when doing OpenTextFile calls.
I'm running Windows 2000 Server, and IE 5.5 is installed on the server.
By the way, when I use the FileSystemObject object for other tasks, such as checking for file existence (fs.FileExists()), it works fine.
Thanks in advance for your help.
I'm trying to read a text file that exists on the drive using the FileSystemObject object. For some reason, the ASP engine freezes when I call the OpenTextFile method.
I can create a new FileSystemObject object; However, in the next line, where an OpenTextFile method is implemented, it gets stuck. It doesn't matter if I specify a file by its full path or use Server.MapPath.
Why does it happen? Does it have anything to do with permissions? Also, I have an updated VB Scripting Engine (5.5). I even downloaded it and installed once again – and it doesn't seem to help my problem - still stuck when doing OpenTextFile calls.
I'm running Windows 2000 Server, and IE 5.5 is installed on the server.
By the way, when I use the FileSystemObject object for other tasks, such as checking for file existence (fs.FileExists()), it works fine.
Thanks in advance for your help.