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
|
|
[QODBC] Installation incomplete on required module XERCES-COM.DLL |
Author |
Message |
Mike |
|
Group | : Members |
Posts | : 1 |
Joined | : 2007-10-03 |
|
Profile |
|
Posted : 2007-10-03 11:51:55 |
I am getting this error [QODBC] Installation incomplete on required module XERCES-COM.DLL. I've recently upgraded to Quickbooks Pro 2007, Vista, and am now running the latest version of QODBC. My Java application had been running on Quickbooks Pro 2004, XP, with the version of QODBC that I'd bought in 2004. And I had never gotten this error before now. Any ideas why this is now happening? Thanks, Mike |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-10-04 08:01:07 |
When using Microsoft Windows Vista, the Vista user account must have its User Account Control (UAC) set to On (as recommended by Microsoft). Both QuickBooks and the QODBC application accessing the SDK should be run with standard user permissions (NOT elevated to run as administrator). I can't see how anything using a Windows Service is going to run on Vista.
See: Microsoft Windows Vista Update Alert |
|
|
|
|
Posted : 2008-03-29 04:42:50 |
I am having a similar problem. I am trying to connect from another application (MATLAB), and receive the same "[QODBC] Installation incomplete on required module XERCES-COM.DLL" error.
You mention "Both QuickBooks and the QODBC application accessing the SDK should be run with standard user permissions (NOT elevated to run as administrator)." I cannot be logged in as a standard user, is there a say to have certain applications run with standard user permissions while you are logged in as an admin? Any suggestions you have would be great.
Thanks, Matt |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-03-29 07:38:27 |
Sorry, any application accessing QuickBooks via Intuit's qbXML SDK (like QODBC) must be run with standard user permissions (NOT elevated to run as administrator). It is possible to write a seperate program ( .EXE) to call Microsoft Vista elevated so a non-elevated application can access elevated processes like saving to the registry etc. |
|
|
|
|
Posted : 2008-05-13 07:40:47 |
Hi,
How does the VB Demo get around this issue? The Demo runs fine but the application that I'm building in C# is running into this issue.
Thanks in advance. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-05-13 10:09:56 |
VB Demo is a compiled application that's running with standard user permissions. Your C# application is running .NET with elevated components. I believe the programming team is building a Visual Studio helper to use with QODBC. |
|
|
|
|
Posted : 2008-05-13 23:41:52 |
Hi,
I have turned UAC on, and now the SDK Test+ that comes with the SDK works (it could not open a session before). Also, I have stolen some code from the QBFC template that detects whether I'm running in elevated mode in my application, but I'm still running into this error. Everything else (the Setup Screen, VB Demo, SDK Test+) seems to work but my simple test application won't. Here is my code snippet:
[STAThread] static void Main(string[] args) { try { OdbcConnection con = new OdbcConnection("DSN=Quickbooks Data;OLE DB Services=-2;OptimizerOn=Yes"); string sql = "select * from Bill"; con.Open(); ...
Here is the exception with the stack trace:
ERROR [S0000] [QODBC] Installation incomplete on required module XERCES-COM.DLL ERROR [S0000] [QODBC] Installation incomplete on required module XERCES-COM.DLL at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvir onmentHandle environmentHandle) at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvider Info, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConne ctionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.Odbc.OdbcConnection.Open()
Here is the log stating that UAC is on and I am not running as elevated:
Log file initialized at May-13-08 - 1:37 PM UTC Timestamp format used: YYYYMMDD.HH:MM:SS UTC "Synchronizer" version: 2.0, has been initialized with its logging status to _logLevel = VERBOSE.
20080513.13:37:50 UTC : [INFO] : Vista or Newer OS with UAC: True 20080513.13:37:50 UTC : [INFO] : UAC is enabled but NOT running as elevated
Please help! |
|
|
|
|