本文介绍了在SharePoint 2010网站中发生了意外错误.未提供所需的模拟级别,或者提供的模拟级别无效. (来自HRESULT的异常:0x80070542)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我重新启动IIS站点时浏览它时,在浏览器中抛出了意外错误,这时有Sharepoint 2010文档中心站点,但工作正常,但是每天早上站点仍然无法正常工作,并且看到以下错误

There is Sharepoint 2010 Document center site when i browse its throw unexpected error in browser when i restart IIS site works fine but again everyday morning site not working and i saw below errors

访问/sites/93/default.aspx时出现应用程序错误,错误=无法加载文件或程序集'Microsoft.Web.CommandUI,版本= 14.0.0.0,区域性=中性,PublicKeyToken = 71e9bce111e9429c'或其依赖项之一.所要求的模拟级别都不是 提供,或提供的模拟级别无效. (来自HRESULT的异常:0x80070542)
在System.Reflection.Assembly._nLoad处(AssemblyName文件名,字符串codeBase,证据AssemblySecurity,程序集locationHint,StackCrawlMark& stackMark,布尔throwOnFileNotFound,布尔forIntrospection).
在System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,证据assemblySecurity,StackCrawlMark& stackMark,用于自省的布尔值)处
在System.Reflection.Assembly.InternalLoad处(String assemblyString,Evidence assemblySecurity,StackCrawlMark& stackMark,用于自省的布尔值)
在System.Reflection.Assembly.Load(String assemblyString)
在System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)

Application error when access /sites/93/default.aspx, Error=Could not load file or assembly 'Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)

System.IO.FileLoadException:无法加载文件或程序集"Microsoft.Web.CommandUI,版本= 14.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c"或其依赖项之一.没有提供所需的模拟级别,或者提供的模拟 级别无效. (来自HRESULT的异常:0x80070542)
在System.Reflection.Assembly._nLoad处(AssemblyName文件名,字符串codeBase,证据AssemblySecurity,程序集locationHint,StackCrawlMark& stackMark,布尔throwOnFileNotFound,布尔forIntrospection).
在System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,证据assemblySecurity,StackCrawlMark& stackMark,用于自省的布尔值)处
在System.Reflection.Assembly.InternalLoad处(字符串assemblyString,证据assemblySecurity,StackCrawlMark& stackMark,布尔值用于自省)
在System.Reflection.Assembly.Load(String assemblyString)
在System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)

System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)

wfe服务器中存在权限

there is permissions exists in wfe server

SPFarm或应用程序池具有策略访问权限.

SPFarm or app pool have policy accesss.

本地安全性>> >验证后假冒客户添加用户

locat security >> impersonate a client after authentification > add user

adil

推荐答案

您是否更改了管理帐户和服务帐户的密码?您在哪里更改了密码帐户?在Active Directory中?

Did you change the passwords of the managed account and service account? Where did you change the passwords account? In Active directory?

如果是这样,还应该更新IIS中应用程序池中的帐户.

If so, you also should update the accounts in the application pools in IIS.

转到IIS->应用程序池->选择一个更改了帐户密码的应用程序池->右键单击并选择高级设置"->查找身份"->更改帐户密码

Go to IIS->Application pools->Select one application pool which account’s password is changed->Right click and select "Advanced settings"->Find "Identity"->Change the password of the account.

更多参考:

SharePoint 2010 –服务帐户密码更改指南.

SharePoint 2010 – Service Accounts Passwords Change Guide.

https://博客. msdn.microsoft.com/charliechirapuntu/2013/01/16/sharepoint-2010-service-accounts-passwords-change-guide/

最诚挚的问候,

萨拉范


这篇关于在SharePoint 2010网站中发生了意外错误.未提供所需的模拟级别,或者提供的模拟级别无效. (来自HRESULT的异常:0x80070542)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-20 19:25