[QODBC-Desktop] Create DCOM Instance Error = 80070005
Posted by Juliet (QODBC Support) on 25 June 2010 09:15 AM
Troubleshooting: Create DCOM Instance Error = 80070005
All worked fine on QuickBooks and QODBC version 9, integrated into a web shipping system hosted on XP PC. After upgrade both QuickBooks and QODBC to version 10, I got the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
Reset permission on the DCOM objects using the tool manually did not help. But can run the TestDCOM.ASP and get successful messages on all things tested. Use the VB sample program to query data just fine. However, anything through IIS, like DisplaySQL.ASP and qbcust.asp will produce the above error.
Somehow something is not 100% set correctly. You might try re-registering the DCOM items and setting them up again. Below are the lines to run at the Windows Start -> Run prompt:
"C:\Program Files\QODBC Driver for QuickBooks\qbXMLRPeQODBCInteractive.exe" /UnRegServer
Then manually set up the DCOM settings again. Make sure you are in the Console session when running dcomcnfg. (Not Terminal serviced in).
When using Remote Desktop Connection, DCOM will work only if the user is connected to remote desktop & user session is active. If the user is disconnected & session is active, then DCOM will not work. User connection & session, both should be active (Session will be either console or any other session).