Friday 13 September 2013

Register-SPWorkflowService –SPSite Error

Register-SPWorkflowService –SPSite Error

Register-SPWorkflowService –SPSite “http://c4968397007/” –WorkflowHostUri “https://c4968397007:12290″ –AllowOAuthHttp

If the above script getting the error, then

1. Open the IIS manager in SharePoint Server
2. Expand Sites
3. Right click on Workflow Management Site, Click on Edit Bindings, Click on Add, Enter the Port as 12291 and click on ok.



4. Now browse the Workflow Management Site.
5. Now the the above script as follows

Register-SPWorkflowService –SPSite “http://c4968397007/” –WorkflowHostUri “http://c4968397007:12291″ –AllowOAuthHttp

It will be executed now


Thursday 12 September 2013

Configure Workflow Manager On Server is a Part of the SharePoint 2013

Configure Workflow Manager On Server is a Part of the SharePoint 2013

Workflow infrastructure in SharePoint 2013 is not set up as part of the installation process of the platform. You can install WAS in an independent server or in a web frontend server after you have installed SharePoint 2013.

We have two options to install Workflow infrastructure for SharePoint 2013:
 
1. Use the Web Platform Installer available at:
http://www.microsoft.com/web/downloads/platform.aspx
 
2. Download and install the workflow individual components from
http://www.microsoft.com/en-us/download/details.aspx?id=35375

Installing Workflow Manager 1.0
To simplify the workflow infrastructure setup, we are going to use the Web Platform Installer option explained above:
  • Download the installer from the web and execute it.
  • In the “Spootlight” tab of the Web Platform Installer, look for the SharePoint workflow components by using the sesrch box.
  • In the search results, click the “Add” button for the Workflow Manager 1.0 row. Then, click the “Install” button.
image
  • The installation process will install Workflow Manager 1.0 and configure all the necessary dependencies:
    • Execute ASP.NET IIS Registration Tool.
    • IIS Management Service.
    • Service Bus 1.0.
    • Microsoft Windows Fabric.
  • In order to start the installation process, just click the “I accept” button in the wizard.
image
  • Once the installation process ends, you can start with the configuration as it’s described in the “Configure” step tab of the wizard. Click the “Continue” button so the wizard shows a summary window with all the components installed and configured.
image
Configuring Workflow Manager 1.0
Once you have installed Workflow Manager 1.0, a configuration window wizard is started:
  • As you can see, there are three possibilities for configuring the Workflow Manager. Just click the first one:
image
  • In the first configuration window of the wizard, you have to specify parameters like:
    • SQL Server where all the needed databases will be created.
    • Service account.
    • Key for certificates generation.
image
  • Click the “Next” button in order to start the configuration. In the next window, check that all configurations are right and press the “Configuration” button.
image
  • If everything is correct with the configuration, the next window will confirm that all configurations are complete without any errors or warnings.
image
Testing the installation
Well, once you have finished the configuration process you should verify that everything is right:
  • Some databases (5) have been created. You can check databases created by using the SQL Server Management Studio.
image
  • A new IIS site for workflow management has been created. You can check it by using the IIS Manager.
image
  • The workflow service endpoint (by means of the site created) is ready to be utilized. You can check it by browsing the Workflow Management Site from IIS Manager.
image
Associating the workflow service with an existing Site Collection
Well, you are almost done and only need one additional configuration step in order to start creating and deploying SharePoint 2013 workflows: you need register the workflow service with an existing site collection by using the following Register-SPWorkflowService cmdlet. Execute it in the SharePoint 2013 Management Shell. Please ensure you use the following syntax:
Register-SPWorkflowService –SPSite “http://c4968397007/” –WorkflowHostUri “https://c4968397007:12290″ –AllowOAuthHttp
[ Note : The above script unable to execute using the URI as Https   Then Click on this link how to do http://www.blogger.com/blogger.g?blogID=3840435550659422660#editor/target=post;postID=4742666287090848379;onPublishedMenu=posts;onClosedMenu=posts;postNum=0;src=postname  ]
Finally, open SharePoint Designer 2013 and check you can create SharePoint 2013 workflows Sonrisa
image
And that’s all you need to know about how to setup the workflow infrastructure for SharePoint 2013.