22 March 2011

SharePoint - Enable SessionState in SharePoint 2010

I had SharePoint 2010 giving me an exception telling me to enable SessionState, so here's how I did that:
  • Run the SharePoint 2010 Management Shell located in the Start menu as administrator,
  • In it, run the command "enable-SPSessionStateService",
  • Give this command some database name,
  • In the Web.config, set enableSessionState to true.

No comments:

Post a Comment