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

Problems with the FileSystemObject/TextStream Object.

Status
Not open for further replies.

sizeof

Programmer
Jul 11, 2001
4
IL
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top