Al intentar autorizar un retiro me muestra el siguiente error:

Aseinfo.Infrastructure.Base.Exceptions.AuthorizationWorkflowException: Sucedio un error en el flujo. Se está logueando el exception interno y luego se logueará el que terminará la instancia ---> Microsoft.Practices.ServiceLocation.ActivationException: Activation error occurred while trying to get instance of type LogWriter, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The type LogWriter does not have an accessible constructor. ----------------------------------------------- At the time of the exception, the container was: Resolving Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter,(none) ---> System.InvalidOperationException: The type LogWriter does not have an accessible constructor. at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObject(IBuilderContext context) at BuildUp_Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter(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, IEnumerable1 resolverOverrides) --- End of inner exception stack trace --- at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides) at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:ProjectsCommonServiceLocatormainMicrosoft.Practices.ServiceLocationServiceLocatorImplBase.cs:line 49 --- End of inner exception stack trace --- at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:ProjectsCommonServiceLocatormainMicrosoft.Practices.ServiceLocationServiceLocatorImplBase.cs:line 53 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstanceTService in c:ProjectsCommonServiceLocatormainMicrosoft.Practices.ServiceLocationServiceLocatorImplBase.cs:line 90 at Microsoft.Practices.EnterpriseLibrary.Logging.Logger.get_Writer() at Aseinfo.Infrastructure.Common.Logging.LoggingService.Error(Object message, String category) in C:vh4InfrastructureCommonLoggingLoggingService.cs:line 141 at Aseinfo.VH4.Infraestructura.Services.SchedulerService.GeneraEntidadProceso(IEntityWithKey entity, String entitySetName, String codigoEntidad, DateTime fechaEjecucion, IAuthorizationWorkflowManagedEntityService service, IDictionary2 dataDictionary) in C:\vh4\VH4\Infraestructura\Services\SchedulerService.cs:line 327 at Aseinfo.VH4.Infraestructura.Services.SchedulerService.ProgramarFinalizacionAccion(IEntityWithKey entity, IAuthorizationWorkflowManagedEntityService service, DateTime fechaEjecucion, IDictionary2 dataDictionary) in C:vh4VH4InfraestructuraServicesSchedulerService.cs:line 104 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.AutorizaEntidad(IAuthorizationWorkflowManagedEntity entity, String urlDetailsFlujo, String urlWorkflowService, Boolean ejecutarInmediatamente) in C:\vh4\Infrastructure\Base\Entity\EntityServiceBase.cs:line 661 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.AutorizaEntidad(String codigoInstancia, String urlDetailsFlujo, String urlWorkflowService) in C:vh4InfrastructureBaseEntityEntityServiceBase.cs:line 622 at Aseinfo.VH4.WorkflowServices.Services.AuthorizationWorkflowService.FinalizaInstanciaRutaAutorizacion(Guid codigoInstancia, EstadoActividadInstancia estadoFinalizacion, Nullable1 codigoExpedienteUsuario, String username, String entityServiceTypeName, String comentarioUsuario) in C:\vh4\VH4\WorkflowServices\WorkflowServices\Services\AuthorizationWorkflowService.cs:line 191 at Aseinfo.VH4.WorkflowServices.Services.AuthorizationWorkflowStaticService.FinalizaInstanciaRutaAutorizacion(Guid codigoInstancia, EstadoActividadInstancia estadoFinalizacion, Int32 codigoExpedienteUsuario, String username, String entityServiceTypeName, String comentarioUsuario, WorkflowContext context) in C:\vh4\VH4\WorkflowServices\WorkflowServices\Services\AuthorizationWorkflowStaticService.cs:line 234 --- End of inner exception stack trace --- at System.Activities.Statements.MethodExecutor.InvokeAndUnwrapExceptions(Func3 func, Object targetInstance, Object[] actualParameters) at System.Activities.Statements.MethodResolver.SyncMethodExecutor.BeginMakeMethodCall(AsyncCodeActivityContext context, Object target, AsyncCallback callback, Object state) at System.Activities.Statements.MethodExecutor.BeginExecuteMethod(AsyncCodeActivityContext context, AsyncCallback callback, Object state) at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

alt text

asked 06 Sep '17, 12:22

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

Erick Túchez
210637168
accept rate: 37%


Copia el archivo Newtonsoft.Json.dll que está en la carpeta bin del sitio de Evolution a la carpeta bin de sitio del Workflow, esto se debió a que se actualizó dicho dll. Solo verifica que la versión del archivo sea la 9.0.1.19813

link

answered 06 Sep '17, 14:45

glemus's gravatar image

glemus
(suspended)
accept rate: 51%

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:

×7

Asked: 06 Sep '17, 12:22

Seen: 1,074 times

Last updated: 06 Sep '17, 14:45

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