SharePoint Experts, Information Architects, Expert Witness

SICG provides a broad array of business and technology consulting from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. We focus on the "How", not just the possible. Contact me direct: or call 704-873-8846 x704.

Search This Blog

Monday, September 26, 2011

The form cannot be rendered trying to publish a SharePoint Page

So you have you SP Site up and running - go to publish a new page and get this error:

“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.”

If you do this from the Pages/Site Pages Library, you'll find that it does indeed check-in the page and start the approval workflow (simply refresh the page and you'll see the status goes to 'pending'). You can then override the Approval process.

ONE CAUSE for this is when the SharePoint State Service isn't running which just means it wasn't set up during the installation (or it was installed using the Configuration Wizard and setup wasn't finished).

You can correct this using the SharePoint Management PowerShell with some pre-requisites:
1) You have to be logged in as the SharePoint Farm account
2) The account you are using must have Shell Administrative Access
3) You have to have SP_Shell access set in the SQL Server Database(s)
4) The account you are using has DB Create permission and has a mapping to the Master database

Open the SharePoint 2010 Management Shell via Start > All Programs > SharePoint (be sure to run as an Administrator!).

Make sure the account you are using has Shell Admin access:

Shell> Add-SPShellAdmin -username domain\account

Once the shell is open, create a new Service Application by typing in:

Shell> $SPStateSvc = New-SPStateServiceApplication -Name “SP State Service”

NOTE If you get an error that says the name is not unique, the state service was already created (so this won't fix your publishing problem).

Next create a State Service database for the new Service Application by entering:

Shell> New-SPStateServiceDatabase -Name ”StateServiceDB” -ServiceApplication $SPStateSvc

Last, create an Application Proxy for the Service:

Shell> New-SPStateServiceApplicationProxy -Name ”SP State Service” -ServiceApplication $SPStateSvc -DefaultProxyGroup

Run an IISReset (as an Administrator) and try again!!
Post a Comment