Umbraco throwing a lot of exceptions Options
ddrayne
Posted: Tuesday, September 23, 2008 11:09:56 AM
Rank: Newbie

Joined: 7/28/2008
Posts: 24
Location: Edinburgh
Hi Folks

Our umbraco installation is throwing a lot of warnings like the following:

Code:

Item has already been added. Key in dictionary: 'ShortName'  Key being added: 'ShortName'

Exception information:
    Exception type: ArgumentException
    Exception message: Item has already been added. Key in dictionary: 'ShortName'  Key being added: 'ShortName'

Request information:
    Request URL: http://localhost/default.aspx?umbPage=/search-results.aspx&alttemplate=OpenSearch
    Request path: /default.aspx
    User host address: 127.0.0.1
    User: 
    Is authenticated: False
    Authentication Type: 



Has anyone seen this before? Apart from this unanswered post I couldnt find anything on community search. http://forum.umbraco.org/yaf_postst5696_Web-Event-warnings--Open-Search.aspx

Cheers,
Dan

drobar
Posted: Tuesday, September 23, 2008 3:02:59 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
The "Key in dictionary" message is usually caused by trying to install a package twice, resulting in duplicate settings in umbraco.

The likely candidates are:
1. duplicate template names
2. duplicate property names on a document type

Here is a link to more info and suggestions:
http://wibeck.com/articles/solve-umbraco-error-message-item-has-already-been-added-key-in-dictionary.aspx

cheers,
doug.

MVP 2007-2009 - Percipient Studios
ddrayne
Posted: Tuesday, September 23, 2008 4:54:27 PM
Rank: Newbie

Joined: 7/28/2008
Posts: 24
Location: Edinburgh
Thanks doug, I'll take a deeper look into the problem.

Cheers,
Dan
Ruben
Posted: Tuesday, September 23, 2008 9:53:19 PM

Rank: Fanatic

Joined: 12/21/2007
Posts: 301
Location: Belgium
drobar wrote:
The "Key in dictionary" message is usually caused by trying to install a package twice, resulting in duplicate settings in umbraco.


We really should add some meaningful exceptions there then...

Ruben Verborgh | Umbraco Core Developer
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.