TMGR: Can't Open File with Same Extension as Current File (161818)



The information in this article applies to:

  • Microsoft Team Manager

This article was previously published under Q161818

SYMPTOMS

Attempting to open another file stored in the same folder and with the same base name as the current file results in the following error message:
The file you are trying to open may be damaged or in a file format that Microsoft Team Manager cannot use, or you are trying to open a file with the same name as the current file.
This will occur even if the filenames have different extensions.

CAUSE

The Jet database engine and Team Manager automatically try to create temporary database support files with extensions LDB and RLK in the same folder and with the same base name as the file you are attempting to open. But since the current file has the same base name as the one you are attempting to open, there are temporary files in the folder already open with the same filenames as the ones that need to be created.

For example, if the current file is C:\MyFiles\File1.mtp, then the temporary files C:\MyFiles\File1.LDB and C:\MyFiles\File1.RLK have already been created and are open. When you attempt to open C:\MyFiles\File1.BAK, it fails because the LDB and RLK files it needs to create are already open.

RESOLUTION

To resolve this problem use one of the following methods.

Method 1

Use the Open or New commands on the File menu to open or create a file with an MTP extension that has a different base name than the current file, and then open the file you originally tried to open.

Method 2

  1. On the Tools menu, click Options, then click the General tab and deselect the "Open last file at startup" option if it is currently selected and then Click OK.
  2. On the File menu click Exit. If asked if you want to save changes to the current file, click Yes or No as desired.
  3. Restart Team Manager. When the "What do you want to do?" dialog is displayed, click "Look for existing team file".
  4. In the Open dialog, from the Files Of Type list, select All Files. Switch to the folder containing the file you want to open, and double click the file.

    NOTE: If you deselected the "Open last file at startup" option in step 1, then it must be reselected if you want to use it.

STATUS

This behavior is by design.

MORE INFORMATION

A team file with an extension other than MTP cannot be created using the Save AS or New commands on the File menu. The only way a file could have a different extension such as BAK is to rename it outside of Team Manager.

For example, attempting to use the Save As command to save a file as File1.BAK will instead save it as File1.BAK.MTP.

Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kberrmsg KB161818