Problem in using MSDASQL (ODBC) provider
From: Ganga Sridhar (gangasridhar_at_abosoftware.com)
Date: 08/03/04
- Previous message: Dave: "XP manifest and SQLManageDataSources"
- Next in thread: X. Zhang: "RE: Problem in using MSDASQL (ODBC) provider"
- Reply: X. Zhang: "RE: Problem in using MSDASQL (ODBC) provider"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 3 Aug 2004 22:37:06 +0530
Platform : WindowsXP, MSAccess2000, MDAC2.5
Hello,
A client of ours is facing a problem when the following code is getting
executed on his system
HRESULT hr;
// Create an instance of the MSDASQL (ODBC) provider
hr = CoCreateInstance(CLSID_MSDASQL, NULL, CLSCTX_INPROC_SERVER,
IID_IDBInitialize, (void**)ppIDBInitialize);
The HRESULT returned is -2147024769
Our application uses certain System DSNs created in ODBC manager to connect
to our databases.
The only problem I am able to suspect on the user's system is that probably
his ODBC drivers are not properly installed or registered. Are there any
other suggestions as to what could be the problem?
We tried reinstalling MDAC2.8 and reinstalling MSAccess on his system but
still the problem persists. We learnt from Microsoft site that ODBC driver
don't get updated in MDAC2.8.Also MDAC2.5 does not get installed on the
WindowsXP system as it is detected to be installed already. Is there any
separate redistributable available that would install the ODBC drivers and
register them on the client system? Any pointers or suggestions would be of
great help.
Thanks and Regards
Ganga
- Previous message: Dave: "XP manifest and SQLManageDataSources"
- Next in thread: X. Zhang: "RE: Problem in using MSDASQL (ODBC) provider"
- Reply: X. Zhang: "RE: Problem in using MSDASQL (ODBC) provider"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|