2012-08-17 72 views
1

到此爲止:錯誤嘗試通過插件註冊加載插件。工具

  • 下載註冊工具從MS
  • 內置
  • 部署到CRM應用服務器(Win2k8機)
  • 承載和部署管理員帳戶登入
  • 添加新裝配
  • 瀏覽到插件庫
  • 新聞打開
  • 錯誤!

    未處理的異常: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. 

我加載的插件庫是坐在同一個盒子作爲PluginRegTool(客戶關係管理應用程序服務器正如我以前說過)。 regtool位於c:\驅動器的一個文件夾下,並且插件庫位於\\ server \ bin \ assembly下

用這個拉出我的頭髮,以前必須完成100次!

任何幫助非常感謝。

回答

5

排序它

  • 右鍵單擊插件註冊工具exe文件
  • 單擊屬性
  • 文件已經被 '封鎖' - 右鍵單擊​​並選擇 '疏通'

的Et瞧!

一個不那麼強調的CRM開發者!

希望這可以幫助別人。

編輯:值得說這再次發生,這次是實際的插件庫。它似乎是圍繞從其他機器傳輸文件導致此問題。如果有人對這個原因有更詳細的解釋,我很想得到更多的信息。

+0

今天你是我最愛的人,謝謝! – kale909 2015-06-03 16:31:02