Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am getting error while applying TableStorageSessionStateProvider in my web application. I have used AspProvider.dll contents. It is working perfectly with emulator but failing on azure. Do anyone have an idea the real cause of it?

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception.

Source Error:


Line 25: <providers>
Line 26: <clear>
Line 27: <add name="TableStorageSessionStateProvider" type="myApp.WebInfrastructure.TableStorageSessionStateProvider">
Line 28:
Line 29:

Source File: D:\home\site\wwwroot\web.config Line: 27

Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi, Version=2.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900