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 : QBCust.asp Returns Error 8004041cSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 QBCust.asp Returns Error 8004041c 
 Author   Message 
  johnb 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-06-13 
 Profile
 Posted : 2006-06-13 05:31:24
I installed and tested QODBC on my development machine without issue, but installing it on a client's server is giving me some trouble.  Everything seems to be working okay EXCEPT qbcust.asp.  I've:

- Verified that all of the steps in the web installation page have been completed.
- Tested the connection from the DSN setup dialog.
- Tested the connection from the VB Demo app, using the same connection string as qbcust.asp.
- Made sure that the QB client had the company file open under the same (Admin) user account.
- Run the DCOM test page successfully.

That said, qbcust.asp throws the following error message at the point where it tries to open the ODBC connection:

"Begin Session Failed. Error = 8004041c, An internal QuickBooks error occurred while trying to access the QuickBooks company data file."

I'm pretty much out of ideas at this point, any help is appreciated. 

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

Close QuickBooks. If auto-login mode is setup correctly, qbcust.asp will fire up QuickBooks in background mode.

See: How can I see QuickBooks data in a Internet Explorer Browser using Windows XP? for further details.

 

  Top 
  johnb 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-06-13 
 Profile
 Posted : 2006-06-13 12:48:49
Okay, I did everything necessary to get auto-login working, now I'm getting a new error. :)

The error returned from ASP is:

Error = 80040424, QuickBooks did not finish its initialization. Please try again later.

I found the following in the SDK log:

========= Started Connection =========
Request Processor, QBXMLRP2 v4.0
Connection opened by app named 'FLEXquarters QODBC'
The file does not contain an Authenticode signature.
An internal error occured while looking for a running instance of QuickBooks. Cannot continue. hr = 80080005
Connection closed by app named 'FLEXquarters QODBC'
========= Ended Connection ==========
Callback not created: CoCreateInstance failed HRESULT=0x80040154
Callback not created: CoCreateInstance failed HRESULT=0x80040154
Callback not created: CoCreateInstance failed HRESULT=0x80040154

Hopefully that will provide some insight. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-13 13:59:29
Sounds like your client has more than one version of QuickBooks on the server or is already using a QuickBooks session in a Terminal Server or Citrix session. 

  Top 
  johnb 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-06-13 
 Profile
 Posted : 2006-06-14 03:10:07
I had that thought myself, but neither was the case.

Today, without changing anything, we're back to error 8004041c.  Color me confused.
 

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

Does the VB Demo connection using the SYSTEM DSN still work? Does it open QuickBooks in background mode and the company file if QuickBooks isn't running? If yes, then check your Windows event log for what the true "Windows" error is?

I also need to know what O/S your client's server is running? 

 

  Top 
  johnb 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-06-13 
 Profile
 Posted : 2006-06-14 13:26:38
Yes, the VB Demo connection works using the System DSN.  I had task manager up while it was running and QBW32.EXE and the QODBC DCOM process were running and were using the bulk of the CPU resources as the query executed.  I closed the demo app and killed both of the processes in TM, then ran QBCust.asp to see what happened.  Both processes started, but they only made use of the CPU for a second or two.

The OS is Windows 2003 Server. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to