簡體   English   中英

CKEditor .Net安全異常

[英]CKEditor .Net Security Exception

我有另一個關於“安全性異常”的問題,盡管這似乎應該更容易解決。

我已將CKEditor .Net庫添加到我的站點中(從此處: http ://cksource.com/forums/viewtopic.php?f=11&t=15882)

我已將其作為常規控件包含在我的頁面中:

<%@ Register Assembly="FredCK.CKEditor" Namespace="FredCK.CKEditor" TagPrefix="ck" %>

並將其放在頁面上:

<ck:CkEditor runat="server" id="Editor" Width="692px" Height="400px" />

但是,當我運行頁面時,出現以下消息:

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

在CKEditor .Net項目中,有一個strongKey文件...我想這是我在哪里出錯了,但是我無法弄清楚哪里。

任何人有什么想法嗎?

該文件位於UNC共享上嗎? 我看過幾篇文章引起了這個錯誤。

最后,我設法通過下載更新版本的dll使其運行

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM