Try our conversational search powered by Generative AI!

Can't create "New Folder" in edit

Vote:
 

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.

#118309
Mar 04, 2015 10:13
Vote:
 

Anyone?

#118720
Mar 12, 2015 12:43
Vote:
 

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/

#118759
Mar 13, 2015 9:41
Vote:
 

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
#118821
Mar 16, 2015 9:18
Vote:
 

Anyone? :)

#121947
May 21, 2015 13:38
Vote:
 

Check this link http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=85177&epslanguage=en

#121949
May 21, 2015 14:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.