FIX: ADO 2.0: Open Connection May Succeed with Invalid Provider (245354)
The information in this article applies to:
- Microsoft Data Access Components 2.5
This article was previously published under Q245354 SYMPTOMS
If you specify a valid OLE DB provider in the ConnectionString property of a Connection object and then try to specify a provider that does not exist (or is otherwise not registered) on the system in the Provider property of the same Connection object, the Open method of the Connection object succeeds against the original provider.
RESOLUTION
The workaround for this code is to specify the provider in the ConnectionString property or on the Open method.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem is fixed in Microsoft Data Access Components 2.5 (MDAC 2.5).
The latest version of MDAC can be obtained from the following Microsoft Web
site:
REFERENCES
For more information, please refer to the Platform SDK for Windows 2000.
Modification Type: | Minor | Last Reviewed: | 4/22/2003 |
---|
Keywords: | kbbug kbfix kbMDAC250fix KB245354 |
---|
|