AccessControlServiceThedataprotectionoperationwasuns
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了AccessControlServiceThedataprotectionoperationwasuns,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1522字,纯文字阅读大概需要3分钟。
内容图文
![AccessControlServiceThedataprotectionoperationwasuns](/upload/InfoBanner/zyjiaocheng/529/f511bd1fbe7d4edda6aba43706113dd3.jpg)
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.
内容总结
以上是互联网集市为您收集整理的AccessControlServiceThedataprotectionoperationwasuns全部内容,希望文章能够帮你解决AccessControlServiceThedataprotectionoperationwasuns所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。