Tengo el siguiente inconveniente al tratar de autorizar un flujo.
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, IEnumerable
1 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, IDictionary
2 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.EntityServiceBase
2.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(Func
3 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 Aguilar
(suspended)
accept rate:
43%
Que versión es?