Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Session state can only be used when enableSessionState is set to true error

$
0
0
I am receiving the below error, I have applied all the possible changes in web.config, but still not able to get rid of this issue:Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.Applied Solutions:- Included this in web.config@modules runAllManagedModulesForAllRequests="true"@ @/modules@ @system.web@ @pages enableSessionState="true" validateRequest="false" clientIDMode="AutoID" controlRenderingCompatibilityVersion="4.0"@ @/system.web@

Viewing all articles
Browse latest Browse all 8901

Trending Articles