>데이터 베이스 >MySQL 튜토리얼 >Access Control Service The data protection operation was uns

Access Control Service The data protection operation was uns

WBOY
WBOY원래의
2016-06-07 15:50:171218검색

Q : I am receiving exception with the following message: 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

Q: I am receiving exception with the following message:

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.

A: Configure IIS to load user profile. To configure IIS to load user profile follow these steps:

  • Open IIS Manager.
  • Find out what AppPool your application is using by selecting your App, right-click on it, and Select Manage Application -> Advanced Settings.
  • After that, on the top left hand side, select Applications Pools, and go ahead and select the App Pool used by your app.
  • Right-click on the App Pool, and select Advanced Settings, Go to the Process Model div and Find the "Load User Profile" Option and set it to true.


After this change, I solved the error above, but I encountered another error which is Application Pool shut down automatically. And I checked the error log, here is the error message:

Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly. 
 DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.