Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - System.AccessViolationException: Attempted to read or write protectedmemory. This is often an indication that other memory is corrupt

Reply
 
Old 12-26-2008   #1 (permalink)
Nitya Prakash


 
 

System.AccessViolationException: Attempted to read or write protectedmemory. This is often an indication that other memory is corrupt

Hi,
We are using TinyMCE as HTML editor and it is embedded on a html
page. A WebBrowser control is used to display this page in a window
application. I am invoking SetContent method from window to set the
content in tinyMCE. It was perfectly working for a year, however it
start throwing below error since today. It is not happening for all
users only one user encountering this issue inconsistently.

System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.IDispatch.Invoke(Int32
dispIdMember, Guid& riid, Int32 lcid, Int32 dwFlags, tagDISPPARAMS
pDispParams, Object[] pVarResult, tagEXCEPINFO pExcepInfo, IntPtr[]
pArgErr)
at System.Windows.Forms.HtmlDocument.InvokeScript(String
scriptName, Object[] args)
at
MorganStanley.ctrls.PEPlus.PEPUI.DataMgmt.TemplateUI.pepTimer1_Tick
(Object sender, EventArgs e) in C:\FAR\pe\PEPlus\Application
\BaseRelease\UI\DataMgmt\TemplateUI.cs:line 791
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
I am not sure why it started throwing exception suddenly. Can we get
rid of this issue by re-installing the .NET Framework 2.0.
Help is highly appriciated.
Thanks,
Nitya

My System SpecsSystem Spec
Old 12-27-2008   #2 (permalink)
Ray Phillips


 
 

Check your memory.

I have only run accross this problem once, and it turned out to be a fault of
the computer, not the program. I would check the computers RAM with a memory
testing program such as MemTest86 (free), or if the computer runs vista, you
can hit F8 while booting and use the recovery tools. It has a built in
memory test application.

This seems the most likely to me since you have not had problems before and
you are only having problems on one computer.

You may want to scan for malware as well (virus/spyware).

-Ray
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to: Dual use USB drive ---> Read/Write from Computer and Read from "Stand Alone DVD Player" Vista General
read/write permissions Vista account administration
Slow SD read and write Vista hardware & devices
READ AND WRITE FOLDER FOR EVERYBODY Vista file management
Ati Radeon 9550 using system memory? 511mb shared system memory. Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46