FIX: "Can't Save" Error Occurs When You Try to Save an ADO Recordset to a File (818518)
The information in this article applies to:
- ActiveX Data Objects (ADO)
- Microsoft Data Access Components
SYMPTOMSWhen you try to save an ADO recordset to a file that
was created by another user of the system, you may receive the following error
message: Run-time error '-2147286781
(80030103)': Can't save. You receive this error message if the application
is in a read-only folder, even if the recordset file
is in a folder that has write permissions for both users. CAUSEWhen you try to save the recordset to a file that
already exists, the recordset object creates a temporary file in the
folder of the application. This folder is a read-only folder. Therefore, the second user cannot overwrite the source file.RESOLUTIONThis problem is resolved in Microsoft Data Access Components (MDAC) 2.8. In MDAC 2.8, the ADODB
recordset creates the temporary file in the same folder as the destination file that
was used to save the recordset.
To download Microsoft Data Access Components (MDAC) 2.8, visit the following Microsoft Web site: Note Microsoft recommends that you test your application with MDAC 2.8 in a
test environment first, to make sure that you are aware of any compatibility
issues before you decide to use (or upgrade to) the MDAC 2.8
version. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
This bug was corrected in
MDAC 2.8.
REFERENCESFor more information about Microsoft Data Access
Technologies, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 10/1/2003 |
---|
Keywords: | kbProgramming kbDataObject kbfix KB818518 kbAudDeveloper |
---|
|