Open/add from SourceSafe result in Unexpected error encountered

Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Action

    Attempted to add or open a project from Visual SourceSafe using Visual studio 2005.

Result



Add a project under source  produces the error:


"Unexpected error encountered. It is recommended that you restart the application as soon as possible."


Error: Access is denied.


File:vsee\pkgs\vssproviderstub\cvssproviderstubpackage.cpp


Line number: 545


 


 


Open a project under source control, you get a message:


 "Unexpected error encountered. It is recommended that you restart the application as soon as possible.


Error: No such interface supported


File vsee\internal\inc\vscomptr.inl


Line number: 256

Cause





    The problem is the vssprovider.dll failed to load.


 

Resolution



Remove vssprovider.dll from the list of packages to skip by running:


devenv.exe /resetskippkgs


After running the above command you will be able to open Visual Studio normally without using the /resetskippkgs switch.


Note: You can add /log to generate a report


e.g.  devenv.exe /resetskippkgs  /log C:\devenv-log.txt

More Information



 Steps to repro:




    1.Using regedit create a Subkey named "Packages" under:






        HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0




 


    2.Create a subkey under Packages (above) with the name being the GUID of the package.


         e.g.


 


             {AA8EB8CD-7A51-11D0-92C3-00A0C9138C45}


 


 


    3. Create a DWORD value named SkipLoading and set to 1


         (This will disable that package from loading.)






    4. Launch Visual Studio 2005




    5. Attempt to add a project to SourceSafe (or attempt to open a project from SourceSafe)












        Note: If you run 




        e.g.  devenv.exe  /log C:\devenv-log.txt



        Activity log will report something like:




            <entry>


                <record>83</record>


                <time>2008/03/28 16:21:29.845</time>


                <type>Information</type>


                <source>Microsoft Visual Studio</source>


                <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>


                <guid>{AA8EB8CD-7A51-11D0-92C3-00A0C9138C45}</guid>


          </entry>


          <entry>


                <record>84</record>


                <time>2008/03/28 16:21:29.860</time>


                <type>Warning</type>


                <source>Microsoft Visual Studio</source>


                <description>Appid skipped the loading of package</description>


                <guid>{AA8EB8CD-7A51-11D0-92C3-00A0C9138C45}</guid>


          </entry>


 


 


DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.


TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Eigenschappen

Artikel-id: 952102 - Laatst bijgewerkt: 23 mei 2008 - Revisie: 1

Feedback