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 : VScript suddenly failed with Error Code 80040408Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v9 Forum

 New Topic 
 
 Post Reply 
[1]  
 VScript suddenly failed with Error Code 80040408 
 Author   Message 
  Dilant 
  
 Group: Members 
 Posts: 3 
 Joined: 2009-02-07 
 Profile
 Posted : 2009-02-07 15:49:25
The vbscript capturing data and storing in CSV files had been working for a long time and then suddenly it stopped working. There are no changes made to Quickbooks application, the company file setup and the certifications for QODBC are still present.

Cleared QODBC Messages and Cleared Trace Log. SDK log mentions, "Could not create instance of QuickBooks. hr = 8004041C"

Current version of QODBC - 8
QB Enterprise Soln - Mfg & WhlSl Ed. 7 (two integrated apps accessible).
DB engine is 9.0.2.3267

Updated QODBC to version 9 without success.

Please help! 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-09 10:26:40
Error 80040408 - could not start Quickbooks. Make sure QuickBooks isn't running already. Also if you have upgraded QuickBooks, you will need a new QODBC CDKey Code. 

  Top 
  Dilant 
  
 Group: Members 
 Posts: 3 
 Joined: 2009-02-07 
 Profile
 Posted : 2009-02-13 09:21:16
A reinstall of the driver worked.
Now I have two instances of Flexquarters, both of which have signed certificate and have been granted with user access to log in automatically. Now the driver works only when QuickBooks is running, even though both instances have automatic access on and the DSN has automatic access turned on as well.
Any reason why this could be? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-13 10:05:29
As per How do I setup QODBC to auto-login into QuickBooks and start it if it's not running? if unattended mode doesn't work you need to move onto After upgrading to QuickBooks 2006, QODBC "auto-login" unattended mode no longer works? because you're using QuickBooks Enterprise 7 and Intuit only fixed their bug in QuickBooks Enterprise 8 R5 or later. 

  Top 
  Dilant 
  
 Group: Members 
 Posts: 3 
 Joined: 2009-02-07 
 Profile
 Posted : 2009-02-19 01:02:57
An alternate solution worked. Backup and restore the QBW file.

The restored file does not retain the certificate for remote QODBC connection. It retains only the fully-certified certificate. After restore, test QODBC connection with vb test application. This will prompt for certification in QB. Setup certificate and close QB. Remote connection now works. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to