Se está haciendo una solicitud de vacaciones en la versión 1.10.0.9 y el flujo inicia bien, pero al cabo de 2 o más días el flujo se anula y registra 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 ---> System.ObjectDisposedException: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.
at System.Data.Entity.Core.Objects.ObjectContext.get_Connection()
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at System.Data.Entity.Core.Objects.CompiledQuery.ExecuteQuery[TResult](ObjectContext context, Object[] parameterValues)
at System.Data.Entity.Core.Objects.CompiledQuery.Invoke[TArg0,TArg1,TArg2,TResult](TArg0 arg0, TArg1 arg1, TArg2 arg2)
at Aseinfo.Infrastructure.Common.Data.LocalizationDatabaseRepositoryBase.DatabaseSearch(ConfigDataContext configDataContext, CultureInfo culture, String area, String key) in C:\vh4\Infrastructure\Common\Localization\LocalizationDatabaseRepositoryBase.cs:line 64
at Aseinfo.Infrastructure.Common.Data.LocalizationCachedDatabaseRepository.Search(String key, String area, CultureInfo culture) in C:\vh4\Infrastructure\Common\Localization\LocalizationCachedDatabaseRepository.cs:line 69
at Aseinfo.Infrastructure.Common.LocalizationService.GetLocalized(String key, String area, Stack`1 localizedKeysStack, CultureInfo culture) in C:\vh4\Infrastructure\Common\Localization\LocalizationService.cs:line 416
at Aseinfo.Infrastructure.Common.LocalizationService.GetLocalized(String key, String area, CultureInfo culture) in C:\vh4\Infrastructure\Common\Localization\LocalizationService.cs:line 214
at Aseinfo.VH4.WorkflowServices.Services.AuthorizationWorkflowService.GeneraMensajeNotificacion(InstanciaRutaAutorizacion instancia, ActividadAutorizacionInstancia actividad, Empleo responsable, String mensaje, Exception exception, Empleo empleoSustituido) in C:\VH4\VH4\WorkflowServices\WorkflowServices\Services\AuthorizationWorkflowService.cs:line 1299
at Aseinfo.VH4.WorkflowServices.Services.AuthorizationWorkflowService.EnviarRecordatorioActividad(Int32 codigoActividad) in C:\VH4\VH4\WorkflowServices\WorkflowServices\Services\AuthorizationWorkflowService.cs:line 552
at Aseinfo.VH4.WorkflowServices.Services.AuthorizationWorkflowStaticService.EnviarRecordatorioActividad(Int32 codigoActividad, WorkflowContext context) in C:\VH4\VH4\WorkflowServices\WorkflowServices\Services\AuthorizationWorkflowStaticService.cs:line 138

--- 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.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

asked 10 Aug '17, 09:10

Josue%20Mancilla's gravatar image

Josue Mancilla
(suspended)
accept rate: 42%

Alguna solución para esto?, alguien sabe porque pasa esto?

(16 Aug '17, 08:31) Josue Mancilla Josue%20Mancilla's gravatar image

¿Tienes instalado el AppFabric?

(17 Aug '17, 16:18) Julio Flores Julio%20Flores's gravatar image

En efecto, está instalado.

(17 Aug '17, 16:33) Josue Mancilla Josue%20Mancilla's gravatar image

Revisa si el autorizador tiene un jefe inmediato, talves al escalar el flujo por una actividad osciosa, no encuentra un jefe y por eso la anula.

También es necesario revisar la configuración del appfabric:

UnloadTimeout : 3600 PersistTimeout: 0

(17 Aug '17, 16:49) Julio Flores Julio%20Flores's gravatar image

En efecto, el inconveniente era porque hacia falta configurar el AppFabric UnloadTimeout:3600 PersistTimeout:0

link

answered 08 Sep '17, 16:27

Josue%20Mancilla's gravatar image

Josue Mancilla
(suspended)
accept rate: 42%

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

Asked: 10 Aug '17, 09:10

Seen: 603 times

Last updated: 08 Sep '17, 16:27

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