Menu

#9 key not in dictionary

open
nobody
None
5
2010-01-29
2010-01-29
No

thank you a lot for your job on this plugin but....
does'nt work for me, snif!
unable to login
windows 7 64b

************** Texte de l'exception **************
System.Collections.Generic.KeyNotFoundException: La clé donnée était absente du dictionnaire.
à System.ThrowHelper.ThrowKeyNotFoundException()
à System.Collections.Generic.Dictionary`2.get_Item(TKey key)
à GalleryInterface.Gallery2InterfaceManager.ConvertHttpResponseToGalleryData(Dictionary`2 responseItems)
à GalleryInterface.Gallery2InterfaceManager.RetrieveGalleryData()
à GalleryInterface.Gallery2InterfaceManager.ReloadGalleryData()
à WindowsLive2Gallery.ConfigurationForm.loginButton_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assemblys chargés **************
mscorlib
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PublishPluginsInterop
Version de l'assembly : 14.0.0.0
Version Win32 : 14.0.8081.0709_ship.wlx.w3m3 (ship)
CodeBase : file:///C:/Program%20Files%20(x86)/Windows%20Live/Photo%20Gallery/PublishPluginsInterop.DLL
----------------------------------------
msvcm80
Version de l'assembly : 8.0.50727.4927
Version Win32 : 8.00.50727.4927
CodeBase : file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5/msvcm80.dll
----------------------------------------
Microsoft.WindowsLive.PublishPlugins
Version de l'assembly : 1.0.0.0
Version Win32 : 14.0.8081.709
CodeBase : file:///C:/Program%20Files%20(x86)/Windows%20Live/Photo%20Gallery/Microsoft.WindowsLive.PublishPlugins.DLL
----------------------------------------
PublishOnGallery
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///D:/Program%20Files%20(x86)/PublishOnGallery/PublishOnGallery.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PublishOnGalleryDataModel
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///D:/Program%20Files%20(x86)/PublishOnGallery/PublishOnGalleryDataModel.DLL
----------------------------------------
GalleryInterface
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///D:/Program%20Files%20(x86)/PublishOnGallery/GalleryInterface.DLL
----------------------------------------
System.Configuration
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

Discussion

  • Damian Stalls

    Damian Stalls - 2010-04-05

    I get this same error with Windows 7 x64

     
  • David Dworin

    David Dworin - 2011-01-30

    I had this same problem and fixed it by making sure that all galleries had a title. The list of albums uses album title, and not name, but Gallery allows title-less albums. After that, everything seemed to work.

     
  • ashley jones

    ashley jones - 2011-11-30

    dworin was totally correct! I had this exact same error and his "no title" fix totally worked for me. For those running their own gallery server, I was able to quickly find the offending albums with this SQL:

    SELECT *
    FROM `g2_Item`
    WHERE `g_canContainChildren` =1
    ORDER BY `g2_Item`.`g_title` ASC

    Any album with a "g_title" that is empty is a problem album. Best to make edits the the UI, instead of SQL. Copy the ID from "g_id" and paste it into this format URL where my ID is 40358:

    http://GALLERYHOME/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemEdit&g2_editPlugin=ItemEditItem&g2_itemId=40358

    You can then safely edit the title to not be empty.

    Thanks again to dworin!

     

Log in to post a comment.

MongoDB Logo MongoDB