我有一个由Devexpress创建的MVC应用程序。我在
上收到此错误www.site.com/Accoun/Login
Attempt by security transparent method 'DevExpress.XtraScheduler.Native.
FullTrustAppointmentMultiClientCacheItem.CreateHandler()' to access security critical method 'System.Runtime.InteropServices.GCHandle.Alloc(System.Object)' failed.
Assembly 'DevExpress.XtraScheduler.v13.2.Core, Version=13.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' is partially trusted,
which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself.
In order to access security critical code, this assembly must be fully trusted.
我该如何解决?
答案 0 :(得分:1)
如果不了解这种情况的所有方面,很难提出建议。您应该report this issue直接向DevExpress支持团队提供详细信息。我相信他们的人可以诊断出错误并指出你在MVC环境中使用Scheduler的正确方向。