[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

UMBRACO Log Manager

Posted on 2013-01-16
1
Medium Priority
?
577 Views
Last Modified: 2013-01-23
Im trying to install the Log Manager package (http://our.umbraco.org/projects/developer-tools/log-manager) onto UMBRACO v4.7.0 and when I try to run it I receive the following error:   If anyone has any suggestions as to how I might fix it I would be very grateful.  Thanks


[ArgumentException: An entry with the same key already exists.]
   System.Collections.Generic.SortedList`2.Add(TKey key, TValue value) +8032807
   tswe.log.viewLog.InitControlItems() +2036
   tswe.log.manager.OnInit(EventArgs e) +271
   System.Web.UI.Control.InitRecursive(Control namingContainer) +133
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970
0
Comment
Question by:citymarketing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
Daniel Van Der Werken earned 1000 total points
ID: 38783210
I don't know if there is any way those of us who don't use UMBRACO or have this Log Manager installed can help. I'll do what I can.

First off, the problem appears to be the fact that you're adding an entry into a SortedList for a Key Value that already exists. So, you have something like:

SortedList<int, string> myList = new SortedList<int, string>();

then:

myList.Add( 1, "one" );
myList.Add( 1, "One" ); <== error -- entry with same key already exists.

So, there is some condition that is causing this to occur. If you do not have control over what is being placed into this list, what *do* you have control over? I wonder then, if you have some sort of old log or something that already exists and the application is attempting to fill in new information on top of old information and burping as a result?

Make sure you clean up any old files, etc. Maybe it's a configuration file that you've had that tells about reading in a log or something that should be deleted but isn't?

Hope this info is helpful.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question