|
I posted about this same issue a few days ago and got some
responses. Thank you. I have made some progress but am still
struggling to make this work. I have an asp page that does exactly what I
need, no problem, but the CF equivalent does not work. See code
below. Can someone tell me what the difference is between the processes
that asp and cold fusion run in? Is there any way for me to troubleshoot
this issue? What does the fact that it runs in asp tell me?
Anything? Can I assume that it should run in cf also?
I have an asp page with the following code on
it.
Set ZP4 = Server.CreateObject("zp4ipcom.zp4com") Works great. On a .cfm page I have: <CFSET zp4 = CreateObject("com", "zp4ipcom.zp4com") /> This does not work and I get the following error. Error Occurred While Processing Request An exception occurred when instantiating a Com object. The cause of this exception was that: java.lang.NullPointerException. Why doesn't the cf code instantiate the com object correctly? Would it have something to do with permissions. Do asp pages run different than .cfm pages in a security context or something like that? What exactly are the differences between the asp code and the cf code? Any help is appreciated. TIA, ---------------------
David Mineer ---------------------
Don't wish it was easier; wish you were better. Don't wish for less problems; wish for more skills. Don't wish for less challenges; wish for more wisdom. |
- RE: [CFCDev] ASP Server.CreateObject vs CF cfobject David Mineer
- RE: [CFCDev] ASP Server.CreateObject vs CF cfobject Roland Collins
- Re: [CFCDev] ASP Server.CreateObject vs CF cfobjec... David Mineer
- Re: [CFCDev] ASP Server.CreateObject vs CF cfobjec... David Mineer
- RE: [CFCDev] ASP Server.CreateObject vs CF cfo... Roland Collins
