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
|
|
How do I run the QODBC Remote Connector from ASP.NET? |
Author |
Message |
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-24 17:06:31 |
Setup the Remote Connector on your server to startup using Task Scheduler on Windows Server.
When using QODBC on ASP.NET (C#), the following findings were found:
1. Querying QODBC with "SELECT * FROM Template" will result "web server unavailable" if connection string has "IBizRemoteForce2002_2003=No", then repeating same query with "IBizRemoteForce2002_2003=Yes" will be successful. Doing it the other way around, "Yes" first and then "No", will result to "table not found" and "Unavailable". Work around that we found is "No" first then use "Yes" all the time on all successding queries.
2. Using QODBC on ASP.NET is slow when retrieving field values. "SELECT * FROM Vendor" took ASP.NET to retrieve 3 to 5 second avg per record or row. But switching to ASPCompat="true" will yield 45 to 60 records per second. Retrieval using classic ASP is fine too.
----------------------------------------------- The following connection string was used during testing:
DRIVER={QODBC Driver for QuickBooks};OptimizerDBFolder=C:\Program Files\QODBC Driver for QuickBooks\Optimizer;IBizRemotePWD=123456;IBizRemoteConnect=Yes;IBizRemoteURL=http://192.168.1.10:2080; IBizRemoteConnTimeOut=120;IBizRemotePromptForPWD=No;IBizRemoteForce2002_2003=Yes; OpenMode=M;DFQ=C:\QBOOKS\DW.QBW;OLE DB Service=-2 ----------------------------------------------- |
|
|
|
|