Contexte Développement d'une WebPart pour SharePoint 2010 qui affiche les données stocké au niveau de la session utilisateur. Erreur System.Web.HttpException: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \ \ section in the application configuration. Solution Lance SharePoint 2010 Management Shell en tant qu'administrateur Exécuter cette commande Enable - SPSessionStateService - DefaultProvision