Exception 尝试通过Plugin Reg加载插件时出错。工具
迄今采取的步骤:Exception 尝试通过Plugin Reg加载插件时出错。工具,exception,dynamics-crm,dynamics-crm-2011,Exception,Dynamics Crm,Dynamics Crm 2011,迄今采取的步骤: 从微软下载的注册工具 建造 部署到CRM应用程序服务器(Win2k8计算机) 已加载并使用部署管理员帐户登录 添加新程序集 浏览到插件库 推开 错误 未处理的异常:System.IO.FileLoadException:无法加载文件或程序集的file:///C:\crmtools\PluginRegTool\PluginRegTool\u 1708\u New\u来自\u SDK\PluginRegistration.exe'或其依赖项之一。不支持此操作。(来自HRESULT
- 从微软下载的注册工具
- 建造
- 部署到CRM应用程序服务器(Win2k8计算机)
- 已加载并使用部署管理员帐户登录
- 添加新程序集
- 浏览到插件库
- 推开
- 错误 未处理的异常:System.IO.FileLoadException:无法加载文件或程序集的file:///C:\crmtools\PluginRegTool\PluginRegTool\u 1708\u New\u来自\u SDK\PluginRegistration.exe'或其依赖项之一。不支持此操作。(来自HRESULT的异常:0x8013155)
System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework.
This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous.
If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
我正在加载的插件库与PluginRegTool(我前面说过的CRM应用服务器)位于同一个框中。regtool位于c:\drive上的文件夹下,插件库位于\\server\bin\assembly下
用这个拔我的头发,一定做过100次了
非常感谢您的帮助。整理好了
- 右键单击插件注册工具exe文件
- 单击属性
- 文件已被“阻止”-右键单击并按“取消阻止”
- 右键单击插件注册工具exe文件
- 单击属性
- 文件已被“阻止”-右键单击并按“取消阻止”