M
MD Websunlimited
It seems that since we installed SP2 for XP that using FSO hangs. For example, if you un-comment the OpenTextFile statement it will hang. I've checked permissions and IUSR_XXXX has everything needed.
Thanks,
<%
response.buffer = false
response.write server.mappath("config.asp") & "<br>"
Set FS = CreateObject("Scripting.FileSystemObject")
if IsObject(FS) then
response.write "Got FSO<br>"
else
response.write "No FSO<br>"
end if
'Set WriteFile = FS.OpenTextFile(sever.mappath("test.txt", 2,true)
'WriteFile.WriteLine("<" & chr(37))
set FS = Nothing
set WriteFile = Nothing
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>File Wrote</title>
</head>
<body>
<%
response.write server.mappath("config.asp") & "<br>"
%>
File Wrote
</body>
</html>
Thanks,
<%
response.buffer = false
response.write server.mappath("config.asp") & "<br>"
Set FS = CreateObject("Scripting.FileSystemObject")
if IsObject(FS) then
response.write "Got FSO<br>"
else
response.write "No FSO<br>"
end if
'Set WriteFile = FS.OpenTextFile(sever.mappath("test.txt", 2,true)
'WriteFile.WriteLine("<" & chr(37))
set FS = Nothing
set WriteFile = Nothing
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>File Wrote</title>
</head>
<body>
<%
response.write server.mappath("config.asp") & "<br>"
%>
File Wrote
</body>
</html>