I have an old azure application that runs on the azure 1.2 SDK and relies on WIF for authentication.
I recently tried updating it to the latest SDK (1.4).
Applications are built and run on Azure, including authentication with my STS. However, some pages on the site simply will not load the following errors.
Unable to find assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. [SerializationException: Unable to find assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4767763 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1725 System.AppDomain.get_Id() +0 <CrtImplementationDetails>.DoCallBackInDefaultDomain(IntPtr function, Void* cookie) +191 <CrtImplementationDetails>.LanguageSupport._Initialize(LanguageSupport* ) +354 <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* ) +102 [ModuleLoadException: The C++ module failed to load while attempting to initialize the default appdomain. ] <CrtImplementationDetails>.ThrowModuleLoadException(String errorMessage, Exception innerException) +50 <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* ) +169 .cctor() +33
I made sure that the WIF dependency is set to copy the local - and it works - some pages work!
any ideas on how to resolve this?
Edit: error only occurs on pages that access tablestorage
source share