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
|
|
Cannot get ASP Query and SQL OpenQuery to run |
Author |
Message |
|
Posted : 2007-03-14 03:03:24 |
I am running Windows 2003 server Small Business edition. I have QB Accountant Edition 2006 loaded and running. I have installed QODBC driver and had my ASP app able to query it. But it stopped working. So I reinstalled QODBC, went thru pages of your helpdesk on DCOM and the security settings (iusr_MachineName, ASPNET, interactive) and have not been able to get the ASP to work. I now have the linked SQL service working to where I can do some queries, but some fail. Here is the error I am getting, know that I have gone into the QB preferences and set these settings. I think it may have to do with my connection string, but I have tried a bunch of different combinations (as shown in your forum).
There was a problem running a DataLayer. The error was: OLE DB provider 'MSDASQL' reported an error. OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize returned 0x80004005: ]. [OLE/DB provider returned message: [QODBC] QB Begin Session Failed. Error = 8004041d, This application is not allowed to log into this QuickBooks company data file automatically. The QuickBooks administrator can grant permission for automatic login through the Integrated Application preferences. ] [OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed]
Thanks in advance.
James
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-03-14 11:52:24 |
|
|
|
|