"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 <configuration>\<system.web>\<httpModules> section in the application configuration.".
This error occurs if you are using Session State in your ASP.Net Pages.
Session["Name"] = "Bhupesh Sharma"; //in your c# code
The solution is you need to do these 3 things in your ASP.NET web.config:
1. locate under the <system.web> <sessionState mode = "InProc"/> ... </system.web>
2. modify the <httpModules><add name="session" type="System.Web.SessionState.SessionStateModule"/>
3. modify <pages enableSessionState="true" />
Saturday, July 16, 2011
ASP.Net-Common occur while enabling Session State
Your project is not referencing the "MonoAndroid,Version=v8.1" framework. Add a reference to "MonoAndroid,Version=v8.1" in the "frameworks" section of your project.json, and then re-run NuGet restore.
I had the same problem. Reason: file obj/project.assets.json target "MonoAndroid,Version=v7.1" when my project target androi...
How to fix the Error Type universe cannot resolve assembly: System.Runtime, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50...
Checking Cap Lock status will be useful in Logon page where we can provide warning to user <Caps Lock is on. Having Caps Lock on may cau...
Error CS0234 The type or namespace name 'ApplicationInsights' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)Error CS0234 The type or namespace name 'ApplicationInsights' does not exist in the namespace 'Microsoft' (are you missing ...