Search  
Register   Login Thursday, August 13, 2020
 
ForumForumMy Photo Index ...My Photo Index ...Bug reportsBug reportsunhandled exception on load - same key?unhandled exception on load - same key?
Previous Previous
 
Next Next
New Post
 7/12/2008 6:22 AM
 

I get this error every time I try and run the program. I have even tried uninstalling and reinstalling the program. I then tried going through my registry and deleting every trace of the program I could identify. It STILL gives me this error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at MyPhotoIndex.ImageBank.Storage.LoadImageList()
   at MyPhotoIndex.Main.InitializeTagTreeAndImageList()
   at MyPhotoIndex.Main.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** 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
----------------------------------------
MyPhotoIndex
    Assembly Version: 1.21.3058.10807
    Win32 Version: 1.21
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.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
----------------------------------------
MyPhotoIndex.Utilities
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Utilities.DLL
----------------------------------------
MyPhotoIndex.Plugins.Manager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Plugins.Manager.DLL
----------------------------------------
MyPhotoIndex.Interfaces
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Interfaces.DLL
----------------------------------------
MyPhotoIndex.Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Controls.DLL
----------------------------------------
MyPhotoIndex.ImageBank
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.ImageBank.DLL
----------------------------------------
MyPhotoIndex.DataAccess
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.DataAccess.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
----------------------------------------
MyPhotoIndex.Plugins.Printing
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Printing.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.Facebook
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.Facebook.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.Facebook.XmlSerializers
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.Facebook.XmlSerializers.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.Flickr
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.Flickr.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.Flickr.XmlSerializers
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.Flickr.XmlSerializers.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.pic4u
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.pic4u.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.pic4u.XmlSerializers
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.pic4u.XmlSerializers.DLL
----------------------------------------
MyPhotoIndex.Plugins.SlideShowEffects
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.SlideShowEffects.DLL
----------------------------------------
MyPhotoIndex.Plugins.WebCommunity
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.WebCommunity.DLL
----------------------------------------
MyPhotoIndex.Plugins.WebCommunity.XmlSerializers
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.WebCommunity.XmlSerializers.DLL
----------------------------------------
pic4uApi
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/pic4uApi.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
----------------------------------------
MyPhotoIndex.XmlSerializers
    Assembly Version: 1.21.3058.10807
    Win32 Version: 1.21.3058.10807
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.XmlSerializers.DLL
----------------------------------------
System.Web.Services
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
MyPhotoIndex.Importer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Importer.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
MyPhotoIndex.Plugins.ImageFormatProviders
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Providers/MyPhotoIndex.Plugins.ImageFormatProviders.DLL
----------------------------------------
MyPhotoIndex.Plugins.ImageFormatProviders.Raw
    Assembly Version: 1.0.0.0
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Providers/MyPhotoIndex.Plugins.ImageFormatProviders.Raw.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.1433
    Win32 Version: 8.00.50727.1433
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2/msvcm80.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 

New Post
 7/13/2008 11:13 AM
 

Hi,

The index is not removed on uninstall (in order to save user work)

If you don't need the data, you can remove the index by deleting the index file from It's default location at:

C:\Documents and Settings\_user_\Local Settings\application Data\MyPhotoIndex\Data\MyphotoIndex.mdb

If you would like to keep the data then please send me this file so I can see what is wrong and fix it for you,

 

Sorry for the inconvenience,

Asaf.

Previous Previous
 
Next Next
ForumForumMy Photo Index ...My Photo Index ...Bug reportsBug reportsunhandled exception on load - same key?unhandled exception on load - same key?

 
Membership Membership:
Latest New User Latest: zampetta
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 683

Online Now Online Now:
 
del.icio.us del.icio.us | technorati technorati | reddit reddit | stumbleupon stumbleupon | facebook facebook | live live
Copyright 2006-2014 by My Photo Index - the free open source photo organizer