The SessionStateTempDataProvider requires SessionState to be enabled

前端 未结 6 1635
情歌与酒
情歌与酒 2021-01-01 00:38

My hybrid (web forms/MVC) project is working fine in my local development environment BUT when I deploy (xcopy) to my Test environment I get the error that SessionState is n

6条回答
  •  心在旅途
    2021-01-01 01:01

    If you happen to be using SQLServer as the sessionState mode such as

    
    

    make sure the connection string is correct and you have permission to the database. I realize this question was for InProc mode, but I hit the same error when I forgot to grant privs to the account my app was running as and this question was the top hit in my Google search.

提交回复
热议问题