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

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

  • Tuesday, January 31, 2012 10:28 AM
     
     

    Hi,

    I am  deploying silverlight treeview control as webpart on sharepoint page
    through silverlight code I am callint javascript method present on that page in following manner.

    HtmlPage.Window.Invoke("Reload", "");

    where 'Reload' is javascript method present on page.
    This 'Reload' inturn invokes C plus plus(C++) grid window(placed in another webpart).

    Here Issue is some time I get following exception
    "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
    while doing HtmlPage.Window.Invoke("Reload", "");

    strange thing is this issue is not consistent ...


    any comments/solution on this issue?