N
Nitya Prakash
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
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