I ran Workflow Manager on the server. In the SharePoint shell I have been running the following command with [myservername]/[mysitecollectionname]
being the actual URL of server and site collection.
Register-SPWorkflowService -SPSite "http://[myservername]/[mysitecollectionname]" -WorkflowHostUri "http://[myservername]:12290"
Here is the error I am getting:
(I had posted this question previously but on a non-logged in and disorganized post on my part. This is my first post in being an actual member around here :))
Microsoft.Workflow.Client.WorkflowCommunicationException: The underlying connection was closed: An unexpected error occurred on a receive. Client ActivityId : e4fd62b4-00bb-458e-b5bd-95529a187ee6. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) - -- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult) - -- End of inner exception stack trace ---
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) - -- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.ScopeManager.Get()
at Microsoft.SharePoint.WorkflowServices.WorkflowServerPairingContext.RegisterFarm()
at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService.InternalProcessRecord()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
also:
Register-SPWorkflowService : The underlying connection was closed: An unexpected error occurred on a receive. Client ActivityId : 1efcdbef-e934-4188-a1a8-779ba2c2885a. At line:1 char:1 + Register-SPWorkflowService -SPSite
http://acmesp/sites/DevTeam
-WorkflowHostUr ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ + CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService: RegisterSPWorkflowService) [Register-SPWorkflowService], WorkflowCommunica tionException + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell
.RegisterSPWorkflowService