解决大会没找到| FileNotFoundException异常|融合日志 [英] Solving Assembly not Found | FileNotFoundException | Fusion Log
问题描述
我想我的部署解决方案包(WSP)到SharePoint 2007环境。水安全计划包含一个功能,它加载功能接收器类在运行时部署计时器作业。
I am trying to deploy my solution package (wsp) to SharePoint 2007 environment. The WSP contains a feature which loads the feature receiver class to deploy a timer job at run time.
在部署这种WSP,我一直让
While deploying this WSP, I am consistently getting
功能 fb631f6c-2c46-4ab5-b7b3-f3d0c949c5f0 无法安装,因为 装载事件接收器组件的 XXX,版本= 1.0.0.0, 文化=中立, 公钥= bad6857072694970 失败: System.IO.FileNotFoundException
Feature 'fb631f6c-2c46-4ab5-b7b3-f3d0c949c5f0' could not be installed because the loading of event receiver assembly "XXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bad6857072694970" failed: System.IO.FileNotFoundException
我有双重检查一切(公钥标记,集名称等)是正确的。我在过去的许多部署WSP和我很困惑,为什么这个人是失败的。
I have double checked everything (public key token, assembly name etc) is correct. I have deployed many WSP in past and I am confused why this one is failing.
要调试这一点,我使用的程序集绑定日志查看器。我选择登录异常文本,并给予自定义日志路径。无论我得到任何的日志信息和异常文本始终让这条消息:
To debug this , I am using Assembly Binding Log Viewer. I have selected "Log in exception text" and given custom log path. Neither I am getting any log messages and the exception text is consistently giving this message:
警告:程序集绑定日志记录 关掉。要启用程序集绑定 故障记录,设置注册表 值 [HKLM \软件\微软\融合!EnableLog] (DWORD)为1。注意:有一些 与性能下降相关 集绑定失败日志记录。至 关闭此功能,删除 注册表值 [HKLM \软件\微软\融合!EnableLog]。
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
任何想法,为什么这可能发生?如何启用程序集绑定日志查看?
Any ideas why this could be happening ? How to enable Assembly Binding Log viewing?
推荐答案
要打开日志记录使用注册表编辑器,并更新了错误消息的注册表项。
To turn the logging on use Regedit and updated the registry entry in the error message.
有可能你的程序需要不包含在包一个DLL
It could be that your program requires a dll that is not included in the package.
有时候它只是需要一个IISRESET意识到,DLL是在GAC中可用。
Sometimes it just needs an IISRESET to realise that the dll is available in the GAC.
这篇关于解决大会没找到| FileNotFoundException异常|融合日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!