Got Error :: The type initializer for 'Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration' threw an exception
Category: azure connectivity
sapna.y on Tue, 20 Dec 2011 05:15:36
MingXu-MSFT on Wed, 21 Dec 2011 05:34:23
I have replied a similar thread at:
Please check it and see whether it helps.
Windows Azure AppFabric cache only works for Windows Azure applications. It doesn't work for a Windows application, or an ASP.NET application that is not a web role. This makes sence, as if your application is not hosted in the cloud, storing cache data on a remote server will only slow you down rather than give you performance advantages. If you want to use cache locally, you can use Windows Server AppFabric cache.