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 : Scripts Hang Indefinately With Online EditionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Scripts Hang Indefinately With Online Edition 
 Author   Message 
  AlexV 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-12-21 
 Profile
 Posted : 2006-12-21 07:22:12

I've setup QODBC to connect to my Online Edition of Quickbooks to test its functionality.

I've found any script I've written to run incredibly slow and seem to just hang indefinately.

Even the DisplaySQL.asp test script does not display but also does not display an error message.

Example script:

 Set Conn = Server.CreateObject("ADODB.Connection")
 Conn.CommandTimeout = 120
 Conn.ConnectionString=("Data Source=QuickBooks Data;OLE DB Services=-2;")
 Conn.open

Conn.Execute("INSERT INTO CUSTOMER (Name) VALUES ('Chicago Public Schools - 655')")
 response.write(Timer & "<br>")
 Conn.Execute("INSERT INTO CUSTOMER (Name) VALUES ('Chicago Public Schools - 656')")
 response.write(Timer & "<br>")
 Conn.Execute("INSERT INTO CUSTOMER (Name) VALUES ('Chicago Public Schools - 657')")
 response.write(Timer & "<br>")
 response.write("executed")

 Conn.close
 set Conn = nothing

I've tried this setup on 2 different servers with the same result.

While the page never actually loads for me to display anything, it does eventually execute the first INSERT into my Online Edition file so I know the connection was made to the Quickbooks server.

What is the standard time it takes to execute an INSERT command a connection to the Online Edition? Or a simple SELECT query with only a few results?

I'm using the Trial Version of QODBC...are there any restrictions with that, that could be creating this lag?

This product seems ideal for what I'm trying to do. I'd like it to post these transactions realtime but I at least need to get it working fast enough that I can have a script run overnight that would execute all the transactions I need to record.

Any help would be appreciated.

Thanks

-AlexV

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-12-21 08:19:21
Sorry, the use of Windows Services, such as IIS require the use of the QODBC DCOMs or the Remote Connector. As far as using the QuickBooks Online Edition, it's mean't to be configured as per: How do I use QODBC with QuickBooks Online? and it's meant to be used with Desktop applications only .... not web server based applications. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to