Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rob Watt 2 posts 22 karma points
    May 30, 2012 @ 12:03
    Rob Watt
    0

    Exception Details: System.ArgumentException: An item with the same key has already been added

    I'm getting the following error when installing the skin. It's clear that the key has already been written into, I'm guessing - the database, or a new page.

    Umbraco won't fully install because of this error. I can access the backend (Content Manager).

    I'm using Windows Server 2008 R2 Enterprise with Microsoft SQL Server. I originally set up the site with Visual Studio and have also tried IIS 7. This error is produced when using IIS. When using Visual Studio, the page doesn't produce an error, but doesn't complete the installation either and reverts back to the "Install A Skin" page.

    Which table of the database must I go to, to remove the duplicate data so I can re-run the skin installation and proceed?

    Is there another way to fix this?

    I have trawled the web and so far been unsuccessful - your help is greatly appreciated.

     

    Please see error below:

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Server Error in '/' Application.

    An item with the same key has already been added.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An item with the same key has already been added.

    Source Error:

     

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [ArgumentException: An item with the same key has already been added.]
       System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +12679472
       umbraco.cms.businesslogic.packager.Installer.LoadConfig(String tempDir) +1747
       umbraco.presentation.install.steps.Skinning.loadStarterKitDesigns.SelectStarterKitDesign(Object sender, EventArgs e) +378
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +155
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

  • N a s 2 posts 22 karma points
    May 31, 2012 @ 03:05
    N a s
    0

    I got this same error on a fresh installation this afternoon using a fresh set of downloaded bits, a fresh database, fresh security permissions (hint: admin/dbo all around).  What's worse, the only values in the non-umbraco-prefixed database tables are ContentTypes-related... so I believe that's where the problem is, but I didn't go so far as to delete all contents to get an empty db stomach :)

Please Sign in or register to post replies

Write your reply to:

Draft