Issue ASP.NET site running under .NET 2.0 has the following setting in web.config:
<sessionState mode="StateServer" stateNetworkTimeout="10"
cookieless="false" timeout="30"/>
When the application attempts to use the session cache, the following exception is thrown:
HttpException (0x80004005): Unable to use session state server because this version of ASP.NET requires session state server version 2.0 or above.
This exception occurs the very first time the session cache is used after the application is published to the server, after IIS is restarted, or after the application pool recycles. Subsequent uses of the session cache after the first exception is thrown do not result in an error. The session cache continues to work properly until the next application re-publish, IIS restart, or application pool re ...
Go to the complete details ...