An item with the same key has already been added. mscorlib (1 Viewer)

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    mediaportal-cvs-01-24-2006--01-08.rar WORKS
    mediaportal-cvs-01-25-2006--01-04.rar DOES NOT WORK
    any newer version CVS does not work

    the question is, WHAT changed between these version:

    ERROR/LOG
    2/13/2006 18:14:34 MediaPortal stopped due 2 an exception An item with the same key has already been added. mscorlib at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at MediaPortal.Profile.CacheSettingsProvider.Remember(String section, String entry, Object value)
    at MediaPortal.Profile.XmlSettingsProvider.Prefetch(RememberDelegate function)
    at MediaPortal.Profile.CacheSettingsProvider..ctor(ISettingsProvider provider)
    at MediaPortal.Profile.Settings..ctor(String fileName, Boolean isCached)
    at MediaPortal.Profile.Settings..ctor(String fileName)
    at MediaPortal.D3DApp..ctor()
    at MediaPortalApp..ctor()
    at MediaPortalApp.Main()


    MEDIAPORTAL.LOG
    2/13/2006 18:14:34 MediaPortal is starting up
    2/13/2006 18:14:34 Set current directory to :C:\WINXP\Program Files XP\Team MediaPortal\MediaPortal
    2/13/2006 18:14:34 verify that directx 9 is installed
    2/13/2006 18:14:34 verify that windows mediaplayer 9 or 10 is installed
    2/13/2006 18:14:34 Windows media player version:10,0,0,3802 installed
    2/13/2006 18:14:34 MediaPortal stopped due 2 an exception An item with the same key has already been added. mscorlib at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at MediaPortal.Profile.CacheSettingsProvider.Remember(String section, String entry, Object value)
    at MediaPortal.Profile.XmlSettingsProvider.Prefetch(RememberDelegate function)
    at MediaPortal.Profile.CacheSettingsProvider..ctor(ISettingsProvider provider)
    at MediaPortal.Profile.Settings..ctor(String fileName, Boolean isCached)
    at MediaPortal.Profile.Settings..ctor(String fileName)
    at MediaPortal.D3DApp..ctor()
    at MediaPortalApp..ctor()
    at MediaPortalApp.Main()
    2/13/2006 18:14:34 MediaPortal done
     

    idioteque

    Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    the problem was in the mediaportal.xml

    dont know what but replacing it with an older version did the trick
     

    Users who are viewing this thread

    Top Bottom