Microsoft Research Community

Error: The given key was not present in the dictionary

rated by 0 users
This post has 5 Replies | 2 Followers

Top 150 Contributor
Posts 6
gsilverman Posted: 05-24-2008 3:07 PM

 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
----------------------------------------


Top 10 Contributor
Posts 187

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 Microsoft Research<

Top 150 Contributor
Posts 6

 Hi, Chuck,

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

 

Glenn... 

Top 150 Contributor
Posts 6

 Hello, Chuck,

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

 

Glenn... 

 

Top 10 Contributor
Posts 187

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 Microsoft Research<

Not Ranked
Posts 1

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) | RSS
©2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Feedback