I'm getting an error ("An exception occurred when instantiating a Com
object, The cause of this exception was that: AutomationException:
0x80040154 - Class not registered") when trying to instantiate a COM
object, but i only get it on some servers.

My laptop works fine, as does the test server and a couple of the live
servers. But the dev and a new live server are both giving the error
above.
(all are running CFMX6.1, with updater.
And win2003, except the laptop which is XPpro SP1)

a cfm file containing:
CreateObject("COM", "InternetExplorer.Application"):
throws the error on some of the servers (as listed above)

a .vbs file containing
Set o = CreateObject("InternetExplorer.Application")
doesn't throw an error on any servers. (if i change the object name
then it does throw an error)

Any ideas why creating COM objects in CF would work on some servers
and not on others?

Cheers
Bert

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5071
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to