我使用部署在Azure WebSites中的SignalR获得了此异常.它在调试环境中工作正常.它是SignalR 1.0.1,我使用.NET MVC和WebApi
The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Cryptography.CryptographicException: The data protection operation was unsuccessful. This may …Run Code Online (Sandbox Code Playgroud)