F
Fedroz
Hi!
Here is my problem:
I'm trying a simple script copied by MSDN for read a text
file and put the content on output web page!
I use the following code:
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\testfile.txt", ForReading)
response.write f.readAll()
f.Close
Set fso = nothing
Set f = nothing
It happens that the server goes in loop on the method
OpenTextFile.
The object FileSystemObject (fso) was correctly instanced,
but on the method fspenTextFile the system begin an
infinite loop!!!
So i tryed to reistall the scripting module downloading
from http://www.microsoft.com/downloads/...&DisplayLang=en
Once I've reistalled the .exe from Microsoft, and
resterted the server, all goes WELL!!!!
Marvellous!!!
But everytime I've to reinstall the scripting module and
restart the machine!!!!
(My configuration: w2k SP4 in English, Internet Explorer
6.0 sp1 IIS 5.0)
Any idea?
Thx!
Fedroz
Here is my problem:
I'm trying a simple script copied by MSDN for read a text
file and put the content on output web page!
I use the following code:
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\testfile.txt", ForReading)
response.write f.readAll()
f.Close
Set fso = nothing
Set f = nothing
It happens that the server goes in loop on the method
OpenTextFile.
The object FileSystemObject (fso) was correctly instanced,
but on the method fspenTextFile the system begin an
infinite loop!!!
So i tryed to reistall the scripting module downloading
from http://www.microsoft.com/downloads/...&DisplayLang=en
Once I've reistalled the .exe from Microsoft, and
resterted the server, all goes WELL!!!!
Marvellous!!!
But everytime I've to reinstall the scripting module and
restart the machine!!!!
(My configuration: w2k SP4 in English, Internet Explorer
6.0 sp1 IIS 5.0)
Any idea?
Thx!
Fedroz