What's the error? I've noticed COM problems in general when the VM usage
gets to around 750+ MB..

Darryl

-----Original Message-----
From: Steve Onnis [mailto:[EMAIL PROTECTED] 
Posted At: Wednesday, 4 June 2003 3:07 PM
Posted To: CFAussie
Conversation: [cfaussie] Issue since updater 3
Subject: [cfaussie] Issue since updater 3


I set up this script to return a list of directories using the COM
method and now it dies when I run it on a machine with updater 3
installed

Has anyone else come across this?


<CFTRY>
    <CFOBJECT TYPE="COM" CLASS="Scripting.FileSystemObject" NAME="FSO"
ACTION="CONNECT">
  <CFCATCH type="ANY">
    <CFOBJECT TYPE="COM" CLASS="Scripting.FileSystemObject" NAME="FSO"
ACTION="CREATE">
  </CFCATCH>
</CFTRY>

<cfscript>
        function getSubFolders(Folder)
                {
                thisFolder =
FSO.getFolder(Replace(Folder,"\","\\","ALL"));
                thisSubFolders = thisFolder.subFolders;
                return thisSubFolders;
                }
</cfscript>

<cfset getSubFolders("c:\inetpub\wwwroot\")>

This is the error i get

An exception occurred when executing a Com method.
The cause of this exception was that: AutomationException: 0x800a004c -
.


Regards
Steve Onnis


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to