Article ID: 245485 - Last Review: February 24, 2004 - Revision: 4.1 PRB: Load From Stream Fails When Specifying MSPersist ProviderThis article was previously published under Q245485 On This PageSYMPTOMS 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: 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. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES For more information on the recordset persistence, please
refer to the Platform SDK for Windows 2000 or to the MSDN Library online.
| Article Translations
|
Back to the top
