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/

Reply via email to