none
question on state service application RRS feed

  • Question

  • I don not plan to use Infopath on my SharePoint 2010. Should I still enable the State Service Application?

    Is it only for Infopath state? or will it be used for ASP.NET Session object which is used to maintain state in asp.net applications?

    Friday, January 7, 2011 10:29 AM

Answers

  • Here are the specifics on what the State Service manages:

    http://technet.microsoft.com/en-us/library/ee704548.aspx

    If you have pages or application that use ASP.Net session state in SharePoint 2010, you need to enable a different service application:

    http://technet.microsoft.com/en-us/library/ff607857.aspx


    JD Wade
    Senior SharePoint Consultant, MCTS
    Horizons Consulting, Inc.
    Blog: http://wadingthrough.com
    Twitter: http://twitter.com/jdwade
    • Marked as answer by MSDN Student Monday, January 10, 2011 4:43 PM
    Friday, January 7, 2011 2:44 PM
  • In the first link, the very next sentence after what you quoted states:

    "In SharePoint Server 2010, the State Service is required by InfoPath Forms Services (including out of the box and custom workflow forms), the SharePoint Server 2010 Chart Web Part, and certain Microsoft Visio 2010 scenarios that do not use Microsoft Silverlight 3."

    These are the items that use the "State Service" Service Application.

     

    The second link I point to tells you how to enable the "Session State Service" Service Application which is what handles pages that use ASP.Net session state (not required unless you are adding things to SharePoint 2010 yourself that use ASP.Net session state).


    JD Wade
    Senior SharePoint Consultant, MCTS
    Horizons Consulting, Inc.
    Blog: http://wadingthrough.com
    Twitter: http://twitter.com/jdwade
    • Marked as answer by MSDN Student Monday, January 10, 2011 4:43 PM
    Friday, January 7, 2011 3:02 PM

All replies

  • Hi

    Session state is used by SharePoint not only Infopath state but also to maintain some other session data. So laeve it enabled and associated to your web application. Check this

    http://www.astaticstate.com/2010/01/sharepoint-2010-service-architecture.html

    Friday, January 7, 2011 10:47 AM
  • Is there some Microsoft authored content which states that this is used outside of Infopath requirements?
    Friday, January 7, 2011 10:53 AM
  • Here are the specifics on what the State Service manages:

    http://technet.microsoft.com/en-us/library/ee704548.aspx

    If you have pages or application that use ASP.Net session state in SharePoint 2010, you need to enable a different service application:

    http://technet.microsoft.com/en-us/library/ff607857.aspx


    JD Wade
    Senior SharePoint Consultant, MCTS
    Horizons Consulting, Inc.
    Blog: http://wadingthrough.com
    Twitter: http://twitter.com/jdwade
    • Marked as answer by MSDN Student Monday, January 10, 2011 4:43 PM
    Friday, January 7, 2011 2:44 PM
  • I have already read this (http://technet.microsoft.com/en-us/library/ee704548.aspx) document and it is ambigous (to me)

    It says

    "Microsoft SharePoint Server 2010 components to store temporary data across related HTTP requests in a SQL Server database"

     

    So the ASP.NET Session is the temporary data accross HTTP requests right??

    Later this document does not mention the ASP.NET anymore.

    Then there are blogs which do mention otherwise, and this confuses me even more.

    > you have pages or application that use ASP.Net session state in SharePoint 2010, you need to enable a different service application:

    Which service application is that?

    Friday, January 7, 2011 2:50 PM
  • In the first link, the very next sentence after what you quoted states:

    "In SharePoint Server 2010, the State Service is required by InfoPath Forms Services (including out of the box and custom workflow forms), the SharePoint Server 2010 Chart Web Part, and certain Microsoft Visio 2010 scenarios that do not use Microsoft Silverlight 3."

    These are the items that use the "State Service" Service Application.

     

    The second link I point to tells you how to enable the "Session State Service" Service Application which is what handles pages that use ASP.Net session state (not required unless you are adding things to SharePoint 2010 yourself that use ASP.Net session state).


    JD Wade
    Senior SharePoint Consultant, MCTS
    Horizons Consulting, Inc.
    Blog: http://wadingthrough.com
    Twitter: http://twitter.com/jdwade
    • Marked as answer by MSDN Student Monday, January 10, 2011 4:43 PM
    Friday, January 7, 2011 3:02 PM