Actualicé una instalación de la 1.10.1.0 a la 1.11.0.0 y muestra error en la opción Organización > Parámetros Generales > Parámetros de Aplicación

System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'.

---> Aseinfo.Infrastructure.Base.Exceptions.AseinfoException: En el SmartList (General.ParametrosAplicacion) se especificó un evento a ejecutar desde javascript, asociado a un código de botón que no existe (generaScript). at Aseinfo.Infrastructure.Common.Extensions.SmartListExtension.SmartList(HtmlHelper helper, String fieldName, String codigo, String parametersViewDataKey, Dictionary2 onClientEvents, String focusedRowChangedClientFunction, String urlMetadata, String urlExportToExcel, Boolean almacenaInformacionPersonalizacion, Boolean hideQueryBuilder, SmartList metadata, String urlData, String nombreActionDetails) in C:\work\a3e0cbded2a6d4b3\VH4\UI\Web\WebControlsExtensions\SmartListExtension.cs:line 191 at ASP.areas_general_views_parametroaplicacion_index_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at ASP.views_shared_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.<Wrap>b__3() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func1 func) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.ViewPage.RenderView(ViewContext viewContext) at StackExchange.Profiling.Mvc.WrappedView.Render(ViewContext viewContext, TextWriter writer) in d:FilesGitHubminiprofilerdotnetStackExchange.Profiling.MvcWrappedView.cs:line 56 at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList1 filters, ActionResult actionResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<begininvokeaction>b1e(IAsyncResult asyncResult)

Esta se replica en todas las actualizaciones que hemos realizado (4)

asked 19 Jun '17, 17:45

Juan%20Carlos%20Soria's gravatar image

Juan Carlos Soria
1.1k171179185
accept rate: 41%


Podría realizar un delete sobre la tabla cfg.sml_smartlists de los siguiente códigos de SmartList: 'Infrastructure.CodeCombo', 'Infrastructure.ValueList', 'Infrastructure.ConsultasGenericas', 'Infrastructure.WordTemplates', 'Infrastructure.Parametros', 'Infrastructure.EntidadesAuditoria', 'Administracion.ConfiguracionesEntidadesAdicionales', 'General.RutasAutorizacion', 'General.ParametrosAplicacion' y luego ejecutar de nuevo los script de de sincronización de los SmartList el script correspondiente a "13 - DataUpdate EvoConfig 1_10_1_0 a 1_11_0_0 - Smartlists.sql"

link

answered 19 Jun '17, 18:12

glemus's gravatar image

glemus
(suspended)
accept rate: 51%

He aplicado tu recomendación, pero ahora Evolution muestra un error indicando que el recurso no pudo ser encontrado /Evolution/Infrastructure/SmartList/GetSmartListHtmlData.

Acá la imagen del error:

https://qa.aseinfo.net/osqa/upfiles/2017-06-20_09-03-40.png

(20 Jun '17, 08:06) Henry Sandoval Henry%20Sandoval's gravatar image

Hay un cambio también en cuando a cómo se llena el smartlist. Para resolverlo limpia el cache de tu browser

(20 Jun '17, 08:43) sbarahona ♦♦ sbarahona's gravatar image

Gracias Salvador, confirmo que pude resolver aplicando tu recomendación.

(20 Jun '17, 10:43) Henry Sandoval Henry%20Sandoval's gravatar image

La razón es que viene configurado un nuevo botón llamado generaScript como lo indica el error y la vista trata de encontrarlo.

La solución es eliminar el smartlist y correr el script 13 - DataUpdate EvoConfig 1_10_1_0 a 1_11_0_0 - Smartlists.sql (en este mismo archivo da un ejemplo de como eliminar el smartlist basado en su código)

Las siguientes listas de valores habría que hacer lo mismo (según documento Readme de la instalación 1.11.0 son los que tienen el nuevo botón pero creo que no advierte del error)

  • Configuración de Entidades (incluye detalles de auditoria, campos adicionales, rutas condicionales y roles de notificación)
  • Parámetros de Infraestructura
  • Listas de Valores
  • CodeCombos
  • Plantillas de Word
  • Consultas Adicionales
  • Entidades Adicionales (incluye su formulario dinámico correspondiente)
  • Rutas de Autorización
  • Parámetros de Aplicación
link

answered 19 Jun '17, 18:09

Jimy%20Tobar's gravatar image

Jimy Tobar ♦♦
(suspended)
accept rate: 56%

edited 19 Jun '17, 18:23

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:

×14
×6

Asked: 19 Jun '17, 17:45

Seen: 1,024 times

Last updated: 20 Jun '17, 10:43

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