SharePoint 2013 error The given assembly name or codebase System.ServiceModel.dll was invalid
2015-10-27 16:13
856 查看
笔者近期在 SharePoint 2013 的环境中遇到一个奇怪的问题,前一天 SharePoint
2013 站点还是好好的。可是突然站点就报page can't display 500 错误:
The given assembly name or codebase, 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll',
was invalid.
Description: Anunhandled 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.
Exception Details: System.IO.FileLoadException: The
given assembly name or codebase, 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll', was invalid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
[FileLoadException: The given assembly name or codebase, 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll', was invalid.] System.ServiceModel.Activation.ServiceHttpModule.BeginProcessRequest(Object sender, EventArgs e, AsyncCallback cb, Object extraData) +0 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +556 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288 |
.NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.19051
笔者花了大半天时间来调研这个问题,终于解决问题。特此将该问题的解决方法写出来 ,希望能够给碰到类似问题的朋友有所帮助 。
笔者后来发现这个环境里的服务帐号莫名奇异地被移出了本地管理员组。貌似不是人为的,可能是Windows 补丁或域安全策略导致的 。
无论是如何造成的。知道什么问题就好。笔者果断将服务帐号加回到全部 App 和 Web server的本地管理员组。
然后重新启动全部的IIS ,问题就攻克了 。
相关文章推荐
- [NOIP备考]随机化贪心解决动态规划问题(一星)
- C语言 二维数组动态分配和释放
- ChemDraw Std 14性价比最高版本,即将下架
- 判断
- [置顶] oracle表空间过大时候的处理
- 十六、变更管理; 十七、信息系统安全管理; 十八、项目风险管理
- 开发板与电脑连接局域网
- 面向对象第五次作业
- Android数据存储的5种方法
- opencv-第六章-霍夫变换
- MQTT学习笔记-Mosquitto的安装与启动
- 二分查找----第一种(相同元素返回不确定哪个)
- Android数据存储的5种方法
- 包 过程 函数
- rsync实现linux与windows数据同步
- Linux里如何查找文件内容
- android开发之使用上下文菜单
- linux centos python scrapy 环境配置
- react-native 添加 Toast 模块
- android开发之使用上下文菜单