It works by adding my cf user to dcomcnfg.
Thx everyone -----Original Message----- From: webguy [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 17:07 To: CF-Talk Subject: RE: CFObject Error A guess as I haven't done it in MX. Run dcomcnfg and add the user cf is running on to the access list. WG > Does anyone know why following code using CFObject > > <cfparam name="Attributes.ProgId" default="Microsoft.XMLDOM"> > <cfobject action="CREATE" class="#Attributes.ProgId#" type="COM" > name="XMLDoc"> > > gives following error > > Error Occurred While Processing Request > An exception occurred when instantiating a Com object. > The cause of this exception was that: AutomationException: 0x80070005 > - General access denied error. > > The error occurred in C:\Test\CFObject.cfm: line 2 > > 1 : <cfparam name="Attributes.ProgId" default="Microsoft.XMLDOM"> > 2 : <cfobject action="CREATE" class="#Attributes.ProgId#" > type="COM" name="XMLDoc"> > > > Shahzad Butt (Development Engineer) > > JJ FastFood Distribution Ltd. > Office: +44 (0) 1992 701 722 > Mobile: +44 (0) 7803 584 873 > Fax: +44 (0) 1992 701 604 > > 7 Solar Way, Innova Park, Enfield, London, EN3 7XY > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

