Monday, January 9, 2012

Cannot publish pages in SharePoint 2010

If you have created your SharePoint 2010 farm manually without running the farm Configuration Wizard, you might encounter this error when you try to publish a page

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.”

The problem is stat the State service is not configured since the Farm Configuration Wizard has not been run.

1.Click Start, point to Administrative Tools, and then click Windows PowerShell Modules.
2. Create a service application by typing $serviceApp = New-SPStateServiceApplication -Name “My State Service”
3. Create a State Service database and associate it with a service application, by typing New-SPStateServiceDatabase -Name ”MyStateServiceDatabase” -ServiceApplication $serviceApp.
4.Create a State Service Application Proxy and associate it with the service application by typing New-SPStateServiceApplicationProxy -Name ”My State Service” -ServiceApplication $serviceApp -DefaultProxyGroup.

In the Manage Service Application, verify if you are seeing new State Service application.  Remember to verify that your web Application is associated with the State Service Application.

Once these instructions are completed, you should be able to publish pages

No comments:

Post a Comment