Dave... I checked my local httpd.conf file and it has this chunk of code: <IfModule mod_jrun.c> JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore "C:/phpdev/Coldfusion/runtime/lib/wsconfig/1/jrunserver.store" JRunConfig Bootstrap 127.0.0.1:51010 #JRunConfig Errorurl <optionally redirect to this URL on errors> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc </IfModule>
That last line seems to indicate that it allows CFCs to be run via the browser window? Would this affect creating a connection to the CFC via createObject? Because that method works fine on both local and remote. I'll ask my system guy to check for that line on our server's conf file. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 8:38 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of "running" it. > Does anyone know why this might be happening? Is there some > setting in cfadmin panel that might be causing this behavior? > When run via a standard function call, the cfc works just fine. This indicates that the connection between the web server and CFMX is not properly configured. Since you're using Apache, I think that the file extensions used by CF should be listed within your httpd.conf file. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243727 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54