PRB: Load From Stream Fails When Specifying MSPersist Provider (245485)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q245485 SYMPTOMS When you try to specify a connection string to use the
persist provider to open from a valid ADO stream object, you receive the
following error message: Run-time error '3001':
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another. CAUSE When a stream is used to open a recordset, there should be
no parameters specified other than the source parameter of the open method.
RESOLUTION Remove any parameter other than the source of the recordset
as follows:
rs.Open stm ' no other parameters should be specified
If you want to reconnect to a connection to allow updating, you
can associate an active connection after opening the Recordset. STATUS This behavior is by design. REFERENCES For more information on the recordset persistence, please
refer to the Platform SDK for Windows 2000 or to the MSDN Library online.
Modification Type: | Major | Last Reviewed: | 2/24/2004 |
---|
Keywords: | kbBug kbMSXMLnosweep kbnofix kbprb KB245485 |
---|
|