Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Cannot Deploy Workflow

$
0
0

Hi,

I have configured Workflow Manager in my development machine, and it is connected to my SharePoint farm.

My account is a member of the local Administrators and the farm's Administrators groups.

When I try to deploy a workflow using Visual Studio 2013, running as Administrator, I get 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

I tried to call Register-SPWorkflowService again, using the command line:

Register-SPWorkflowService -SPSite http://nb-r9axltx/ -WorkflowHostUri http://nb-r9axltx:12291 -AllowOAuthHttp -Force

but I get the following exception:

Register-SPWorkflowService : The HTTP request has timed out after 200000 milliseconds.
At line:1 char:1
+ Register-SPWorkflowService -SPSite http://nb-r9axltx/ -WorkflowHostUri http://nb ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...WorkflowService: RegisterSPWorkflowService) [Register-SPWorkflowService], TimeoutException
    + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService

Also, if I try to access the http://nb-r9axltx:12291 URL, I get:

The caller does not have the necessary permissions required for this operation. Permissions granted: None. Required permissions: ReadScope.

Worklow Manager Configuration only allows me to leave the farm.

Any thoughts? What else can I do to get more information?

Thanks,

RP


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>