Scripting.FileSysteemObject

M

Marshall J

The following routine suddenly (after loading an MS Win2k
update yesterday) causes my system to hang using ASP and
IIS 5.0:

This is the text of 'debug.inc' which I read into my ASP
files as an include - then I can debug my ASP code, by
user, by setting the bolDebug to True or False in this one
file and scripting to the object.

When I set bolDebug=False my ASP pages work just fine
conversely it hangs when bolDebug=True. Does anyone know
of a change???

Thanks for your input...

-----------------------------------------------------------
[debug.inc]
<%
dim bolDebug
Dim strDebugLine
bolDebug=True

if bolDebug then
const ForAppending=8
dim sdir,objFSO, objTS
sdir = Server.MapPath(".") & "\debug_" & Session
("CentsUser_ID") & ".txt"
'Create our FSO and TextStream objects
Set objFSO = Server.CreateObject
("Scripting.FileSystemObject")
'Create the text file
Set objTS = objFSO.OpenTextFile
(sdir,ForAppending,True)
end if
%>
-----------------------------------------------------------
[sample code inside ASP page]

if bolDebug then
strDebugLine="cents_login.asp - Streaming Text
Created: " & Date & " - " & Time
objTS.WriteLine strDebugLine
end if
 
M

Marshall J

-----Original Message-----

Did you also install/reconfigure Norton, McAfee, etc.?

http://www.aspfaq.com/2180


.
Yes - good idea, but - I disabled the McAfee on-line anti
virus software, which I updated about the same time with a
new engine, but there is no change...When I set the
bolDebug=True then the system hangs on this script...?
 

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
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top