Solved

QuickBooks/QODBC & Linked Server ?

Posted on 2010-08-25
7
1,265 Views
Last Modified: 2012-10-20
Using QB Pro 2010 on XP. SQL Server 2005 Express and SSMS 2008.
Installed QOBC, and it seems to work using the VB Demo. But when I tried creating a Linked Server, I followed the instructions to create a linked server, but it fails. I get this error:


The linked server has been updated but failed a connection test. Do you want to edit the linked server properties?

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "QODBC".
OLE DB provider "MSDASQL" for linked server "QODBC" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
OLE DB provider "MSDASQL" for linked server "QODBC" returned message "[QODBC] QB Open Connection Failed. Create DCOM Instance Error = 80070005, Unknown error.. Created qbXMLRP2 OK.
". (Microsoft SQL Server, Error: 7303)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4053&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476

------------------------------
0
Comment
Question by:Jess31
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:Sander Stad
ID: 33530271
It eems that something went wrong with the DCOM configuration.

Take a look on this page how to configure them: http://archive.qodbc.com/forum9862.html?homeinclude=topicdetails&forum_id=1&category_id=2&post_id=291
0
 
LVL 11

Expert Comment

by:stlinae
ID: 33533294
What version of the qODBC driver are you using? (Trial/read only/server edition?)
Is QB installed on the XP machine? The qODBC installed there too?
Where is the data file?
What program are you  trying to connect with?
0
 

Author Comment

by:Jess31
ID: 33539124
QODBC Driver is latest, and it is a trial. D/L it a few days ago.
QB is installed on XP as well as the QODBC, as well as the data file.
the VB Demo connects, and Test Connection from the ODBC configuration dialog works.
The problem is from the SQL Server (SQL Server 2008 Express) it won't connect.
I am not using any type of Internet / ASP / IIS - just trying to get my SQL Server to talk to QB.
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 11

Expert Comment

by:stlinae
ID: 33545801
0
 

Author Comment

by:Jess31
ID: 33665131
stlinae:
QODBC says that it can work on stand alone pc. Where did you that it needs to be installed on sever?
0
 
LVL 11

Accepted Solution

by:
stlinae earned 500 total points
ID: 33665194
Sorry, don't understand the question.

qODBC is actually a PC only application. It must be installed on whatever system is going to run it. Which also means, if you are going to run it on the server it must be installed there.
0
 

Author Comment

by:Jess31
ID: 33675721
but everything here is installed on same pc
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question