AI OnAI Off
If you enable logging in debug mode while reproducing this, do you get any errors related to this?
http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/75/Logging/logging-with-log4net/
Not that I can see, this is the complete stack trace if it would help:
[ArgumentException: An item with the same key has already been added.] System.ThrowHelper.ThrowArgumentException(ExceptionResource resource):16 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add):133 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer):80 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector):4 EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter.GetContentType(String typeIdentifier):115 EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer):108 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue):85 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent):223 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType):537 EPiServer.Shell.Services.Rest.RestControllerActionInvoker.TryGetParameterValueFromRestProviders(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor, Object& value):53 EPiServer.Shell.Services.Rest.RestControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor):0 System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor):37 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName):370 EPiServer.Shell.Services.Rest.RestControllerBase.ExecuteCore():81 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext):57 EPiServer.Shell.Services.Rest.RestHttpHandler.ProcessRequest(HttpContextBase httpContext):104 System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute():931 System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute():484 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously):21
Check this link http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=85177&epslanguage=en
Hello! On our production-server it is not possible to create a new folder for blocks/media (it works on our test-server). When I look at the call this exception is thrown:
ArgumentException: An item with the same key has already been added.
If more info is needed let me know. Guidance for how and what to compare appreciated.