ACC97: Err Checking Out Data Object with Linked Exchange TableLast reviewed: May 12, 1997Article ID: Q163278 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. If you have a database under source code control with Microsoft Visual SourceSafe, and the database contains links to a Microsoft Outlook or Microsoft Exchange folder, when you check out Data and Misc. Objects you may receive one of the following error messages
Table 'ExchangeTable000' already exists -or- Table 'MSysExchangeColumns' already existswhich is followed by
Failed to import file '<Database Name>' into Microsoft Access.After these errors, checking out Data and Misc. Objects stops, and any remaining tables in the database are not imported from Visual SourceSafe. NOTE: The Source Code Control component of Microsoft Access 97 is included with the Microsoft Office 97 Developer Edition Tools. This article assumes that you are familiar with using the client-side capabilities of Visual SourceSafe. For more information about Visual SourceSafe, please refer to the "Visual SourceSafe User's Guide" or Help topics available from the Visual SourceSafe Help menu.
CAUSEWhen you check out the linked Microsoft Exchange or Microsoft Outlook table, it creates new system tables in the Microsoft Access database. When Visual SourceSafe tries to import the original system tables with the same name, an error occurs and check out stops.
RESOLUTIONThe resolution contains two parts. First, you must recover data and design changes if you can. Second, you must prevent the error from occurring when you use links to Microsoft Exchange or Microsoft Outlook folders.
Recovering Data After the ErrorData and Misc. Objects contains the following Microsoft Access database components: tables, relationships, user-defined toolbars and menus, database properties, startup properties, import/export specifications, Microsoft Visual Basic project references, the project name of the database, and conditional compilation arguments. If you created the table links before you added the database to Visual SourceSafe, when the error occurs you must restore the database from a backup if there are any tables or other objects that are missing from the database. Because all of the Data and Misc. Objects are stored in Visual SourceSafe as a single binary object, you cannot retrieve missing objects individually. If you do not have a backup, delete the linked Microsoft Exchange or Microsoft Outlook tables, and then recreate any missing data, tables, table design changes, or other components. If you created the table links sometime after you added the database to Visual SourceSafe, and if Visual SourceSafe is configured to retain a history of your modifications, you can recover some or all of the data by following these steps:
Preventing the Error from OccurringThe only way to prevent the error is to name your links to Microsoft Exchange or Microsoft Outlook folders so they appear alphabetically after MSysExchangeTables. A good rule of thumb is to name those links starting with the letter N or higher. When you check out Data and Misc. Objects, the tables are imported alphabetically; if your linked tables start with the letter N or higher, the Microsoft Exchange system tables will already exist in the database when the linked table is imported by Visual SourceSafe. When the links are refreshed, Microsoft Access uses the existing system tables and does not try to create new ones.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen you first link to a Microsoft Exchange or Microsoft Outlook folder, three system tables are created in your database to manage the link: MSysExchangeColumns, MSysExchangeTables, and ExchangeTable000. Each subsequent link creates one new incremental system table: ExchangeTable001, ExchangeTable002, and so on. When you check in Data and Misc. Objects, Visual SourceSafe stores those system tables with your other tables. When you check out Data and Misc. Objects again, if your linked table occurs alphabetically before ExchangeTablexxx or MSysExchangeColumns, it is imported before those system tables. Because they don't exist in the database, those system tables are recreated when the table link is refreshed. Then Visual SourceSafe tries to import the copy of those system tables it has stored, and an error occurs because the tables already exist.
Steps to Reproduce Problem
REFERENCESFor more information about installing and using the Microsoft Outlook/Exchange driver, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q159322 TITLE : ACC97: Paradox, Lotus, & MS Exchange/Outlook ISAMs in ValuPack ARTICLE-ID: Q161173 TITLE : ACC97: MS Exchange ISAM Driver Requires Manual Registration ARTICLE-ID: Q161174 TITLE : ACC97: Sample Procedure to Attach a Microsoft Outlook FolderFor more information about Microsoft Access system tables, search the Help Index for "system tables," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: outlook exchange isam vss mail mapi attach
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |