I am attempting to create a COM object from a remote source in Coldfusion and I’m running into a lot of errors. I am running 32 bit coldfusion because 64 bit does not support COM objects so I know that isn’t the issue.
My question is can I specify a port in the server path in a <cfobject> tag?
I currently have (and yes, for the example I’m pointing to localhost):
<cfobject name="QBSession" type="COM" class="{6C8E45LC-B9MM-22LR-A223-50BMGBD45ACP}" action="create" context="remote" server="http://127.0.0.1" >
Can I put server="http://127.0.0.1:80"? Or will this cause further issues. I want to be able to specify a single port for the server to listen to for added security.
Thanks in advance!
Well, the answer seems to be that you cannot specify a port when creating a COM object.
The 64-bit question is still unanswered. I haven’t found Adobe documentation supporting nor denying my earlier assertions, I have only found web posts that support it.
The other interesting thing is that apparently CF does not like to instantiate COM objects on different servers. Meaning I cannot pull an object from one server and instantiate it on another. I’m sure some of you knew this already but I am putting this up as a reference for all of us who didn’t.
Hope this helps.