Microsoft KB Archive/122981

{|
 * width="100%"|

Save to Database Error Message When Saving a Second Time

 * }

Q122981

-

The information in this article applies to:


 * Microsoft Project for Windows, version 4.0

-

SYMPTOMS
In Microsoft Project version 4.0 for Windows, the second time you save a project file to a database, you may receive the following error message:

This file was last saved to database with a different name:

Press Yes to overwrite the existing project.

Press No to save this project as a new project.

CAUSE
This message will occur if either of the following conditions is true:


 * You have moved the file since the last time it was saved.
 * You are running Microsoft Project in a network situation that does not support the universal naming convention (UNC) standard and the database file was saved to a network drive.

WORKAROUND
To avoid receiving the error message, follow the appropriate procedure below.

If you have moved the file since the last time it was saved
Place the correct file name and path text into the project summary task Text2 field before you save the file to a database. To do this, create a Microsoft Project macro that contains the following code:

ActiveProject.Text2 = ActiveProject.Fullname

If you are running Microsoft Project in a network situation that does not fully support the universal naming convention (UNC) standard
In the WINPROJ4.INI file, set the Store Net Names= parameter to No. The WINPROJ4.INI file is stored in the Windows directory.

When you change the Store Net Names= parameter to No, Microsoft Project will store a drive letter and path to the file in the Text2 field as in the following example:

"g:\user\bob\filename.mpp"

MORE INFORMATION
When the Store Net Names parameter is set to Yes, Microsoft Project will try to store a UNC name in the Text2 field of the Project Summary task. If the file is then saved from another user's computer, but the file location hasn't changed, then the message should not be generated.

If, however, UNC names are not supported correctly, one user's machine may not return a correct path and filename for the current location, so the message will be generated.

If a second user connects to the same network drive, but uses a different drive letter for the connection, the message will be generated when you try to save the file to a database. The error message is generated, because the current machine determines that the file is stored on a particular drive (the 'K' drive for example).

Steps to Reproduce Behavior

 * 1) In Microsoft Project, create an MPP file on a local hard drive and save the file to a database format.
 * 2) Close the file in Microsoft Project.
 * 3) Move the MPP file to a new location on the local hard drive.
 * 4) In Microsoft Project, open the MPP file.

When you attempt to save the MPP file to a database a second time, you will receive the error message.

Additional query words: SaveToDatabase

Keywords : kbnetwork kbusage

Issue type : kbprb

Technology :