Error: An item with the same key has already been added - when running secure payment template update

When users get to step 3 of the Event Registration Form, they see the header/logo from a different event.
Click Step 1, takes you to the old event's registration page.

When running the Secure Payment Template Update, exceptions occur.  The error log shows:

An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Blackbaud.Web.Content.Core.BBPayTemplateLoader.TemplateListCache()
Failed to retrieve the list of templates from the BBSP Server.
at Blackbaud.Web.Content.Core.BBPayTemplateLoader.TemplateListCache() at Blackbaud.Web.Content.Core.BBPayTemplateLoader.ProcessPaymentPage(Int32 pageID, String pagename, Int32 paymentPartID, Guid deliveryChannel) at Blackbaud.AppFx.ContentManagement.Catalog.CMSBBPayTemplateUpdateBusinessProcess.StartBusinessProcess()
This error message will appear if there are multiple content placeholders with the same ID, or if there is a page that has multiple parts that accept transactions on the same page.  

If the content placeholder ID is reused, simply rename of one the placeholders.
If multiple transaction parts are included on the same page (this will be a page that is using the same template), cut parts from the page until only one transaction part tremains.  For example, you can not have the Transaction Manager and Event Form on the same page, or a Event Form and Donation Form on the same page.


 6.58.806 patch 2

Was this article helpful?