StateServiceLocalizedException with InfoPath Forms Services 2010 

Tags:

So I just installed the beta 2 version of SharePoint 2010 the other day, but I was having a heck of a time getting forms and workflows to work. For instance, if I added a custom InfoPath form to a form library, and tried to create a new instance of that form via the "New Document" button I would just be navigated to a blank page! Also, whenever I tried to start an out of box workflow I would keep getting an error message, like it couldn't load the initialization form for that workflow.

 

I was poking around in the even log and saw a couple errors:

 

The form template failed to load. (User: PHILSDEVDOMAIN\Administrator, Form Name: Template, IP: , Request: http://workflows.inaction.com/_layouts/IniWrkflIP.aspx?List={81618fd8-9eeb-42ab-85ad-cc044e9204dd}&ID=1&TemplateID={409b6d90-2945-4e30-aa7a-073aaf5b59f4}&Source=http://workflows.inaction.com/Shared%2520Documents/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:workflowInitAssoc:-AutoGen-2009-07-30T07:17:54:395Z:1033, Type: StateServiceLocalizedException, Exception Message: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.)

 

AND…

 

Microsoft SharePoint Server State Service could not find a State Service Application Proxy associated with the current web application (http://workflows.inaction.com/_layouts/IniWrkflIP.aspx?List={81618fd8-9eeb-42ab-85ad-cc044e9204dd}&ID=1&TemplateID={409b6d90-2945-4e30-aa7a-073aaf5b59f4}&Source=http://workflows.inaction.com/Shared%2520Documents/Forms/AllItems.aspx

 

Well – after banging my head against the wall for a few hours and waiting my morning, I stumbled upon the "Farm Configuration Wizard". Turns out when I first installed SharePoint 2010 I felt I could do things myself, and passed up on the opportunity for SharePoint to configure itself. To fix the above errors, I just ran this wizard which in turn provisioned a service call the State Service, which apparently InfoPath Forms Server needs to host forms in the browser.

 

 

 

Run the wizard, and your forms and workflows should start to work…

 

Hopes this helps someone!!!!!

 

Phil

 
Posted by BENDER\pwicklund on 23-Nov-09
0  Comment  |  Trackback Url  | 0  Link to this post | Bookmark this post with:        
 
Failed to render control: Value does not fall within the expected range.

Comments

Bookmark and Share