Estoy creando una plaza en evolution version 1.7.2 pero la entidad "plazas" tiene configurado una ruta de tipo usuario, el cual se le inicia el flujo pero nunca llega a mostrarselo al usuario que autoriza.

El error que me da la bitacora del Workflow cuando lo envie autorizar:

2013-08-20 12:37:36,573 [18] INFO  Aseinfo.VH4.WorkflowServices.Activities.LogMessage - Ocurrió un error y se terminará la instancia ee990be5-bd65-4f74-bde9-3d01178fe21e
2013-08-20 12:37:36,575 [18] ERROR Aseinfo.VH4.WorkflowServices.Activities.LogException - Se dió un error en la ejecución del workflow d47062e1-4d40-4fed-8144-cd3d3aae251b
Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISymmetricCryptoProvider, key "RijndaelManaged" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider", name = "RijndaelManaged".
Exception occurred while: Calling constructor Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider(System.Type algorithmType, System.String protectedKeyFileName, System.Security.Cryptography.DataProtectionScope protectedKeyProtectionScope, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Instrumentation.ISymmetricAlgorithmInstrumentationProvider instrumentationProvider).
Exception is: DirectoryNotFoundException - Could not find a part of the path 'C:\inetpub\wwwroot\EvolutionWorkflowService\SymmetricKey.key'.
-----------------------------------------------
At the time of the exception, the container was:

  Resolving Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider,RijndaelManaged (mapped from Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider, RijndaelManaged)
  Calling constructor Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider(System.Type algorithmType, System.String protectedKeyFileName, System.Security.Cryptography.DataProtectionScope protectedKeyProtectionScope, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Instrumentation.ISymmetricAlgorithmInstrumentationProvider instrumentationProvider)
 ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\wwwroot\EvolutionWorkflowService\SymmetricKey.key'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.KeyManager.Read(String protectedKeyFileName, DataProtectionScope dpapiProtectionScope)
   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider..ctor(Type algorithmType, String protectedKeyFileName, DataProtectionScope protectedKeyProtectionScope, ISymmetricAlgorithmInstrumentationProvider instrumentationProvider)
   at BuildUp_Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider(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`1 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.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key)
   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.GetSymmetricCryptoProvider(String symmetricInstance)
   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric(String symmetricInstance, String ciphertextBase64)
   at Aseinfo.VH4.WorkflowServices.Activities.DecryptString.Execute(CodeActivityContext context) in c:\BuildAgent\work\2af027e4cc30ca96\VH4\WorkflowServices\WorkflowServices\Activities\DecryptString.cs:line 24
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
2013-08-20 12:37:36,624 [18] INFO  ASP.global_asax - Iniciando la construcción del Unity ChildContainer
2013-08-20 12:37:36,625 [18] ERROR ASP.global_asax - Ocurrió un error al construir el Unity ChildContainer del flujo
System.NullReferenceException: Object reference not set to an instance of an object.
   at Aseinfo.VH4.WorkflowServices.Global.BuildChildContainer(WorkflowContext context) in c:\BuildAgent\work\2af027e4cc30ca96\VH4\WorkflowServices\WorkflowServices\Global.asax.cs:line 131
2013-08-20 12:37:36,627 [18] INFO  Aseinfo.VH4.WorkflowServices.Activities.LogMessage - Ocurrió un error al intentar Terminar la instancia
2013-08-20 12:37:36,628 [18] ERROR Aseinfo.VH4.WorkflowServices.Activities.LogException - Se dió un error en la ejecución del workflow d47062e1-4d40-4fed-8144-cd3d3aae251b
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Activities.Statements.MethodExecutor.InvokeAndUnwrapExceptions(MethodInfo methodToInvoke, 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 20 Aug '13, 15:48

JulioRosales's gravatar image

JulioRosales
(suspended)
accept rate: 26%

edited 20 Aug '13, 18:46

Cabe resaltar que al aplicar el upgrade la empresa separo la funcion de base de datos y los aplicativos del mismo server

(20 Aug '13, 16:45) JulioRosales JulioRosales's gravatar image

Podrías ampliarnos tu pregunta revisando el log del AppJob para ver si hay errores en la notificación? Chequea también el log del Workflow, debería registrar que inició el flujo y hasta donde se quedo...

(20 Aug '13, 17:14) sabanito ♦♦ sabanito's gravatar image

El unico error que me da en el log del AppJob es "ERROR EmailNotificatorService" ahora en donde encuentro el log del Workflow? porque revisando la tabla wfl.ira si se encuentra registrado el inicio del flujo

(20 Aug '13, 17:26) JulioRosales JulioRosales's gravatar image

El usuario que inicia el flujo es Administrador y tiene permiso para todas las empresas y a la vez tiene un empleo asociado

(20 Aug '13, 17:27) JulioRosales JulioRosales's gravatar image

Tambien al hacer referencia al servicio del Workflow si se encuentra habilitado http://servidor/EvolutionWorkflowService/AuthorizationWorkflow.xamlx

(20 Aug '13, 17:54) JulioRosales JulioRosales's gravatar image

Lo que procedi fue a borrar el flujo y volverlo a enviar autorizar y al momento revise el Log del Workflow y el error que me dio esta descrito arriba.

(20 Aug '13, 18:47) JulioRosales JulioRosales's gravatar image
showing 5 of 6 show all

El error te dice esto:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\wwwroot\EvolutionWorkflowService\SymmetricKey.key'

Significa que la configuración del Workflow service no está bien.

Revisa la ruta en el archivo web.config del EvolutionWorkflowService para corregir a la ruta correcta.

link

answered 20 Aug '13, 18:54

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
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:

×92

Asked: 20 Aug '13, 15:48

Seen: 5,640 times

Last updated: 20 Aug '13, 20:08

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