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 : QODBC Server Edition Driver and Crystal Reports ServerSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 QODBC Server Edition Driver and Crystal Reports Server 
 Author   Message 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-08 00:23:20

When I use the VBDemo32 program to Select SalesOrder information, only the Headings show and no data. Also this happens with Invoice data too. I have the driver set up using DCOM, with Crystal Reports Server, does anyone have any ideas why I can't get to the sales data.

Thanks

Glen

 

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-09 21:44:37

Crystal Reports Server runs queries as multiple treads, and the QODBC optimizer is single user only. So you need to setup a different optimizer file for the Crystal Reports Server to use than the other disktops applications. To do this step up a seperate System DSN (see: How do I create or configure a QODBC DSN? ) and specify a fixed location of the optimizer database folder for Crystal Reports Server to use (like: C:\Program Files\QODBC Driver for QuickBooks) instead of the default %UserProfile% method.

To repair the optimized SalesOrder and Invoice table you can run:

SELECT * FROM SalesOrder VERIFY WHERE TxnID = 'x'

and then:

SELECT * FROM Invoice VERIFY WHERE TxnID = 'x'

 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-12 00:08:36

Tom

Thanks for the information, one question, can  I run the Select Verify statement in Multi User mode or does everyone have to be out of the system.

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-12 07:35:24
Verify reoptimizes the QODBC optimizer table only. It doesn't do anything to QuickBooks. 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-13 02:10:39

Tom

I set up new System DSN and set up the Optimizer, ran the Select statements and still I get no SalesOrder or Invoice data. When I use the Desktop Driver, I get the SalesOrder and Invoice data without a problem.

Is there anything else I can try, because I really need to get this Crystal Server up and running. The reports do work for list data, so I know Crystal Server works.

Thanks for your support

Glen

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-13 07:32:14

Using Crystal Reports Server please try the following query statements using Add Command:

select * from Invoice unoptimized where TxnDate >= {d'2007-10-01'}

and if you get results, do:

select * from Invoice verify where TxnDate >= {d'2007-10-01'}

and then try:

select * from Invoice where TxnDate >= {d'2007-10-01'}

on its own.

 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-14 00:59:14

Tom

I got data with the Select Unoptimized statement, but nothing with the oter two statements. I did see that the OPT file grow to 41,000KB, and there was a Journal file, but it was not there at the end of the process.

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-18 01:12:14

I still can't get Invoice or SalesOrder data with the Server Edition driver? where do I go from here?

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-18 03:39:38

Tom

I noticed when I perform the Select Statement for Invoice or SalesOrder, Quickbooks shows Not Responding in Task Monitor.

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-18 07:42:32
Try going back to just using the Crystal Reports Designer and making sure that the reports work correctly when run in the report designer first. See: How do I use QODBC with Crystal Reports?  

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-19 23:45:51

Tom

When I run the report using Crystal Report Designer and trying to read Invoice or SalesOrder I get no data. And Crystal reports after running for a long time, show it is not responding in Task monitor. But using the desk top Qodbc Driver, I get the data without any problem.

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-27 07:19:27

Tom

Do you have anymore suggestions? I have tried everything, but I still can't get Sales Order or Invoice data.

 

Glen

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-28 16:40:24
Sorry I don't understand what you are saying. The Crystal Report Designer is normally run on a workstation using the QODBC Desktop Edition, while Crystal Server in run a Windows Server using the QODBC Server Edition. Crystal Server runs as a Windows Service, see: QODBC and Windows Service for more infomration. 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2007-12-29 01:41:01

Tom

Yes, the Workstation Edition is on a Desktop and it works great, but the Server Edition running Crystal server on a 2003 Windows server setup the way you showed in your last reply, I still can;t get Salesorder or Invoice data.

Glen

 

 

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-12-31 08:48:51
Have you installed QuickBooks, the QODBC Server Edition, specify a fixed location of the optimizer database folder and configured the QODBC DCOMs on the Windows 2003 Server as per QODBC and Windows Service correctly ? 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2008-01-04 03:22:01

Tom

I had it set it up according to the Document, and it still is not working. I am getting the following errors from DCOM.

Event Type: Error
Event Source: Application Hang
Event Category: (101)
Event ID: 1002
Date:  1/3/2008
Time:  11:06:24 AM
User:  N/A
Computer: NMC-CRYSTAL
Description:
Hanging application crw32.exe, version 11.0.0.1282, hang module hungapp, version 0.0.0.0, hang address 0x00000000.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 32
Date:  1/3/2008
Time:  10:59:38 AM
User:  N/A
Computer: NMC-CRYSTAL
Description:
Dependent Assembly Microsoft.VC80.MFCLOC could not be found and Last Error was The referenced assembly is not installed on your system.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date:  1/3/2008
Time:  10:59:38 AM
User:  N/A
Computer: NMC-CRYSTAL
Description:
Resolve Partial Assembly failed for Microsoft.VC80.MFCLOC. Reference error message: The referenced assembly is not installed on your system.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date:  1/3/2008
Time:  10:59:38 AM
User:  N/A
Computer: NMC-CRYSTAL
Description:
Generate Activation Context failed for C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_DEC6DDD2\MFC80.DLL. Reference error message: The referenced assembly is not installed on your system.
.

Where do I go from here.

Thanks

Glen


 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-04 09:37:16

You can check whether your DCOMs are working by using qbcust.asp found in How can I see QuickBooks data in a Internet Explorer Browser using Windows XP? Once that works you can try the Crystal Reports Server again.

 

  Top 
  Glen Brannigan 
  
 Group: Members 
 Posts: 14 
 Joined: 2007-05-30 
 Profile
 Posted : 2008-01-12 02:37:57

Tom

I checked out the Latest reply and Document and I still can't read SalesOrder or Invoice data. Is there any way I could get live help, beacuse this issue has been going on for over a month. Like I stated before I am an Application consultant and not a systems consultant.

Thanks

Glen

 

 

 
Glen Brannigan 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-12 10:45:27
Sorry, I can't resolve Crystal Reports errors when you haven't even said whether qbcust.asp works or not. Instead of saying I can't get data for the SalesOrder and Invoice table over and over again, you need you to configure QuickBooks, the QODBC Server Edition (with a valid license), auto-login mode for your company file and the QODBC optimizer and DCOMs on the server first. This most all be working correctly before any attempt to use Crystal Reports Server. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to