Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Text files in IIS on local server


Message #1 by "Jim Andrews" <jim@t...> on Wed, 27 Mar 2002 22:39:11
I have used the following code to read a text files in ASP on the web:

Dim fs
set fs = Server.CreateObject("Scripting.FileSystemObject")
Dim stream
Set stream = fs.OpenTextFile("filename",1)

Wanting to do some debugging of a large ASP page on the localhost, I 
inserted the same code, but it will not run. All other ASP code works 
fine, but the "set stream..." line locks the system until timeout. I am 
using Windows 2000 Professional IIS. 

Any idea what I'm missing? 

  Return to Index