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

Comments

  1. http://bloggingabout.net/blogs/dennis/archive/2009/06/08/attempted-to-read-or-write-protected-memory-in-a-net-application.aspx

    ReplyDelete
  2. http://archistance.blogspot.com/2010/05/exception-attempted-to-read-or-write.html

    ReplyDelete
  3. http://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

    ReplyDelete
  4. http://www.telerik.com/support/kb/aspnet-ajax/general/error-message-attempted-to-read-or-write-protected-memory.aspx

    ReplyDelete
  5. http://www.codeease.com/system-accessviolationexception-attempted-to-read-or-write-protected-memory.html

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Fix Secure Connection Failed Error in Mozilla Firefox

PortQry solve your connectivity issues