+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / WorkflowRuntime Error.

WorkflowRuntime Error.

4 posts, 0 answered
  1. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    18 Aug 2011
    Link to this post
    Users are experiencing this error from time to time and I have to refresh the web service to get things back up.

    Server Error in '/MyAppName' Application.


    Cannot create more than one WorkflowRuntime per AppDomain.

    Description: 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.

    Exception Details: System.InvalidOperationException: Cannot create more than one WorkflowRuntime per AppDomain.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

     
    [InvalidOperationException: Cannot create more than one WorkflowRuntime per AppDomain.]
       Telerik.Workflow.WorkflowRuntime.Initialize() +298
       Telerik.Workflow.WorkflowRuntime..ctor() +38
       Telerik.Workflow.WorkflowRuntime.get_Instance() +87
       Telerik.Workflow.WebControls.WorkflowActionCommnads.InitWorkflowRuntime() +15
       Telerik.Workflow.WebControls.WorkflowActionCommnads.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +222
       System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +72
       System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +147
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
       Telerik.Cms.Web.UI.ManagePagesGrid.dataSource_Selected(Object sender, PagesDataSourceStatusEventArgs e) +641
       Telerik.Cms.Web.UI.PagesDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1536
       System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +27
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
       Telerik.Cms.Web.UI.ManagePagesGrid.OnPreRender(EventArgs e) +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

    It happened this morning when I was training one of our new users. They were in the Images and Documents module, and tried to click over to pages.

    Any ideas are appreciated.

    Thanks,

    David
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    22 Aug 2011
    Link to this post
    Hi David,

    Can you please let us know if your website has been upgraded to Sitefinity 3.7 SP4 for .NET 4.0? If this is the case, please note that we have a known issue when using Sitefinity 3.7 SP4 for .NET 4.0 in load balancing environment under IIS 6.0 or IIS 7.0 (classic pipeline mode). To workaround this issue you need to be running in IIS 7.x integrated pipeline or use the .NET 3.5 version.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    22 Aug 2011
    Link to this post
    Radoslav, Thank you for the response.

    My organization is running Sitefinity 3.7 SP4 for .NET 3.5 on the Classic Pipeline mode. What is the recommended setup for us to move to? It seems lie we are already trying the workaround.

    Thank you,

    David

  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    25 Aug 2011
    Link to this post
    Hello David,

    Try running in integrated pipeline mode.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Register for webinar
4 posts, 0 answered