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 : Problems ODBC Connection and install with SQL 2005 serverSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Installation Support Forum

 New Topic 
 
 Post Reply 
[1]  
 Problems ODBC Connection and install with SQL 2005 server 
 Author   Message 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-08 22:52:35
Hello,

I just downloaded and installed (tried to at least) the QODBC drivers for QB Enterprise Edition. I had a few issues I cannot resolve.

1) The read me shows the setup of a Linked Server and has specific settings that are not even listed in SQL 2005, so what do I do about this?

2) I downloaded and ran the qodbcSetDCOM.zip file, but nothing seems to have changed (for the better)?

3) In the Linked Server settings window you specify a Product Name, Data Source, Provider String, Location and Catalog, and in the read me the names are fairly generic, but these all need to point to specific named items and there is no reference on setting any of these items, that I can find. (so I am not sure I set them correctly)

Any help would be appreciated.

We are running a 180 evaluation version of SQL 2005 and  a 30 day version of QB. We are assessing the possibility of upgrading to QB Enterprise version, instead of changing to another product that will interface with SQL 2005.

Thanks,
Don 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-08 23:19:02

See: Does QODBC work with MS SQL Server Linked Tables? and How do I manually setup the QODBC DCOM Servers on Windows XP Pro and Windows 2003 Server? for more on DCOM setup.

You just need to setup the defaults for QODBC:

 

  Top 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-08 23:19:39
I am going thru the "How do I connect to QB the first time" post and I am getting an error not listed.

QB Begin Session Failed. Error = 80040410, The Quickbooks company data file is currently open in a mode othe than the one specified by your application.

????

Thanks,
Don 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-08 23:38:30

The opening mode is in the QODBC setup or connection string and includes multiple ways of opening a QuickBooks file:

  • Same as company file If you select “Follow Company File”, we will simply use whatever mode is currently set on the company file.
  • Multi-user mode Selecting “Multiuser Mode” will set the file to Multi-user status, where multiple users can update the file simultaneously.
  • Single-user mode If you require exclusive write access to the file (for record deletes), select “Single User Mode”.

 

  Top 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-08 23:56:04
Hi Tom,

Thanks, the "Same as Company File" setting got VB Demo connecting to my comapny Data file.

I am confused on what direction you are taking me.

I have the 'Remote Connector' working, but the other links you supplied lead me to setting up DCOM which it says will disable Remote Connection.

Also, the link you suppled " How do I manually setup the QODBC DCOM Servers on Windows XP Pro and Windows 2003 Server? " shows a SQL 2000 setup and the 'Provide Options' and all the specific settings are not available in SQL 2005.

I am getting close with your help, but I am still a little grey here.

Thanks,
Don
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-09 00:07:32

Sorry, using the QODBC Remote Connector as your connection method for your MS SQL Server 2005 Linked Server isn't going to provide you with adequate throughput.

See your MS SQL Server 2005 documentation for Linked Server instructions, from what I see on Microsoft.com they are similar. You just need to setup your defaults for QODBC.

 

  Top 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-09 00:51:42
Hi Tom,

I downloaded the MSI for SQL 2005. but the instructions for Linked Servers is weak and obscure.

Since I am not familar with what the settings in your read me are doing, I do not know where to start in the SQL 2005 setup screen.

If I go by the basic screen setup info you have (showing Product Name and Data Source) it sets up a Linked Server, but  I do not see any database info, just the parameters of the Linked Server. IE, I believe this is Junk setup since there is no connection to QB at all.

Is there any more info you can supply me?

At this point, I believe I am dead in the water with the solution.

Thanks,
Don 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-09 09:03:58

Please upload some screen dumps of your MS SERVER 2005 Linked Server setup to look at. Use the Insert/Edit image button and then click on "Browse Server" and "Browse" to locate the screen dump on your computer.

 

  Top 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-10 00:08:26














 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-10 12:11:59

Ok, you're just missing "QODBC" as the Linked Server name at the top. See if you can find where all the "Provider Options" for the Microsoft OLE DB Provider for ODBC Drivers have gone and post up the screen dumps of this also (as I will update the Does QODBC work with MS SQL Server Linked Tables? topic to show both SQL Server 2000 and SQL Server 2005 with a little help from you).

You will also need to specify the company file to open in QODBC and setup auto-login mode, see: How do I setup QODBC to auto-login into QuickBooks and start it if it's not running?  for these details.

 

  Top 
  Dmacman 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-08 
 Profile
 Posted : 2006-06-12 22:15:00



I did originally have "QODBC" as the name in the linked servers window, just missed it at the time of the snapshots (FYI).

Here are the provider windows you asked for.

I am making the revisions you suggested.

Thanks,
Don 

  Top 
  Jeremy 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-06-25 
 Profile
 Posted : 2006-06-25 14:29:02
with sql express 2005 and sql server management express, there is no "provider options" button to select before pressing OK.  niether is there a provider for OLE DB Provider for ODBC.

How about a real solution from the dev's 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-16 08:25:39

My understanding is that SQL Server 2005 does not have the property menu item on the Link Server providers like SQL Server 2000. The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In Object Explorer, right-click the provider name and select Properties. If you can't configure them through the UI as indicated in the directions you can script this action like this:

USE [master]
GO
EXEC master.dbo.sp_MSset_oledb_prop N'MSDASQL', N'DynamicParameters', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'MSDASQL', N'IndexAsAccessPath', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'MSDASQL', N'LevelZeroOnly', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'MSDASQL', N'NestedQueries', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'MSDASQL', N'NonTransactedUpdates', 1
GO

But you can also run the query directly without OPENQUERY like this:

SELECT ListID, Name, CompanyName FROM QODBC...Vendor

Some developers have also reported that their Ole Automation Procedures Option was turned off in thier SQL Server Surface Area Configuration.

To turn it on with a query, see:
http://msdn2.microsoft.com/en-gb/library/ms191188.aspx

which contains:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to