Hello,
after installing the upgrade to 2.2.0 I get tons of these error messages all the time:
http://forumvirtuellewelten.de/Default.aspx ) for the first time a day.
Error In DigestSendTask Task
System.TypeInitializationException: The type initializer for 'TypeMeta`1' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXX' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Reflection.Emit.DynamicMethod.PerformSecurityCheck(Module m, StackCrawlMark& stackMark, Boolean skipVisibility)
at System.Reflection.Emit.DynamicMethod..ctor(String name, Type returnType, Type[] parameterTypes, Module m, Boolean skipVisibility)
at ServiceStack.ReflectionExtensions.GetConstructorMethodToCache(Type type)
at ServiceStack.ReflectionExtensions.TypeMeta`1..cctor()
--- End of inner exception stack trace ---
at ServiceStack.ReflectionExtensions.CreateInstance[T]()
at ServiceStack.OrmLite.OrmLiteUtils.CreateInstance[T]()
at ServiceStack.OrmLite.OrmLiteUtils.ConvertToList[T](IDataReader dataReader, IOrmLiteDialectProvider dialectProvider)
at ServiceStack.OrmLite.OrmLiteResultsFilterExtensions.ConvertToList[T](IDbCommand dbCmd, String sql)
at ServiceStack.OrmLite.OrmLiteReadCommandExtensions.SelectFmt[T](IDbCommand dbCmd, String sqlFilter, Object[] filterParams)
at ServiceStack.OrmLite.OrmLiteReadCommandExtensions.Select[T](IDbCommand dbCmd)
at ServiceStack.OrmLite.OrmLiteReadApi.
YAF Version: v2.2.0
.NET Version: 4.0.30319.18063
Hoster: "1&1 Unlimited Windows Plus" (http://www.1und1.de)
Edit: Is this because my hoster 1and1 only allows Medium trust level? I was googling my symptoms and then tried to set trust-level to "Full" in my web.config, which failed because 1and1 doesn't allow it.
Apart from that everything seems to work, though.
Also could someone please point me in the right direction to create my own syntax file? I had a LSL syntax file before the upgrade, but it doesn't work anymore, I think there's a new engine for syntax highlighting, right?
Edited by user
8 years ago
|
Reason: eta