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

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

    Following answer from below given path worked fine.

    I found a solution that worked perfectly! Add the following to web.config:

    
    
    
    
    
    
    
    

    Hope this helps someone else!

提交回复
热议问题