FIX: You receive an error message when you check in certain types of binary files in Visual SourceSafe (317992)
The information in this article applies to:
- Microsoft Visual SourceSafe 6.0c, when used with:
- Microsoft Visual Studio .NET (2002), Professional Edition
This article was previously published under Q317992 SYMPTOMS
When you check in certain types of binary files, you may receive the following error message:
The character encoding for the file FileName has changed. For example, it may have changed from text to binary, or from ANSI text to Unicode text. Because your source control provider for this file may not be able to merge files with different types or encodings correctly, you may need to manually change the file type directly in the source control store to match the new encoding you have just saved.
CAUSE
The file type in Visual SourceSafe is set to text, even though the file type is binary.
RESOLUTION
To resolve this issue, follow these steps:
- Copy the file into your working directory.
- Your Visual SourceSafe Administrator must roll back the file to the previous version. To roll back the file, follow these steps:
- In the Visual SourceSafe explorer, right-click the file that you want to roll back, click Show History.
- Select the previous version of the file, and then click Rollback.
- Your Visual SourceSafe Administrator must change the file type to binary. To change the file type, follow these steps:
- In the Visual SourceSafe explorer, right-click the file that you want to change to binary, click Properties
- On the General tab, select Binary from the File Type list.
- Check out the file again from the Visual Studio .NET integrated development environment (IDE), and ensure that you click Overwrite.
- Copy the backup of the file from step 1 to your working directory, and overwrite the existing file.
- Check the file back in to the Visual SourceSafe database.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio .NET 2003.
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbvs2002sp1sweep kbfix kbbug kbpending KB317992 kbAudDeveloper |
---|
|