Users cannot begin the approval process
Hello,
We're running v3.7 of Sitefinity. Whenever a user tries to begin the approval workflow process, they are greeted with the following error:
Hi Ric,
I've come across this error in the weblog unsing 3.7 sp4, stack trace below.
1: Error Description: Exception of type 'System.Web.HttpUnhandledException' was thrown.
1: Source: System.Web
1: Stack Trace: at System.Web.UI.Page.HandleError(Exception e)
1: at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
1: at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
1: at System.Web.UI.Page.ProcessRequest()
1: at System.Web.UI.Page.ProcessRequest(HttpContext context)
1: at ASP.sitefinity_admin_pages_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\014962b8\44bca9c0\App_Web_pefpx5mc.4.cs:line 0
1: at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
1: at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
1: Target Site: Boolean HandleError(System.Exception)
2: Error Description: More than one runtime service exists of type "CmsWorkflowService".
2: Source: Telerik.Workflow
2: Stack Trace: at Telerik.Workflow.WorkflowRuntime.GetService(Type serviceType)
2: at Telerik.Workflow.CallExternalMethodActivity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.Activity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.EventActivity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.Activity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.SetApprovalStatusActivity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.Activity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.EventActivity.Execute(WorkflowRuntime runtime)
2: at Telerik.Workflow.WebControls.WorkflowMenu.Button_Command(Object sender, CommandEventArgs e)
2: at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
2: at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2: Target Site: System.Object GetService(System.Type)
Hello Ric,
What is the build version of Sitefinity you use and the environment where the project is hosted - IIS, OS , DB server?
Regards,
Ivan Dimitrov
the Telerik team
Mark's suggestion works.But could you please give us some more insight about why it error occurs. It occurred to me three times in last six months.
Here is the system/environment details:
OS : Windows Server 2003
IIS: 6.0
DB: SQL Server 2005 (SQL Server 8.0.818)
Sitefinity 3.7 SP4
Thank you in advance
Khurshid
Hello Khurshid,
The issue could appear if you use IIS6 with Windows 2003 and Sitefinity 3.7 Sp4 build for .NET 4.0. The build for .NET 4.0 requires IIS7. Please host the project under IIS7 and let me know if you still have issues.