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 : How can I see QuickBooks data in a Internet Explorer Browser using Windows XP?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 How can I see QuickBooks data in a Internet Explorer Browser using Windows XP? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-21 13:54:56
Viewing Live QuickBooks Data within your Browser
Running QODBC within your browser, whether it's an internal Intranet or on the World Wide Web, requires the Server Edition of QODBC. QuickBooks must be running with the company file opened on the system console. The QODBC Server Edition includes DCOM servers required to allow QODBC running as a system service to find the instance of QuickBooks running on the server console.
 
There isn't much required to view live QuickBooks Data within your Browser. You have two choices in setting up a Web Server. The first is using the QODBC DCOM Servers. The second is using the Remote Connector Option.

The DCOM Servers require QuickBooks to be running on the Server Console, not a Terminal Services session. They are more secure and require no extra overhead but are more rigid on how it is setup and it can be difficult to configure the security of the DCOM servers.

The Remote Connector option allows the window that is running QuickBooks to be anywhere that is accessible via TCP/IP. That means QuickBooks can be run in a Terminal Sessions window, on another computer on your LAN or anywhere on the WEB. If your data will be transmitted over the internet we recommend you upgrading the Remote Connector to the SSL secure version. The instructions on setting up the Remote Connector version are found in Using QODBC Remote.

QODBC Basic Setup For Using the DCOM Servers Method
You must turn on use of the DCOM servers. You do this by running the QODBC Setup Screen and selecting the "Server Edition" tab page. Check the checkbox for "Use DCOM Servers".

If you're working with the QuickBooks sample company file, this option is available to check even if you do not have a Server Edition license and will be ignored if you open a standard company file and do not have a QODBC Server Edition or evaluation.

Internet Information Server (IIS) Basic Setup
Ensure the following are installed and registered on your web server or even your notebook running Windows XP Pro :-

bullet Microsoft Internet Information Server (IIS5 or later)
bullet Uncheck the "Allow IIS to control password" setting for Anonymous access in IIS as shown here and set your own password.

bullet A supported version of QuickBooks 2006/07, 2005/06, 2004 and 2003 installed with your company file open (set the company file to Multiuser Mode)
bullet The QODBC Driver for QuickBooks installed and running in Server Edition mode (either as a 30 Day Server Evaluation or as a fully registered copy).
bullet You must create a system DSN, by default the DSN "QuickBooks Data" is created for you when QODBC is installed, but you can use any system DSN created for QODBC.
bullet If running ASPNET, make sure the .NET framework is loaded and patched to the current release level. Also verify that MDAC 2.6 or greater is installed.
bullet Give read and write rights to the QuickBooks application folder (normally C:\Program Files\QODBC Driver for QuickBooks\) to the Anonymous web user IUSR_, ASPNET user and INTERACTIVE. This allows for creation and update of QODBC trace and message logs and allows access to the DCOM server executables. To get access to the security tab (assuming you have an NTFS partition) do the following:-
bullet In Windows Explorer go to "Tools | Folder Options..."
bullet Select the "View" tab
bullet In the list with "Advanced Settings", de-select "Use simple file sharing (Recommended)"

bullet Select "Ok"
bullet Now you can give IUSR_ all rights to the C:\Program Files\QODBC Driver for QuickBooks\ using the Security tab.

Automatic DCOM Configuration
Click here: qodbcSetDCOM.zip to download the following automated tools:-

bullet Dcpinst.exe is an installation setup for the automated DCOM configuration object. This needs to be run first and only once.
bullet QODBCSetDCOM.VBS is a VB script that uses the installed configuration object to setup the DCOM Servers. It will reset and automatically add all necessary security each time it is run. The script can be edited if you need to change the Accounts it is configuring.
bullet The new settings will not take affect until the DCOM servers (qbXMLRPeQODBCInteractive.exe and qbXMLRP2eQODBCInteractive.exe) are removed from memory. Rebooting is the simplest way to accomplish this, but running the Windows Task Manager and Ending Process on any running copies will also work.
bullet Test your DCOM setup using one of the following:-
bullet IIS users download: TestDCOM.ASP
bullet PHP users download: TestDCOM.PHP
bullet Cold Fusion users download: TestDCOM.CFM

