glo*_*rob 1 exception dynamics-crm dynamics-crm-2011
目前为止的步骤:
错误!
未处理的异常:System.IO.FileLoadException:无法加载文件或程序集'file:/// C:\ crmtools\PluginRegTool\PluginRegTool_1708_New_From_SDK\PluginRegistration.exe'或其依赖项之一.不支持操作.(HRESULT异常:0x80131515)
内部例外说:
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.
Run Code Online (Sandbox Code Playgroud)
我正在加载的插件库与PluginRegTool(我之前说过的CRM App服务器)位于同一个盒子上.regtool位于c:\驱动器上的文件夹下,插件库位于\\ server\bin\assembly下
用这个拉出我的头发,之前必须完成这100次!
任何帮助非常感谢.
对它进行排序
瞧瞧!
一个不太强调的CRM开发人员
希望这有助于其他人.
编辑:值得说这又发生了,这次是实际的插件库.它似乎是从其他机器传输文件导致此问题.如果有人对原因有更详细的解释,我很乐意了解更多相关信息.