I am trying to configure Kigg project on my machine and i am getting this error.
Attempt by security transparent method 'Kigg.Web.jQueryScriptManager.OnInit(System.EventArgs)' to access LinkDemand protected method 开发者_如何转开发 'Kigg.Web.jQueryScriptManager.get_Current()' failed. Methods must be security critical or security safe-critical to satisfy a LinkDemand.
Can someone please help me to resolve this error.
StackTrace
at Kigg.Web.jQueryScriptManager.OnInit(EventArgs e) in D:\EDrive\My WebSites\MyUpdates\MyUpdates\Source\Web\Controls\jQueryScriptManager.cs:line 111 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Try adding this attribute to your class [SecuritySafeCritical]
Read more about it here or here
精彩评论