Buenas tardes, Tengo un caso de reversión de contrato (Nóminas > Acciones de Personal > Reversión de Contratación), el error que esta dando en el siguiente, AppJobWinService> At the time of the exception, the container was: Resolving Aseinfo.VH4.Acciones.Services.ReversionContratacionService,(none) (mapped from Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionService, (none))
Resolving parameter "fondoIncapacidadService" of constructor Aseinfo.VH4.Acciones.Services.ReversionContratacionService(Aseinfo.Infrastructure.Base.Entity.IGenericAppEntityRepository repository, Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionRuleValidator ruleValidator, Aseinfo.VH4.Expedientes.Base.EstructurasSalarialesEmpleo.IEstructuraSalarialEmpleoService estructuraSalarialEmpleoService, Aseinfo.VH4.Expedientes.Base.SegurosMedicosEmpleo.ISeguroMedicoEmpleoService seguroMedicoEmpleoService, Aseinfo.VH4.Expedientes.Base.HabilidadesEmpleos.IHabilidadEmpleoService habilidadEmpleoService, Aseinfo.VH4.Expedientes.Base.EquiposOAccesosEmpleo.IEquipoOAccesoEmpleoService equipoOAccesoEmpleoService, Aseinfo.VH4.Expedientes.Base.FormasPagoEmpleos.IFormaPagoEmpleoService formaPagoEmpleoService, Aseinfo.VH4.Expedientes.Base.BeneficiosAdicionalesRecibidosEmpresasAnteriores.IBeneficioAdicionalRecibidoEmpresaAnteriorService beneficioAdicionalRecibidoEmpresaAnteriorService, Aseinfo.VH4.Expedientes.Base.Empleos.IEmpleoService empleoService, Aseinfo.Infrastructure.Base.Users.IUserService userService, Aseinfo.VH4.Acciones.Base.FondosVacaciones.IFondoVacacionService fondoVacacionService, Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService fondoIncapacidadService, Aseinfo.VH4.Expedientes.Base.HistoricoSalarios.IHistoricoSalarioService historicoSalarioService, Aseinfo.VH4.Expedientes.Base.HistoricoPlazas.IHistoricoPlazaService historicoPlazaService)
Resolving Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService,(none)
---> System.InvalidOperationException: The current type, Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService, is an interface and cannot be constructed. Are you missing a type mapping?
at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
at BuildUp_Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
at BuildUp_Aseinfo.VH4.Acciones.Services.ReversionContratacionService(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable Alguien sabe cual podría ser la causa de este error, Saludos. |