> I ran the code analyzer on our website and one of the errors it 
> came up with was the way the variables are used.
>
> It say dot notation for variable names can no longer be used. In
> my case I'm trying to set a property of a COM object. So:
> 
> <cfobject type="COM" name="MyObj" 
> class="ISSiebelCOMDev.clsISSiebelDev" action="CREATE">
>
> Then use dot notation here to set a property:
>
> <CFSET MyObj.SiebelDrive ="#request.sDrive#">
>
> I get this error. It maybe more than the dot syntax. 
>
> An exception occurred when accessing a Com object field.  
> The cause of this exception was that: AutomationException:
> 0x8002000e - Invalid number of parameters.

I don't have a solution for your problem, but I can tell you that your
problem has nothing to do with invalid use of dot notation; if the code
analyzer suggested that this was an error in this particular case, the code
analyzer has a bug.

You might look through what you find on http://support.microsoft.com/ when
you search for "Automation Exception", and you might see what happens when
you run this COM object from other COM clients. Maybe you've already run
this code successfully from CF 5, in which case this is a problem with
JIntegra; you might look on the JIntegra site then.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to