How to Fix “Error occurred in deployment step ‘Activate Features’: System.TimeoutException:”
- by ybbest
Problem:
When deploying a SharePoint2013 workflow using Visual Studio, I got the following Error:
Error occurred in deployment step ‘Activate Features’: System.TimeoutException: The HTTP request has timed out after 20000 milliseconds. —> System.Net.WebException: The request was aborted: The request was canceled.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.OnGotResponse(IAsyncResult result)
— End of inner exception stack trace —
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.Ht
Analysis:
After reading AC’s blogpost and I find out the issue is to do with the service bus. Then I found out the following services are not started
Solution:
So I start the Service Bus Gateway and Service Bus Message Broker and the problem goes away.
References:
SharePoint 2013 Workflow – Advanced Workflow Debugging with Fiddler