This may be a dumb suggestion, but is there a chance that you have to
register the object locally before you can access it remotely; so the the
COM engine knows what it's talking to?

http://msdn.microsoft.com/library/en-us/script56/html/f5cd59db-46cf-4159-8cb
c-4d6292f81d42.asp?frame=true#script_componentsmiscregisteringforremot

[Sorry about the long MS URL]

Joel

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 1 June 2006 2:38 PM
To: cfaussie
Subject: [cfaussie] calling COM on a remote server.



We are looking to make the move to CF7.1 from 6.1 and the following
code is proving to be a problem.

<cfobject action="CREATE" context="REMOTE" server="192.168.0.101"
type="COM" name="talker" class={C89B6335-B690-11D5-8A14-00D0B790C084}>

In 6.1 CF connects to the com correctly on the other machine and we are
able to carry out the actions. We need this because we run 10 load
balanced CF machines, and the COM program is quite heavy so we cant
install it on all the machines.

On running this code on a cf 7 box I get the folowing:

 An exception occurred when instantiating a Com object.
The cause of this exception was that: AutomationException: 0x80040154 -
Class not registered.

The error occurred in C:\inetpub\wwwroot\testai.cfm: line 2

1 :
2 : <cfobject action="CREATE" context="REMOTE" server="192.168.0.101"
type="COM" name="talker" class={C89B6335-B690-11D5-8A14-00D0B790C084}>
3 :

Why does this work in 6 and not in 7?

Any healp GREATLY appreciated

Regards

Duncan







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to