2013-01-31 2 views
2

저는 Azure 웹 사이트에서 STS를 작동 시키려고했습니다. 그래서 기본 인터넷 템플릿을 사용하여 MVC4 응용 프로그램을 만들었습니다. 그런 다음 Azure에서 STS를 만들고 ID 및 액세스 메뉴를 사용하여 연합 보안을 설정했습니다. 그런 다음 컨트롤러의 메소드에 [Authorize] 태그를 추가하면 브라우저가 LiveId 계정을 입력 할 수있는 STS로 올바르게 리디렉션됩니다. 그러나 나는 내가 놓친 것이 작은 일이 있다고 생각이 오류 나는 여러 가지가이 작업을 얻기 위해 노력했다MVC4 Azure 웹 사이트의 STS

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 

[CryptographicException: 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.] 

[InvalidOperationException: ID1074: A CryptographicException occurred when attempting to encrypt the cookie using the ProtectedData API (see inner exception for details). If you are using IIS 7.5, this could be due to the loadUserProfile setting on the Application Pool being set to false. ] 

를 얻을. 누구든지이 문제를 겪고 해결책을 찾았습니까?

답변