This is being asked here because their is no supported asp.net forum; So please don't ask me to go there. Also you don't get responses even if you post to the newsgroup. The concerige said to post here.
I have an asp.net 4.0 app on a win7 64bit box. It debugs fine.
When I deploy to 08 server in a 4.0 classic application pool I get the error
Assembly ' Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'
is marked with the AllowPartiallyTrustedCallersAttribute, and uses the level 2 security
transparency model. Level 2 transparency causes all methods in AllowPartiallyTrustedCallers
assemblies to become security transparent by default, which may be the cause of this exception.
I have AllowPartiallyTrustedCallers set in the dll and in the web app.
It doesn't error on an 2003 server
View Complete Post