none
Trying to uninstall or repair sql server express 2008 - I get the following error: The Given key was not present in the dictionary

    Question

  • Trying to uninstall or repair sql server express 2008 - I get the following error: The Given key was not present in the dictionary.  i have tried many things, reinstalling, etc, but nothing works.  i have a working version of 2008 express R2, but i want to remove the 2008 express.  any help would be appreciated.  i have pasted the contents of one of the logs below.

    Overall summary
      Final result:                  Failed: see details below
      Exit code (Decimal):           -71883602
      Exit facility code:            951
      Exit error code:               9390
      Exit message:                  The given key was not present in the dictionary.
      Start time:                    2011-04-05 23:04:06
      End time:                      2011-04-05 23:04:20
      Requested action:              RunRules
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20110405_230405\Detail_GlobalRules.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.4000.0%26EvtType%3d0xD6E5223B%400xD05BC945

    Machine Properties:
      Machine name:                  SAMSUNG_LAPTOP
      Machine processor count:       8
      OS version:                    Windows Vista
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No

    Product features discovered:
      Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             Database Engine Services                 1033                 Express Edition      10.2.4000.0     No       
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             SQL Server Replication                   1033                 Express Edition      10.2.4000.0     No       
      Sql Server 2008                                                          Management Tools - Basic                 1033                 Express Edition      10.50.1600.1    No       

    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation edition:          EVAL

    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:            
      FEATURES:                     
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      QUIET:                         False
      QUIETSIMPLE:                   False
      RULES:                         GlobalRules
      X86:                           False

      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20110405_230405\ConfigurationFile.ini

    Detailed results:

    Rules with failures:

    Global rules:

    There are no scenario-specific rules.

    Rules report file:               The rule result report file is not available.

    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented

    Exception type: System.Collections.Generic.KeyNotFoundException
        Message:
            The given key was not present in the dictionary.
        Data:
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Configuration.UIExtension.RegistrationService.GetRegistrationInfo[T](String moniker)
            at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceFactoryService.Create(String moniker)
            at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceService.Start(String moniker)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

    Wednesday, April 06, 2011 3:18 AM

Answers

  • Hi, 

    Can you try uninstalling in the following way ..

    Please refer the following MSDN Kb for reference : 

    http://support.microsoft.com/kb/955404

    Manually uninstall SQL Server 2008
    To manually uninstall SQL Server 2008, follow these steps:

     

    At a command prompt, type the following command, and then press ENTER:
    CD %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Release

    Type the following command, and then press ENTER:
    setup.exe /ACTION=uninstall /FEATURES=Feature_List/INSTANCENAME=Instance_Name

    -----------------------------------------
    Thanks,Suhas V 


    Wednesday, April 06, 2011 4:29 AM

All replies

  • Hi, 

    Can you try uninstalling in the following way ..

    Please refer the following MSDN Kb for reference : 

    http://support.microsoft.com/kb/955404

    Manually uninstall SQL Server 2008
    To manually uninstall SQL Server 2008, follow these steps:

     

    At a command prompt, type the following command, and then press ENTER:
    CD %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Release

    Type the following command, and then press ENTER:
    setup.exe /ACTION=uninstall /FEATURES=Feature_List/INSTANCENAME=Instance_Name

    -----------------------------------------
    Thanks,Suhas V 


    Wednesday, April 06, 2011 4:29 AM
  • This does not work for me:

    Error:

    SQL Server Setup failure.

    SQL Server Setup has encountered the following error:

    The given key was not present in the dictionary

     

    Still has vestiges of SQL 2008 and cannot uninstall from Control Panel without same message.

     

    Michael

    anothercalifornian @ msn . com

    Sunday, July 03, 2011 2:29 PM
  • Hi!
    You are probably not still stuck in the problem :-)

    But I write an answer in hope It can help others. I had the same problem. After a long discussion with Microsoft Support  I finally got the advice from a MS Support Technician to:

    * Go to REGEDIT and check if you have the key
    HKLM\SOFTWARE\Microsoft\OLAP Server\CurrentVersion

    * Rename the key and run the setup or uninstall again

    This helped me!

    Ignorant of Microsoft not to fix this problem or write a kb-article about this solution!

    Good Luck
    /Henrik

     

     

    Friday, February 03, 2012 2:27 PM