我有另一个安全异常问题,尽管这感觉应该更容易解决。
我已经在我的网站中添加了 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 文件......我想这是我在某个地方出错的地方,但我就是不知道在哪里。
请问有人有什么想法吗?