[thelist] asp: FileSystemObject
Pearson, John
JOHN.PEARSON at eia.doe.gov
Mon Aug 13 14:23:49 CDT 2001
hard to believe but is WSH registered on the new server?
-----Original Message-----
From: Tab Alleman [mailto:Tab.Alleman at RealMetros.com]
Sent: Monday, August 13, 2001 2:59 PM
To: thelist at lists.evolt.org
Subject: [thelist] asp: FileSystemObject
I just switched to a new server and am getting errors trying to create a
file system object.. I can't think of what it is I'm forgetting to do to
allow me to instantiate them.
here is the code:
<%
Dim fso, LogFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set LogFile = fso.OpenAsTextStream(TNExceptionLog, 8, -2)
LogFile.WriteLine Now & "%TN%"
LogFile.Close
Set LogFile = Nothing
Set fso = Nothing
%>
and here is the resulting page:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
------------------------------------------------------------------------
--------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'Scripting.FileSystemObject'
/test/logtest.asp, line 6
----
Line 6 is:
Set fso = CreateObject("Scripting.FileSystemObject")
Any suggestions as to what could be causing it? I dont' think it could
be folder permissions, right, cause I haven't yet tried to actually
specify a path\file.
One final request.. could you all please cc: replies directly to me..
thelist stopped sending me mail for some reason, although the website
says I'm still subscribed. (?)
Thanks,
Tab
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list