如何解决为什么没有遵循发布商政策文件的程序集绑定重定向? (Fusion告诉我它不是,但不是为什么)
背景
挖掘Fusion Log Viewer显示此IS工作的位置(为简洁而减少)
*** Assembly Binder Log Entry ***
...
The operation was successful.
...
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Publisher policy file is found at C:\WINDOWS\assembly\GAC_MSIL\Policy.12.0.Microsoft.SharePoint\14.0.0.0__71e9bce111e9429c\Policy.12.0.Microsoft.SharePoint.config.
LOG: Publisher policy file redirect is found: 12.0.0.0 redirected to 14.0.0.0.
LOG: Post-policy reference: Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL
在不工作的服务器上
*** Assembly Binder Log Entry ***
...
The operation failed.
...
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: GAC Lookup was unsuccessful.
两个服务器都在GAC中具有策略文件,如gacutil -l </ p>所示
Policy.12.0.Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL
答案 0 :(得分:0)
没有回答这样的问题&#34;如何进行故障排除[比Fusion给你的信息更多]&#34;但这就是我为解决这个特殊问题所做的工作。
在
找到Publisher政策文件程序集的副本C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\Policy\Policy.12.0.Microsoft.SharePoint.dll
使用
将其从GAC中删除gacutil /u Policy.12.0.Microsoft.SharePoint
重新安装
gacutil /i Policy.12.0.Microsoft.SharePoint
立即行动。
不知道最初是什么打破了它。