You receive an "unspecified error" error message when you try to open a query file that is under source code control in Visual Studio .NET (814681)
The information in this article applies to:
- Microsoft Visual SourceSafe, 32-bit, for Windows 6.0
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
SYMPTOMSIn Microsoft Visual Studio .NET, when you try to open a query file that is under source
code control, you receive the following error message: Unspecified Error CAUSEThis behavior occurs if the value of the Type property of the stored query is Text in
Microsoft Visual SourceSafe. When you first add a blank query to Visual SourceSafe from Visual Studio .NET, the query is detected as
text. However, because queries use Unicode text, if you modify the query later and then check it back in to Visual SourceSafe, the format of the query changes to Unicode text and the query becomes corrupted.RESOLUTIONWhen you modify the blank query and then check it in, you receive
the following warning message in Visual SourceSafe: The character
encoding for the file Local Path of Query File.dtq 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. After you close this message box, follow these steps:
- Open Visual SourceSafe Explorer.
- Right-click the query, and then click Properties.
- Change the value of the Type property from Text to
Binary.
- Click Close to save this change.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 4/14/2004 |
---|
Keywords: | kberrmsg kbprb kbUnicode kbDataObject kbSrcControl kbinterop KB814681 kbAudDeveloper |
---|
|