2010-01-16 205 views
2

我遇到安全異常的另一個問題,雖然這感覺應該更容易解決。CKEditor .Net安全異常

我在我的網站的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文件...我想這是我要去某處的地方,但我無法解決問題。

任何人的任何想法請嗎?

回答

0

最後,我設法通過下載更新版本的dll來工作

1

該文件是否位於UNC份額上?我看過幾篇文章,導致了這個錯誤。