Solved

QuickBooks/QODBC & Linked Server ?

Posted on 2010-08-25
7
1,309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
 
LVL 1

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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 11

Expert Comment

by:stlinae
ID: 33545801
0
 
LVL 1

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
 
LVL 1

Author Comment

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

710 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