Microsoft KB Archive/883518

= FIX: You may experience file corruption when you change a file in the Visual Studio .NET 2002 IDE =

Article ID: 883518

Article Last Modified on 5/15/2006

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





SYMPTOMS
When you use IBM Rational ClearCase dynamic views to change a file that is located on a remote server, you may experience file truncation and data corruption. When you try to open a saved file, you may receive an error message in the Microsoft Visual Studio .NET IDE that is similar to one of the following:

Error message 1

Access Denied

Error message 2

The volume for a file has been externally altered so that the opened file is no longer valid. (Win32:ERROR_FILE_INVALID 1006, NTSTATUS:STATUS_FILE_INVALID 0xC0000098).



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Date        Time   Version            Size    File name

05-Aug-2004 20:28  7.0.9789.0      3,391,488  Msenv.dll After you apply the hotfix, you may receive the following error message:

fatal error C1033: cannot open program database.

To resolve this issue, follow these steps:
 * 1) Open Clearcase Home Base.
 * 2) Click the Administration tab.
 * 3) Click Control Panel.
 * 4) On the MVFS tab, click to select Case Insensitive MVFS. Case preserving will also be selected as soon as you click to select Case Insensitive MVFS.



MORE INFORMATION
When you experience this problem, you can edit and then save the file with no problem. However, when you reopen the file, you may receive one of the error messages that are mentioned in the &quot;Symptoms&quot; section.

You may also experience the following problems:
 * Additions to the file
 * Deleted data that is still present
 * Data that is missing from the end of the file

You do not experience this problem if you make a change to the file locally.

For additional information about ClearCase, visit the following Rational ClearCase Web site:

http://www-306.ibm.com/software/awdtools/clearcase/index.html

For more information about data corruption issues when you use ClearCase with Microsoft Visual Studio .NET 2003, click the following article number to view the article in the Microsoft Knowledge Base:

875516 FIX: The IBM Rational ClearCase remote view may cause file corruption in Visual Studio .NET 2003

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbbug kbfix kbqfe kbpending kbvs2002sp1sweep kbhotfixserver KB883518

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.