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

后端 未结 12 929
[愿得一人]
[愿得一人] 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:22

    I have got this error only when debugging the ASP .Net Application.

    I also had Session["mysession"] kind of variables added into my Watch of Visual Studio.

    the issue was solved Once, I have removed the Session Variables from watch.

提交回复
热议问题