Setting up "Auto-Login" Unattended Mode
Locate the "QODBC Driver for QuickBooks" program group on your desktop. Click on the "QODBC Setup Screen" icon to launch the setup program supplied with QODBC.

 

The following general setup screen will become available. Check the Locate a company file: option. This allows you to setup the full path to where your QuickBooks data file resides. For example: “C:\Program Files\Intuit\QuickBooks Pro\Myapp.qbw”.

The [Browse] button will let you choose your QuickBooks company file from the folder it is in.

To use the QODBC auto-login unattended mode you must specifiy the full path of the QuickBooks company file you wish to connect to.

The Advanced tab in QODBC Setup v6 Build 148 and later now has new defaults for Integrated Application Defaults Authorization popup settings. These settings are only available to USA QuickBooks 2005 and USA QuickBooks 2006 users, otherwise they are greyed out. Use these settings to allow "auto-login" with or without a visible QuickBooks User Interface.

 

You will also have to authorize QODBC to login to QuickBooks automatically. To do this you must start QuickBooks as the Administrator. Go to the "Edit-Preferences" menu item in QuickBooks. Then select the "Integrated Applications" icon from the left side.

Then highlight one application (usually FLEXquarters QODBC) and press the "Properties" button and click on the Company tab. Check the "Allow this application to access this company file".

And check the "Allow this application to login automatically" and select a user from the "Login As" drop down. You will need to repeat this for all the applications on the list that you use.

Sample File: qbcust.asp
Now you're ready to try using QODBC within your browser, but first you will need a webpage to test! Download the following example by clicking here: qbcust.zip. Open the zip file and extract qbcust.asp. Save the file on your Local Disk in the \Inetpub\wwwroot folder as shown here:

Launch your browser (making sure QuickBooks is currently running on your computer with your company file open) and run the example by entering the following URL in your browser :-

http://localhost/qbcust.asp

The following should be displayed on your browser (with your data) :-

Further examples of how to create invoices, purchase orders, payments, credits etc. can by found directly on our QODBC Sample SQL Scripts webpage.

QODBC also supports the printing of all the QuickBooks Reports through the ODBC Interface, see our webpage on Data Schema REPORT DETAILS for all the sp_reports (stored procedure reports) that may be accessed including information about the columns and the parameters for each report. Read more

 

  Top 
  jeff 
  
 Group: Members 
 Posts: 76 
 Joined: 2006-06-03 
 Profile
 Posted : 2006-08-17 07:08:14

According to the article below there are two methods of getting qb data to show in an internet explorer window. The first method is to use the DCOM Server method and the second is to use the remote connector.

According to your pricing the DCOM Server license costs US$499. If I need to use the remote connector to get data to the websever then I need an additional US$499 just to show QB Data on a web page. Thats too much cost for a software product.

What are my other purchasing options? Can I purchase a read/write license for both computers at US$199 each and use the remote connector? I have turned off the DCOM Server check box in the qodbc settings and my remote web server still works fine using only the qodbc remote connector.

Finally, what are my options for OEM packaging. I read on your web site that you can offer discounted prices if the driver is only going to be used in a single application or packaged software. This is the case for my company. We will only redistribute qodbc for use with our web application.

 

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

As already stated, you have two choices in setting up a Web Server. The first is using the QODBC DCOM Servers (QODBC Server Edition). The second is using the Remote Connector Option (QODBC Desktop Edition). If you choose to use the Remote Connector Option, you don't require the Server Edtion, just a DeskTop Edition. Users who have compared both options have however reported that performance is slower using the Remote Connector.

For sales questions, please call the Sales office for your region directly:
USA: FLEXquarters.com LLC on: 800-932-6448 or +1 248-360-7842
Asia Pacific: Data Access Worldwide on: (03) 9761 3644 or +61 3 9761 3644
UK: Architectronic Ltd on: 0845 638 3730 or +44 (0)845 638 3730

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-03-15 16:10:31

A web application runs queries as multiple treads, and the QODBC optimizer is single user only. So you need to setup a different optimizer file for web applications to use than the other disktop applications. To do this, set 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 IIS (Internet Information Server) to use (like: C:\Program Files\QODBC Driver for QuickBooks) instead of the default %UserProfile% method.

If your web application writes information into QuickBooks, you will need to use a different DSN/optimizer location for each instance of the web application or turn off the QODBC optimizer.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to