Tengo el siguiente inconveniente al tratar de autorizar un flujo.

alt text

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.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) 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.Unity.UnityServiceLocator.DoGetInstance(Type serviceType, String key) 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 324 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 659 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.AutorizaEntidad(String codigoInstancia, String urlDetailsFlujo, String urlWorkflowService) in C:vh4InfrastructureBaseEntityEntityServiceBase.cs:line 621 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.Statements.InvokeMethod.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state) at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Podrian orientarme por que da este error.

asked 08 Sep '17, 11:49

Brandon%20Aguilar's gravatar image

Brandon Aguilar
(suspended)
accept rate: 43%

Que versión es?

(08 Sep '17, 11:54) glemus glemus's gravatar image

El problema se solvento copiando el Newtonsoft.Json.dll del sitio de evolution al bin del sitio Evoworkflow.

link

answered 08 Sep '17, 12:09

Brandon%20Aguilar's gravatar image

Brandon Aguilar
(suspended)
accept rate: 43%

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:

×92
×38

Asked: 08 Sep '17, 11:49

Seen: 800 times

Last updated: 08 Sep '17, 12:09

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