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

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

    Session State may be broken if you have the following in Web.Config:

    
      
    
    

    If this is the case, you may want to comment out such section, and you won't need any other changes to fix this issue.

提交回复
热议问题