1
Upgrade to 10x fails to load ticket content: An item with the same key has already been added.
Problem reported by Robert LaMear - 9/23/2014 at 11:08 AM
Submitted
After upgrade to 10x when we try to view an existing ticket, the ticket window pops open and loads an error:
 
Unhandled error
 - Page: [https://ticketsXXXXX.net/Management/Tickets/frmTicket.aspx?ticketid=53711&showreply=true]
 - Referrer: [https://tickets.XXXXX.net/Management/Tickets/frmTickets.aspx?mode=0&source=m&IsOpen=1&IsActive=0&BrandID=1&GroupID=66&IsGlobal=True&ctrl=tip_2_5_5_1]
 - User Agent: [Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0] - IP: [xxx.xxx.xxx.xxx]
An item with the same key has already been added.
System.ArgumentException: An item with the same key has already been added.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at SmarterTrack.MRS.Common.Controls.FieldControl.SetFieldOptions(List`1 options)
   at SmarterTrack.MRS.Common.Controls.FieldControl..ctor(CustomDataFieldEntity f, String baseID)
   at SmarterTrack.MRS.Common.Controls.CustomFields.SetupCustomFields(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
We've tried multiple different ways to upgrade the database but it always errors out to the error above.  Anyone else ever have this happen?  Anyone know how to remove the duplicate item in SQL?

1 Reply

Reply to Thread
1
Derek Curtis Replied
Employee Post
Hi, Robert. Issues like this are difficult to troubleshoot without having access to a customer's database. Therefore, my suggestion would be to open a ticket with our support agents and provide them with login into to your installation, and possibly a copy of your database so they can go through it with the developers and test out various scenarios.
 
Thanks. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com

Reply to Thread