Estimados, Tengo el siguiente problema en una nueva instalación de Evolution. Estoy poblando data de plazas. Los datos se presentan bien en el SmartList, pero al querer ver el detalle de una plaza me aparece un error. Que debo hacer para corregirlo. El error es este:
System.Web.HttpException (0x80004005): Error al ejecutar la solicitud secundaria para el controlador System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper. ---> System.Web.HttpUnhandledException (0x80004005): Se produjo una excepción de tipo 'System.Web.HttpUnhandledException'. ---> Aseinfo.Infrastructure.Base.Exceptions.MissingConfigurationInformationException: El CodeCombo PlazasJefeEnDependenciaPlaza no está registrado para el controller Aseinfo.VH4.Estructura.Controllers.PlazaController (Area:Estructura, ControllerName:Plaza). Verificar la configuración del controller. en Aseinfo.Infrastructure.Common.Extensions.EntryPoints.MetadataEntryPoint.GetCodeCombo(String codigo) en c:BuildAgentwork608d469cc106b504InfrastructureCommonExtensionsEntryPointsMetadataEntryPoint.cs:línea 200 en Aseinfo.Infrastructure.Common.Extensions.CodeComboExtensions.CodeCombo(HtmlHelper helper, String fieldName, String codigoCodeCombo, String parametersViewDataKey, String valorCodigo, String valorTexto, Boolean synchronizeValues, Object htmlAttributesCodigo, Object htmlAttributesTexto) en c:BuildAgentwork608d469cc106b504VH4UIWebWebControlsExtensionsCodeComboExtensions.cs:línea 232 en Aseinfo.Infrastructure.Common.Extensions.CodeComboExtensions.CodeCombo(HtmlHelper helper, String fieldName, String codigoCodeCombo, String parametersViewDataKey, String valorCodigo, String valorTexto, Boolean synchronizeValues) en c:BuildAgentwork608d469cc106b504VH4UIWebWebControlsExtensionsCodeComboExtensions.cs:línea 166 en ASP.areas_estructura_views_plaza_createoredit_aspx.RenderContent1(HtmlTextWriter w, Control parameterContainer) en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) en ASP.views_shared_site_master.Rendercontrol1(HtmlTextWriter w, Control parameterContainer) en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) en System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) en System.Web.UI.Page.HandleError(Exception e) en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) en System.Web.UI.Page.ProcessRequest() en System.Web.UI.Page.ProcessRequest(HttpContext context) en System.Web.Mvc.ViewPage.ProcessRequest(HttpContext context) en System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>cDisplayClass4.<wrap>b__3() en System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.WrapTResult en System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func |
Estimados, Ya me aclararon la causa del error, y es que el controlador no esta asociado al CodeCombo en mención. Para asociar un controlador a un CodeCombo, es necesario ir a la configuración de dicho CodeCombo (Administración de CodeCombos) y editar su información asociando el o los controladores según lo sugiere el mensaje de error. Para este caso en particular: (Area:Estructura, ControllerName:Plaza). Aplican los cambios y listo. |