System.accessviolationexception Attempted to read or write protected memory. This is often an indication that other memory is corrupt


System.accessviolationexception Attempted to read or write protected memory. This is often an indication that other memory is corrupt



I am getting following error System.accessviolationexception Attempted to read or write protected memory. This is often an indication that other memory is corrupt.  

when accessing a method of external dll.

I have used this dll many other projects which also uses .net 3.5. This external dll uses method from another dll. All this worked fine prior to this project. Am not sure what causing this. I have searched a lot and tried many solutions that people suggested but to no avail. If I use directly the second dll, i.e. the one that is called from the dll it worked fine, but I can't do that, as I need to use this one and not directly the second one.

Your help will be highly appreciated. Regards Kdj


How do I pass a list of integers to an MVC action?

1:

MVC.net form post/anti forgery
First of All, your question does not contain exact details regarding WHEN error occurs.. MVC - Changing or adding a class for either 'Html.ValidationMessage' or 'Html.TextBox' When accessing a Method from External DLL, I faced the same problem. Should my ViewModel's constructor populate the ViewModel's data?This must be solved by Pinning passed parameters. Jquery problem:validation code not workingSometime GC will relocate them and it will cause above error.. How to make selectedItem in a SelectList be dynamic Try to Pin down!. Master ASP.NET MVC
How do I convert DateTime format to ShortDateString in Jquery?

79 out of 100 based on 19 user ratings 59 reviews

#