Session state can only be used when enableSessionState is set to true either in a configuration

后端 未结 12 952
[愿得一人]
[愿得一人] 2020-11-29 04:44

I am working on Asp.net MVC 2 app with c# by using vs 2010.I am having below mentioned error when I run my app locally under debug mode.

Error message image is as be

12条回答
  •  不知归路
    2020-11-29 05:06

    also if you are running SharePoint and encounter this error, don't forget to run

    Enable-SPSessionStateService -DefaultProvision
    

    or you will continue to receive the above error message.

提交回复
热议问题