找不到中央管理员404错误 [英] Central Admin not found 404 error

查看:106
本文介绍了找不到中央管理员404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

所有突然的Central admin网站崩溃,并引发404错误.当我查看日志时发现了这个

All of sudden Central admin site went down and throws 404 error. When I look at log found this

" PublishingHttpModule.PostAuthorizeRequestHandler():分析URL时发生意外异常:System.TypeInitializationException:Microsoft.Office.Server.Utilities.HttpUrlEncoder的类型初始值设定项引发了异常. ---> System.IO.FileLoadException: 加载此程序集将产生与其他实例不同的授权集. (来自HRESULT的异常:0x80131401)位于System.Linq.Enumerable.Contains [TSource](IEnumerable`1源,TSource值)在Microsoft.Office.Server.Utilities.HttpUrlEncoder..cctor() ---内部异常堆栈跟踪的结尾---在Microsoft.Office.Server.Utilities.HttpUrlEncoder.TryConvertUrlPart(字符串输入,UrlPart部分,UrlConversion转换,String&结果,Exception& parseException)处. 在Microsoft.Office.Server.Utilities.HttpUrlBuilder ...上... f048609e-c4f9-6068-2d33-78e892c4ba96"

"PublishingHttpModule.PostAuthorizeRequestHandler(): Unexpected exception while analyzing URL: System.TypeInitializationException: The type initializer for 'Microsoft.Office.Server.Utilities.HttpUrlEncoder' threw an exception. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)     at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value)     at Microsoft.Office.Server.Utilities.HttpUrlEncoder..cctor()     --- End of inner exception stack trace ---     at Microsoft.Office.Server.Utilities.HttpUrlEncoder.TryConvertUrlPart(String input, UrlPart part, UrlConversion conversion, String& result, Exception& parseException)     at Microsoft.Office.Server.Utilities.HttpUrlBuilder... f048609e-c4f9-6068-2d33-78e892c4ba96"

是否有解决此问题的建议?

Any suggestion to fix this issue?


推荐答案

SamDany ,

Hi SamDany,

打开中央管理员的web.config,搜索"仅将LegacyCasModel设置为false 真实的

Open the web.config of the Central admin,search about "LegacyCasModel" key , then just set LegacyCasModel to false instead of true

From: 
<trust level="Full" originUrl="" legacyCasModel="true" />

To: 
<trust level="Full" originUrl="" legacyCasModel="false" />



i hope this will help you


这篇关于找不到中央管理员404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