Symptoms
Error on Form after Deploying - An Item with the same key has already been added.
Diagnoses
I have just packaged up my K2 Smartform project in my Dev environment and deployed it to our Test environment. Deployment went smoothly and there were no errors. But when I open the form in the Test Environment it is giving me this error: " Exception of type 'System.Web.HttpUnhandledException' was thrown.
An item with the same key has already been added.". I have narrowed it down to 2 views which can't open with the exact same error.
Resolution
Found Expressions on the 2 affected Views with the same names . No idea how this happened , but managed to load up the View in Dev where we can access the Views (also 469) , rename the Expression and deploy to Test and we can now run edit the Views/Forms . Item logged to be investigated by Labs