Microsoft Research Community

Welcome to Microsoft Research Community Sign in | Join | Rules
in Search

Error: The given key was not present in the dictionary

Last post 08-02-2008 4:21 PM by carukc. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-24-2008 3:07 PM

    Error: The given key was not present in the dictionary

     I keep getting this error when I launch WWT. I click continue and everything seems to be ok. I installed the hotfix from this forum and I've got the latest .NET framework, 3.5, installed.  I'm running Vista Business. I've checked for update in WWT/Settings and it reports that I have the latest installed. Can anybody help?

     

    Here's the full text of the error message:

     

    ************** Exception Text **************
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.ThrowHelper.ThrowKeyNotFoundException()
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at TerraViewer.Overview.ComputeDisplayParametersForThumbnail()
       at TerraViewer.Overview.ThumbnailAllConstellations()
       at TerraViewer.ContextPanel.ContextPanel_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    WWTExplorer
        Assembly Version: 2.1.8.1
        Win32 Version: 2.1.08.1
        CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20WorldWide%20Telescope/WWTExplorer.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.DirectX.DirectInput
        Assembly Version: 1.0.2902.0
        Win32 Version: 5.04.00.2904
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
    ----------------------------------------
    Microsoft.DirectX
        Assembly Version: 1.0.2902.0
        Win32 Version: 5.04.00.2904
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
        Assembly Version: 1.0.2902.0
        Win32 Version: 9.05.132.0000
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
        Assembly Version: 1.0.2911.0
        Win32 Version: 9.12.589.0000
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
    ----------------------------------------
    AstroCalc
        Assembly Version: 2.1.6.1
        Win32 Version:
        CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20WorldWide%20Telescope/AstroCalc.DLL
    ----------------------------------------
    msvcm80
        Assembly Version: 8.0.50727.762
        Win32 Version: 8.00.50727.762
        CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.762_none_10b2f55f9bffb8f8/msvcm80.dll
    ----------------------------------------
    WWTThumbnails
        Assembly Version: 2.1.1.0
        Win32 Version: 2.1.01.0
        CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20WorldWide%20Telescope/WWTThumbnails.DLL
    ----------------------------------------


    Filed under:
  • 05-27-2008 11:14 AM In reply to

    Re: Error: The given key was not present in the dictionary

    gsilverman:

     I keep getting this error when I launch WWT. I click continue and everything seems to be ok. I installed the hotfix from this forum and I've got the latest .NET framework, 3.5, installed.  I'm running Vista Business. I've checked for update in WWT/Settings and it reports that I have the latest installed. Can anybody help?

     

    Hi gsilverman,

    WWT requires Microsoft .NET Framework 2.0. Both 2.0 and 3.5 can coexist on the same computer.Smile

    Check out this post for help with this issue: http://community.research.microsoft.com/forums/t/1095.aspx

     

    Thank you,

     

    Chuck

     

    "The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!', but 'That's funny...'" Isaac Asimov
    WorldWide TelescopeWorldWide Telescope


    Microsoft Research
  • 05-27-2008 8:24 PM In reply to

    Re: Error: The given key was not present in the dictionary

     Hi, Chuck,

     So, are you saying WWT won't work with the latest version of .NET? That's scarry.

     

    Glenn... 

  • 05-27-2008 8:52 PM In reply to

    Re: Error: The given key was not present in the dictionary

     Hello, Chuck,

    I installled .Net 2.0 and still have the same problems.

     

    Glenn... 

     

  • 05-28-2008 12:00 PM In reply to

    Re: Error: The given key was not present in the dictionary

    gsilverman:

     Hi, Chuck,

     So, are you saying WWT won't work with the latest version of .NET? That's scarry.

     

    Glenn... 

     

    Hi Glenn,

     There is nothing scary about it, the two are mutually exclusive. We started developing WWT well before the release of Microsoft .NET Framework 3.5.

     

    Thanks,

     

    Chuck

     

    "The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!', but 'That's funny...'" Isaac Asimov
    WorldWide TelescopeWorldWide Telescope


    Microsoft Research
  • 08-02-2008 4:21 PM In reply to

    • carukc
    • Top 500 Contributor
    • Joined on 08-02-2008
    • Posts 1

    Re: Error: The given key was not present in the dictionary

    I am also having this problem plus WWT crashes if I browse to the southern sky.

    I am using Vista Home Premium, SP1, all recent updates.  I also just installed the .net 3.5 package because it says that it includes .net 2.0 SP1.

    I have had this problem since installing, several months ago.

    Thanks

    Chris

     

Page 1 of 1 (6 items)