Tag Archives: InfoPath Forms Services

Problem rendering infoPath forms for External Lists

I was configuring a set of external content types and associated external lists the other day and encountered the following error message “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” when I create the lists to have associated InfoPath based forms (the ASPX based forms were still created).

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.

It turns out that because we chose to perform the configuration of services manually the config wizard wasn’t run and as a result the State Service wasn’t configured. To fix this problem we need to configure the state service either by running the config wizard through Central Admin or using the following process from within the SharePoint Powershell command window…

  1. Login to the server using the SharePoint Admin account
  2. On the Taskbar, click Start, point to Administrative Tools, and then open the Windows PowerShell Modules as administrator.
  3. In Windows PowerShell, create a service application by typing $serviceApp = New-SPStateServiceApplication -Name “State Service”
  4. Create a State Service database and associate it with a service application, by typing New-SPStateServiceDatabase -Name ”StateServiceDatabase” -ServiceApplication $serviceApp.
  5. Create a State Service Application Proxy and associate it with the service application by typing New-SPStateServiceApplicationProxy -Name ”State Service” -ServiceApplication $serviceApp -DefaultProxyGroup.

Once these instructions are run, you should have a new State Service Service Application visible under the Service Applications list. You might also need to verify that your web Applications iare associated with the new State Service Service Application before things will start working properly.

Advertisements

Leave a comment

Filed under Microsoft Office Sharepoint Server 2007, SharePoint 2010, Uncategorized