T
TOP
tried to do the following:
<html>
<body>
<p>This is the test</p>
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
set fso = server.CreateObject("Scripting.FileSystemObject")
set f = fso.GetFile("D:\WWWHosting\site\test\testread.txt")
set ts = f.OpenAsTextStream(ForReading, -2)
TextStreamTest = ts.ReadLine
Do While not ts.AtEndOfStream
myText = myText & ts.ReadLine & vbCrLf
Loop
response.write(myText)
%>
</body>
</html>
but it did not work on any machine. - I have IIS 5.1, .Net Framework 1.1,
but IIS hangs up, Ihave to kill the IIS process, stop and restart does not
work. All Userrights are set for the IUSR_Machine UserID on the directory. I
have no idea why I fail, it worked fine in the past but I guess it was IIS
4.0 and no .Net Framework. By the way D:\WWWHosting\site is the root of the
Site
Does anybody has an idea ????
Please help!
--
Mit freundlichen Grüßen
Thomas Pecha
<html>
<body>
<p>This is the test</p>
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
set fso = server.CreateObject("Scripting.FileSystemObject")
set f = fso.GetFile("D:\WWWHosting\site\test\testread.txt")
set ts = f.OpenAsTextStream(ForReading, -2)
TextStreamTest = ts.ReadLine
Do While not ts.AtEndOfStream
myText = myText & ts.ReadLine & vbCrLf
Loop
response.write(myText)
%>
</body>
</html>
but it did not work on any machine. - I have IIS 5.1, .Net Framework 1.1,
but IIS hangs up, Ihave to kill the IIS process, stop and restart does not
work. All Userrights are set for the IUSR_Machine UserID on the directory. I
have no idea why I fail, it worked fine in the past but I guess it was IIS
4.0 and no .Net Framework. By the way D:\WWWHosting\site is the root of the
Site
Does anybody has an idea ????
Please help!
--
Mit freundlichen Grüßen
Thomas Pecha