Wednesday, February 24, 2010

Microsoft.Office.Server.Administration.StateServiceLocalizedException: A Microsoft SharePoint Server State Service error occurred while processing your request.

After upgrading a SharePoint 200 7 application to SharePoint 2010, I was trying to access an InfoPath form which was hosted in a web part on a page. The following error showed up on the page instead of the InfoPath Form:

Microsoft.Office.Server.Administration.StateServiceLocalizedException: A Microsoft SharePoint Server State Service error occurred while processing your request.

So, as the error was related to State Service, I wanted to make sure the state service was mapped to the web application.So, I went into the Central Administration site and followed the below steps:
  • Click on Manage web applications under Application Management tab
image
  • Select the web application in which the error is occurring
image
  • Click on Service Connections button on the Ribbon (the ribbon should be highlighted once you select the web application)
image
  • Now, on the popup, click on the checkbox next to the State Service  - State Service Proxy option. Make sure the check box is selected.
image
  • Click Ok
  • Now, return to the web application where the occurred and refresh the page. The InfoPath form should now load without any errors.

3 comments:

Anonymous said...

When I go to this screen in Central Admin, it loads the "default" group of connections (default appears in the drop down"). For the default every box is checked. When I select "Custom" it reloads and nothing is selected. Should I check everything for custom as well. Will that make any difference?

Prashanth Palakollu said...

Depends on the service application you need. If you need the unchecked ones, go ahead and check them. What will happen is the related services on different services will start and start consuming resources.
Usually, it is better to just the services you need.

Anonymous said...

Thanks you saved me from having to reset up a farm!

Post a Comment