0
1

Aplique la actualización de Evolution - Oracle hasta la versión 1.10.0.6 y me muestra el siguiente mensaje de error al querer ingresar al sitio:

Server Error in '/Evolution' Application. An item with the same key has already been added. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: An item with the same key has already been added.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: An item with the same key has already been added.] System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) +14493519 System.Resources.ResourceWriter.AddResource(String name, String value) +59 System.Collections.Generic.List1.ForEach(Action1 action) +14454520 Aseinfo.Infrastructure.Services.<>c__DisplayClass20_0.<GenerateLocalizationResourceFile>b__0(IGrouping2 tg) in C:VH4InfrastructureServicesMetadataMetadataService.cs:280 System.Threading.Tasks.<>cDisplayClassf`1.<forworker>bc() +5814751 System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) +34 System.Threading.Tasks.<>cDisplayClass11.<executeselfreplicating>b10(Object param0) +369

[AggregateException: One or more errors occurred.] System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) +14086697 System.Threading.Tasks.Task.Wait() +17 System.Threading.Tasks.Parallel.ForWorker(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) +5830268 System.Threading.Tasks.Parallel.ForEachWorker(IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) +524 System.Threading.Tasks.Parallel.ForEach(IEnumerable1 source, Action`1 body) +188 Aseinfo.Infrastructure.Services.MetadataService.GenerateLocalizationResourceFile(String path, String fileNameBase, String languageDefault) in C:VH4InfrastructureServicesMetadataMetadataService.cs:285 Aseinfo.VH4.UI.Web.MvcApplication.InitializeUnity() in C:VH4VH4UIWebGlobal.asax.cs:712 Aseinfo.VH4.UI.Web.MvcApplication.Application_Start() in C:VH4VH4UIWebGlobal.asax.cs:107

[HttpException (0x80004005): One or more errors occurred.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12600621 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): One or more errors occurred.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12617668 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12457285

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209

asked 02 Sep '16, 14:13

Erick%20T%C3%BAchez's gravatar image

Erick Túchez
210607168
accept rate: 37%


Tenés un key de localización duplicado.

Revisa la tabla cfg.tra_translations porque existen dos valores para la misma combinación area/keyword/language.

Si nunca has hecho cambios en las localizaciones, entonces podes borrar las tablas cfg.lok y cfg.tra, y ejecutar de nuevo el script de sincronización de las localizaciones (02 - DataUpdate EvoConfig 1_10_0_5 a 1_10_0_6 - Localizacion) contenido en el hotfix.

Si has hecho cambios, entonces si tendrías que revisar cual combinación area/key/language esta duplicada.

link

answered 02 Sep '16, 14:34

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

edited 02 Sep '16, 14:36

Gracias ese era el problema. al final borre las tablas y volví a correr el script.

(02 Sep '16, 14:54) Erick Túchez Erick%20T%C3%BAchez's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×83

Asked: 02 Sep '16, 14:13

Seen: 1,617 times

Last updated: 02 Sep '16, 14:54

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática