Al querer editar una liquidación presenta el siguiente mensaje:

System.Web.HttpCompileException (0x80004005): c:\inetpub\wwwroot\Evolution\Areas\Acciones\Views\Liquidacion\Details.aspx(26): 
error CS1061: 'Aseinfo.VH4.Data.Liquidacion' does not contain a definition for 'FechaContrato' and no extension method 'FechaContrato' accepting a first argument of type 'Aseinfo.VH4.Data.Liquidacion' could be found (are you missing a using directive or an assembly reference?)
 at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
 at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
 at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
 at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
 at System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.FileExists(String virtualPath)
 at System.Web.Mvc.VirtualPathProviderViewEngine.GetPathFromGeneralName(ControllerContext controllerContext, List`1 locations, String name, String controllerName, String areaName, String cacheKey, String[]& searchedLocations)
 at System.Web.Mvc.VirtualPathProviderViewEngine.GetPath(ControllerContext controllerContext, String[] locations, String[] areaLocations, String locationsPropertyName, String name, String controllerName, String cacheKeyPrefix, Boolean useCache, String[]& searchedLocations)
 at System.Web.Mvc.VirtualPathProviderViewEngine.FindView(ControllerContext controllerContext, String viewName, String masterName, Boolean useCache)
 at System.Web.Mvc.ViewEngineCollection.<>c__DisplayClassc.<FindView>b__b(IViewEngine e)
 at System.Web.Mvc.ViewEngineCollection.Find(Func`2 lookup, Boolean trackSearchedPaths)
 at System.Web.Mvc.ViewResult.FindView(ControllerContext context)
 at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
 at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
 at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

No hubo ninguna actualización, ni tampoco movimiento de liquidaciones, ¿Que podrá ser?, muchas gracias.

asked 23 Nov '16, 14:27

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

Erick Túchez
210637168
accept rate: 37%

edited 23 Nov '16, 15:48

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635

¿Qué versión de Evolution es?

¿Revisaste que no exista un CustomView para esa vista? (Porque en el estándar no existe ninguna FechaContratacion)

¿Exite un plugin en esa instalación para esa pantalla?

(23 Nov '16, 15:50) Fernando Paz ♦♦ Fernando%20Paz's gravatar image

Tengo la versión 1.8.4.4, Si revisé, no existe ningún CustomView para esa vista, tampoco existe ningún plugin en esa instalación.

(23 Nov '16, 16:05) Erick Túchez Erick%20T%C3%BAchez's gravatar image

El archivo Details.aspx en la version 1.8.4.4 tiene el siguiente codigo en la linea 26

<span><%= Html.Encode(String.Format("{0:d}", Model.FechaIngreso))%></span>&nbsp;

por lo que seguramente modificaron el archivo directamente

link

answered 23 Nov '16, 16:18

sbarahona's gravatar image

sbarahona ♦♦
(suspended)
accept rate: 32%

edited 23 Nov '16, 16:20

Tenes razón, yo la tengo de la siguiente manera: <%= Html.Encode(String.Format("{0:d}", Model.FechaContrato))%> 

Gracias.

(28 Nov '16, 12:22) 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:

×20

Asked: 23 Nov '16, 14:27

Seen: 1,344 times

Last updated: 28 Nov '16, 12:22

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