By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,469 Members | 2,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,469 IT Pros & Developers. It's quick & easy.

FSO does not complete on the server.

P: n/a
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>

Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
http://www.aspfaq.com/show.asp?id=2180

Ray at home

"MD Websunlimited" <no**@none.com> wrote in message
news:uX**************@tk2msftngp13.phx.gbl...
FSO hangs. For example, if you un-comment the OpenTextFile statement it
will hang.
Jul 21 '05 #2

P: n/a
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

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:O7**************@TK2MSFTNGP12.phx.gbl...
http://www.aspfaq.com/show.asp?id=2180

Ray at home

"MD Websunlimited" <no**@none.com> wrote in message news:uX**************@tk2msftngp13.phx.gbl...
FSO hangs. For example, if you un-comment the OpenTextFile statement it will hang.

Jul 21 '05 #3

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

Ray at work

"MD Websunlimited" <no**@none.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
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

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:O7**************@TK2MSFTNGP12.phx.gbl...
http://www.aspfaq.com/show.asp?id=2180

Ray at home

"MD Websunlimited" <no**@none.com> wrote in message
news:uX**************@tk2msftngp13.phx.gbl...
FSO hangs. For example, if you un-comment the OpenTextFile statement it
will hang.


Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Browse more ASP / Active Server Pages Questions on Bytes