473,394 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

FSO does not complete on the server.

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
3 1133
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Todd Cary | last post by:
Some of my clients would like to have a way to update text and tables in their HTML pages without the need for or understanding of complicated updating programs. Does such a program exist? My...
4
by: Chris Tanger | last post by:
Context: C# System.Net.Sockets Socket created with constructor prarmeters Internetwork, Stream and TCP everything else is left at the default parameters and options except linger may be changed...
15
by: dee | last post by:
Hi, I'm curious why MS decided to have Transfer hide the target page's url invisible? Any guesses ? Thanks. Dee.
21
by: thomson | last post by:
Hi folks, Does any one have any idea which platform does GMAIL works, whether its JSP, ASPX or any other Regards thomson
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
4
by: Ryan Liu | last post by:
TcpClient has a method called GetworkStream GetStream(); So in other words, there is only one stream associate with it for input and output, right? So while it is receiving, it can not send, and...
15
by: Pucca | last post by:
I'm getting an error when I tried to use this BerConverter class in my C# code. Even though the Interent doc says that it runs on Win2000 sp4, I just thgouth I'll double check. Does anyone know...
5
by: Martin | last post by:
Hello NG, I've been doing some AJAX for a few weeks now. The basics worked fine so far, but now I've got the following problem which I can't solve: With AJAX you typically update/replace only...
130
by: Daniel Manes | last post by:
I'm baffled. I have a column in a SQL Server Express database called "Longitude," which is a float. When I view the table in a DataGridView, some of the numbers, which only have two decimal places...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.