vss .vspscc file problem<p>I converted a vs 2003 project successfully int vs 2005 and have come across a puzzling problem.  When trying to check in a project I receive the following error:</p> <p>[project].vspscc cannot be checked in because it has different encoding and checked out multiple times.</p> <p>After successfully upgrading all developers were forced to attach to the new solution as if they were new users, that is, no one was allowed to update his/her local copy.  I assume the &quot;different encoding&quot; would refer to different .net versions but this doesn't seem to add up.  The vss analyze says there are no current problems.  Any advice would be greatly appreciated.</p> <p>Thanks,</p> <p>AJL</p>© 2009 Microsoft Corporation. All rights reserved.Thu, 02 Jul 2009 03:22:25 Zc616d8b7-890d-43fa-b6af-10a96619e47chttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#c616d8b7-890d-43fa-b6af-10a96619e47chttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#c616d8b7-890d-43fa-b6af-10a96619e47cLINAARhttp://social.msdn.microsoft.com/Profile/en-US/?user=LINAARvss .vspscc file problem<p>I converted a vs 2003 project successfully int vs 2005 and have come across a puzzling problem.  When trying to check in a project I receive the following error:</p> <p>[project].vspscc cannot be checked in because it has different encoding and checked out multiple times.</p> <p>After successfully upgrading all developers were forced to attach to the new solution as if they were new users, that is, no one was allowed to update his/her local copy.  I assume the &quot;different encoding&quot; would refer to different .net versions but this doesn't seem to add up.  The vss analyze says there are no current problems.  Any advice would be greatly appreciated.</p> <p>Thanks,</p> <p>AJL</p>Tue, 07 Mar 2006 21:10:47 Z2006-03-09T06:57:49Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#8a1cb0ed-6544-4d1a-92f3-723758469e4ahttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#8a1cb0ed-6544-4d1a-92f3-723758469e4aAlin Constantinhttp://social.msdn.microsoft.com/Profile/en-US/?user=Alin%20Constantinvss .vspscc file problem<p>Hi Ajl,</p> <p>I suspect you installed VSS2005, too. </p> <p>VSS2003 didn't recognized the [project].vspscc files as Utf-8, and treated them as Ansi; VS2005 recognized them as Utf-8, and doesn't allow you to checkin new versions when the file is multiple checked out. This is by design.</p> <p>What you can do is undo checkout of the file in the VSS database and leave the file checked out only once. Then use VS to checkin the changes to your solution. If there aren't changes to this file, VSS2005 will not change automatically the file type in teh VSS database. You can open the file's Properties dialog and manually change the type &quot;Ansi/Mbcs&quot; into &quot;Unicode (Utf-8)&quot;.</p> <p>Alin</p> <p> </p>Thu, 09 Mar 2006 06:57:42 Z2007-03-15T21:14:55Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#93b0700a-72f2-4b42-9369-b52ab73b8d82http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#93b0700a-72f2-4b42-9369-b52ab73b8d82Roco72http://social.msdn.microsoft.com/Profile/en-US/?user=Roco72vss .vspscc file problem<p align=left><font face=Arial size=2></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:Arial">VSS2005 original installation recognizes the [project].vspscc as Utf-8 file and doesn't allow you to checking new versions when the file is multiple checked out.</span><span style="font-size:10pt;font-family:Arial"></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">Solution: Install the </span><b><span style="font-size:10pt;color:black;font-family:Verdana">Visual SourceSafe 2005 Update CTP</span></b><span style="font-size:10pt;font-family:Arial"> at:</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"><a title="http://support.microsoft.com/kb/939808" href="http://support.microsoft.com/kb/939808">http://support.microsoft.com/kb/939808</a></span></p>Tue, 25 Sep 2007 23:41:39 Z2007-09-25T23:41:39Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#4667572e-a3a4-4dc8-801b-001d32447658http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#4667572e-a3a4-4dc8-801b-001d32447658Alin Constantinhttp://social.msdn.microsoft.com/Profile/en-US/?user=Alin%20Constantinvss .vspscc file problem<p align=left><font face=Arial size=2>Well, the [project].vspscc IS Utf-8 encoded, so there's no wonder VSS2005 recognizes it as such.</font></p> <p align=left>VSS2005 GDR CTP will recognize it the same as VSS2005 (if it does something else - that would be a VSS bug).</p> <p align=left> </p> <p align=left>Since I havent't seen anything in the MSDN article or in Richard's blog (<a title="http://blogs.msdn.com/richardb/archive/2007/06/06/list-of-bugs-fixed-in-sourcesafe-2005-gdr.aspx" href="http://blogs.msdn.com/richardb/archive/2007/06/06/list-of-bugs-fixed-in-sourcesafe-2005-gdr.aspx">http://blogs.msdn.com/richardb/archive/2007/06/06/list-of-bugs-fixed-in-sourcesafe-2005-gdr.aspx</a>) to indicate Richard made any change that will allow checking in files with encoding changed when they were multiple checked out, I just installed the GDR and tried: upgrading to the GDR build will not help you here..</p> <p align=left> </p> <p align=left>Alin</p>Wed, 26 Sep 2007 21:35:22 Z2007-09-26T21:35:22Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#f8d07471-b954-4319-963f-2d9047220e1fhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#f8d07471-b954-4319-963f-2d9047220e1fFlea_http://social.msdn.microsoft.com/Profile/en-US/?user=Flea_vss .vspscc file problem I was receiving the same error: <strong>'file' cannot be checked in because it has different encoding and checked out multiple times</strong>. My problem was actually with a web.config file (for the record, it had nothing to do with 2003 going to 2005, the config file was created in 2003 and I was editing it in 2003).<br><br>In source safe, I right clicked on the file and selected <strong>Properties</strong>. I <u>removed</u> the check from the <strong>Auto-detect encoding of local file</strong>  check box. I was then able to check in my file.<br><br>I just wanted to add this comment incase anyone else ever had something similar.<br><br>-Flea<hr size="1" align="left" width="25%">http://fleasharp.wordpress.comWed, 27 Aug 2008 14:01:40 Z2008-08-27T14:01:40Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#fd12d9ae-2435-4233-ad98-a948b854f88bhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/c616d8b7-890d-43fa-b6af-10a96619e47c#fd12d9ae-2435-4233-ad98-a948b854f88bCatherine Seahttp://social.msdn.microsoft.com/Profile/en-US/?user=Catherine%20Seavss .vspscc file problemThanks for the info, Flea.<br/><br/><br/> <hr size=1> Catherine Sea<br/><a href="http://www.dynamsoft.com">http://www.dynamsoft.com</a><br/><a href="http://www.scmsoftwareconfigurationmanagement.com">http://www.scmsoftwareconfigurationmanagement.com</a><br/>Thu, 02 Jul 2009 03:22:25 Z2009-07-02T03:22:44Z