A critical error has occurred.Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
I solved this problem by changing the event name. There was two classes having same event name. Both class is used in two user control. And two user control placed on one page. This was creating problem.
My System environment:
Win Server 2008 R2
IIS 7 - 64 bit
VS 2010
.Net 3.5
My System environment:
Win Server 2008 R2
IIS 7 - 64 bit
VS 2010
.Net 3.5
http://bloggingabout.net/blogs/dennis/archive/2009/06/08/attempted-to-read-or-write-protected-memory-in-a-net-application.aspx
ReplyDeletehttp://archistance.blogspot.com/2010/05/exception-attempted-to-read-or-write.html
ReplyDeletehttp://www.telerik.com/community/forums/aspnet/editor/attempted-to-read-or-write-protected-memory-this-is-often-an-indication-that-other-memory-is-corrupt.aspx
ReplyDeletehttp://www.telerik.com/support/kb/aspnet-ajax/general/error-message-attempted-to-read-or-write-protected-memory.aspx
ReplyDeletehttp://www.codeease.com/system-accessviolationexception-attempted-to-read-or-write-protected-memory.html
ReplyDelete