Knowledgebase
[QODBC-Desktop] XERCES-COM.dll Error: ActiveX component can't create object
Posted by brad waddell on 12 March 2009 05:21 PM

Troubleshooting: XERCES-COM.dll Error - ActiveX component can't create object

Problem Description

      If you run the TestDCOM.asp page supplied with QODBC, and get the following results:

      QODBC ASP DCOM Access Test Page QB2002QB2003QB2004DCOMCOMObject NameStatus • • • QBXMLRPEQODBCInteractive.exe Success • • • QBXMLRP.dll Success • • QBXMLRP2EQODBCInteractive.exe Success • • QBXMLRP2.dll Success • • • • XERCES-COM.dll Error: ActiveX component can't create object

      Current Logged on User is: xxxxx
      Authenticated user is: xxxxx

      Showing Xerces-COM.dll fails with "Error: ActiveX component can't create object".

Solutions

      It could be because the asp page is looking for:
      Set oXERCES = CreateObject("Xerces.DOMDocument.2.x.x").

      You need to change TestDCOM.asp to:
      Set oXERCES = CreateObject("Xerces.DOMDocument.2.5.0")
      or:
      Set oXERCES = CreateObject("Xerces.DOMDocument.2.6.0")   <<< for QODBC v8
      or:
      Set oXERCES = CreateObject("Xerces.DOMDocument.2.8.0")   <<< for QODBC v9

Depending on which version of Xerces-COM.dll you have your computer. It will then create the Xerces object correctly.

(201 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete the captcha below (we use this to prevent automated submissions).