Article ID: 294966 - View products that this article applies to.
This article was previously published under Q294966
This article has been archived. It is offered "as is" and will no longer be updated.
If you issue a DbEngine.RepairDatabase method after you change your project references from Microsoft DAO 3.51 Object Library to Microsoft DAO 3.6 Object Library, you may receive the following error message:
Or, you may notice that the method is not available through IntelliSense when you issue a DbEngine.RepairDatabase method.
Error # 3251 was generated by DAO.DbEngine.
Operation is not supported for this type of object.
In Data Access Object (DAO) 3.6, the RepairDatabase method is no longer available or supported. This is by design to match Microsoft Jet 4.0.
If you need this functionality, you can use the CompactDatabase method, which also repairs a Microsoft Jet database.
Steps to Reproduce Behavior
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/230727/EN-US/ )INFO: Visual Studio 6.0 SP3 Readme: Part 4 - Visual C++
(http://support.microsoft.com/kb/230501/EN-US/ )HOWTO: Compacting Microsoft Access Database via ADO
Article ID: 294966 - Last Review: February 28, 2014 - Revision: 3.2
Contact us for more help