[thelist] asp: FileSystemObject

Tab Alleman Tab.Alleman at RealMetros.com
Mon Aug 13 14:01:26 CDT 2001


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




More information about the thelist mailing list