BUG: Connection Failure with ADO 2.1 and the Jet 3.51 ProviderID: Q229741
|
If you try to set read, write, or read/write access permissions using the ADO mode property within your connection string, you get the error:
However, if you use the Microsoft Data Link or the Data Environment designer to set these permissions, you get the following error:Run-time error: '-2147217887' "Errors Occurred"
Test connection failed because of an error in
initializing provider. 0x80040e21
Remove the "Share Deny None" mode option from your ADO connection string.
If you are using the Microsoft Data Link or the Data Environment designer, you can deselect the "Share Deny None" option from the Advanced tab.
-or-
Use the Jet 4.0 OLEDB Provider instead of the Jet 3.51 OLEDB Provider.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
For more information, please refer to the ADO documentation.
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Ammar Abuthuraya, Microsoft Corporation
Additional query words:
Keywords : kbADO210bug kbDataview kbOLEDB kbDataEnv kbGrpVBDB
Version : WINDOWS:2.1,3.51
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 26, 1999