Geeks With Blogs
Pankaj Tahiliani

Problem: MethodAccessException: Attempt by method 'DynamicClass.lambda_method(System.Runtime.CompilerServices.Closure)' to access method 'System.Web.UI.Control.get_ViewState()' failed

Possible Solution: Add the below line in web.config under <system.web> tag
<trust level="Full"/>

Posted on Friday, August 30, 2013 7:23 PM | Back to top

Comments on this post: System.Web.UI.Control.get_ViewState() failed

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Pankaj Tahiliani | Powered by: | Join free