Microsoft Knowledge Base Email Alertz

KBAlertz.com: Open/add from SourceSafe result in Unexpected error encountered

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Open/add from SourceSafe result in Unexpected error encountered

Article ID:952102
Last Review:April 23, 2008
Revision:1.1
Source: Microsoft Support

Back to the top

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.

Back to the top

Action

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

Back to the top

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

Back to the top

Cause





    The problem is the vssprovider.dll failed to load.

 

Back to the top

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

Back to the top

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>

 

 

Back to the top

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.

Back to the top


APPLIES TO
•Microsoft Visual Studio 2005 Professional Edition
•Microsoft Visual SourceSafe 6.0d
•Microsoft Visual SourceSafe 2005 Standard Edition

Back to the top

Keywords: 
kbnomt kbrapidpub KB952102

Back to the top

       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please