Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : DCOM connection errors only on workstationsSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 DCOM connection errors only on workstations 
 Author   Message 
  rcamaf 
  
 Group: Members 
 Posts: 1 
 Joined: 2009-02-21 
 Profile
 Posted : 2009-02-21 02:59:53

ERROR MESSAGES ON THE WORKSTATION:

OLE DB provider "MSDASQL" for linked server "QUICKBOOKS" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".

OLE DB provider "MSDASQL" for linked server "QUICKBOOKS" returned message "[QODBC] QB Open Connection Failed. Create DCOM Instance Error = 8000401a, Unknown error.. Created qbXMLRP2 OK.".

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "QUICKBOOKS".

OTHER INFORMATION

Using QODBC server edition in SQL Server 2005 with a linked database to QuckBooks Pro data located on a different server.  QuickBooks Pro is installed and open/running on the server under the Administrator's login.  SQL queries against QuickBooks data on the server work as expected.

However, on the workstation, when using either SQL Server Management Studio or Excel via SQL Native ODBC drivers, receive the error "Cannot initialize the data source...." as shown above UNLESS a remote desktop connection is open to the SQL server while the query is being run.

I used the automatic DCOM configuration tools, and I have also manually verified the DCOM permissions: INTERACTIVE, IUSR, REMOTE INTERACTIVE and even the two QuickBooks users are added with ability to launch and access locally and remotely, even though that shouldn't be necessary - I tried it anyway.

I have also verified all the same users have permission to read/write to the QODBC program location and the fixed location for the Optimizer file.

When the remote desktop session to the server is open - nothing is running on that desktop session except the QuickBooks Pro program itself.  Also, the desktop can be locked while the remote desktop session is open, and the queries will still work.  It's only when the session is disconnected that the error message returns.  When logged into remote desktop to the server, I am logged in as the Administrator.  But, when I run the queries on the workstation I use SQL Security in an effort to make sure I am not connecting to the database as the server Administrator unintentionally.

I would appreciate any suggestions at all.  I find this very odd.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-22 10:14:42
QODBC linked tables are local to the MS SQL Server only. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to