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 : SQL Linked Server to QODBC DCOM with QB running as a serviceSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 SQL Linked Server to QODBC DCOM with QB running as a service 
 Author   Message 
  SBrickey 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-05-12 
 Profile
 Posted : 2007-05-12 05:50:37

Hello,

I am trying to get access to QB (2007) from our SQL server via a Linked Server, which may then be used by DTS/Stored Procs, called from a website

based on articles, DCOM seems like the best approach for multiple concurrent users...

To that end I've gone through the DCOM configuration, but it seems incomplete (only half works)...

How I'd like it to work:

QB2007 as a service (using srvany) - this can run as any user, if desired
ODBC connection using QODBC driver, connecting to QB2007 via DCOM
SQL Server 2000 connecting to Linked Server via ODBC connection

IIS website running sprocs which communicate to QB via linked server

(reason for this being that sprocs will provide atomic transactions between local SQL DB and QB, and QB as a service removes scripted logins and cleartext passwords)


So far, I've gotten QODBC installed, and when QB2007 is running
 (user instantiated, haven't gotten srvany set up yet),
 Query Analyzer/Enterprise Manager within my console session can access the QODBC linked server beautifully

however when I attempt to access QODBC linked server via QA/EM from a remote/network station, I get errors (800070005)...

I am happy to define specific user accounts for the roles (running QB as a service, etc)...
but I'm not sure which accounts need access where... the examples all focus on allowing IUSR access, but I'm not connecting to the ODBC from the website.

ideas?

thanks,
-Scott

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-12 07:57:46
Sorry, if you want remote/network stations to access the data, copy the linked QODBC tables to a SQL Database and access those directly from anywhere. The QODBC linked tables are a Local Database on your console only. 

  Top 
  SBrickey 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-05-12 
 Profile
 Posted : 2007-05-14 11:32:21

What would be required (file/DCOM security, accounts, etc) for a Windows Service (on the QB workstation with QODBC) to access the ODBC connection string?... preferably without requiring QB to instantiate (but as it seems such an option doesn't exist) or to allow QB to run as a service accessed by QODBC?

Thanks,
-Scott

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-16 23:32:52
QODBC talks to Intuit's qbXML SDK which is part of QuickBooks. We don't talk to the companyfilename.qbw file directly. QuickBooks can be run either as a foreground or a background task by a Windows service. Simply enable unattended mode as per: How do I setup QODBC to auto-login into QuickBooks and start it if it's not running? and configure the QODBC DCOMs for your service on your QB workstation. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to