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 : I am getting the error: "Could not determine the version of the QuickBooks company data file"?Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 I am getting the error: "Could not determine the version of the QuickBooks company data file"? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-21 20:05:31
I am getting the error: "Could not determine the version of the QuickBooks company data file, or the data file has been modified and requires a newer version of QuickBooks". 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-21 20:05:49

There are usually three main reasons for this error:

a) QODBC was installed before QuickBooks was installed.
Fix: Re-install QODBC over the top of the previous install.

b) You are running muliple copies of QuickBooks on a network.
Fix: Make sure that the same updates and service packs have been applied to all copies of QuickBooks running on the network! It just takes one that's out of date to cause the error.

c) You used an UNC path (\\server\fileshare\filname) as the path to your QuickBooks Company.qbw file.
Fix: Use a normal drive path to your file server (ie: p:\quickbooks\company.qbw) in the QODBC Setup Screen.

 

  Top 
  jack 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-06-27 
 Profile
 Posted : 2006-06-27 10:25:57
I get this same error but only with a C# service I developed. The sample VB application that comes with QODBC works fine. After getting the error, I developed a small  C# application to test the Quickbooks connection and it works fine too. The two C# applications are literally using the same source code to access Quickbooks because I encapsulated the Quickbooks data access functions in a single C# DLL. I'm at a loss as to what could be causing this problem.

Any help would be greatly appreciated!!

Thanks in advance!

Jack 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-27 11:21:32

For applications that run as a service, QODBC unattended auto-login mode must also be operation,

see: How do I setup QODBC to auto-login into QuickBooks and start it if it's not running? 

and the QODBC DCOM servers need to be configured,

see: How do I automatically setup the QODBC DCOM Servers? 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to