开发者

Attempt by security transparent method Kigg.Web.jQueryScriptManager.OnInit

开发者 https://www.devze.com 2023-03-16 15:11 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消