none
Problema con la creación y edición de Workflows en CRM 2013 RRS feed

  • Pregunta

  • Saludos foro.

    Recurro a ustedes pues ya hemos agotado muchas alternativas y necesitamos cuanto antes una solución al presente ya que hemos invertido mucho tiempo en ello.

    El problema es que necesitamos cambiar el flujo y las condiciones de ciertos workflows existentes y también crear algunos nuevos, pero en el momento en que deshabilitamos uno de ellos (cualquiera) para su edición, al abrirlo nos muestra un error genérico que sugiere contactar con el administrador de la aplicación, al revisar los logs del trace de CRM encontramos una descripción como la que se muestra al finalizar este mensaje.

    Algunas de las soluciones que circulan por Internet son las de reiniciar los servicios de IIS y el Asynchronous Service de CRM, otras sugieren eliminar plugins, workflows y dependencias con los mismos, ya todas estas se aplicaron y el resultado siempre es el mismo.

    Algo importante de señalar es que los workflows sí pueden ser abiertos en su estado Activo, el problema sólo se presenta en su estado Draft, pero esto obviamente nos afecta ya que sólo en ese estado podríamos realizar modificaciones, de hecho se puede crear un nuevo workflow pero como su estado original es Draft ocurre la misma situación que con los ya existentes.

    Espero nos puedan ayudar con alguna otra recomendación, muchas gracias!

    **Adjunto log del error:

    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Source File: Not available

    Line Number: Not available

    Request URL: http://SERVER_NAME/ORGANIZATION_NAME/sfa/workflow/edit.aspx?id=%7bCE1501C5-8BEF-433C-ADAF-59318AEC3B5F%7d

    Stack Trace Info: [ArgumentNullException: Value cannot be null.
    Parameter name: input]
       at System.Version..ctor(String version)
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureCustomActivityStepMenu(CommandBarPopup addStepButton)
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.BuildStepMenu()
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureWorkflowStepMenu()
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureMenus()
       at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


    [2015-05-27 09:09:37.254] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   27 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: cd2a0c18-1cb3-4982-a24e-13d99b3ed1e4 | ExceptionConverter.ConvertToFault  ilOffset = 0x57
    at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x57
    at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
    at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5
    at MainApplication.Application_Error(Object sender, EventArgs eventArguments)  ilOffset = 0x81
    at EventHandler.Invoke(Object sender, EventArgs e)  ilOffset = 0xFFFFFFFF
    at HttpApplication.RaiseOnError()  ilOffset = 0x26
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x85
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >UNEXPECTED: no fault?
    [2015-05-27 09:09:37.254] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   27 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: cd2a0c18-1cb3-4982-a24e-13d99b3ed1e4 | ExceptionConverter.ConvertMessageAndErrorCode  ilOffset = 0x23B
    at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode)  ilOffset = 0x23B
    at ExceptionConverter.ToSingleFaultOther(Exception exception)  ilOffset = 0x2B
    at ExceptionConverter.ToSingleFaultUnTyped(Exception exception)  ilOffset = 0x3A
    at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x57
    at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
    at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5
    at MainApplication.Application_Error(Object sender, EventArgs eventArguments)  ilOffset = 0x81
    at EventHandler.Invoke(Object sender, EventArgs e)  ilOffset = 0xFFFFFFFF
    at HttpApplication.RaiseOnError()  ilOffset = 0x26
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x85
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #49E57796: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentNullException: Value cannot be null.
    >Parameter name: input
    >   at System.Version..ctor(String version)
    >   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureCustomActivityStepMenu(CommandBarPopup addStepButton)
    >   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.BuildStepMenu()
    >   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureWorkflowStepMenu()
    >   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureMenus()
    >   at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
    >   at System.Web.UI.Control.PreRenderRecursiveInternal()
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.HandleError(Exception e)
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest()
    >   at System.Web.UI.Page.ProcessRequest(HttpContext context)
    >   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    >   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    [2015-05-27 09:09:37.254] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   27 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: cd2a0c18-1cb3-4982-a24e-13d99b3ed1e4 | ExceptionConverter.ConvertToFault  ilOffset = 0x69
    at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x69
    at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
    at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5
    at MainApplication.Application_Error(Object sender, EventArgs eventArguments)  ilOffset = 0x81
    at EventHandler.Invoke(Object sender, EventArgs e)  ilOffset = 0xFFFFFFFF
    at HttpApplication.RaiseOnError()  ilOffset = 0x26
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x85
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >UNEXPECTED: no fault?

    viernes, 29 de mayo de 2015 15:52