FSO does not complete on the server.

  • Thread starter MD Websunlimited
  • Start date
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>
 
M

MD Websunlimited

Boy I feel really dumb.

I had installed NAV 2005 upgrade about a week before SP2 and apparently had not done any FSO. I naturally associated the problem
with the last thing that changed.

Thanks again,

Mike
 
R

Ray Costanzo [MVP]

Nah, don't feel dumb! This is not one of the most obvious things around.
:]

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top