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

Stimulsoft Reports.NET discussion
Post Reply
sphextor
Posts: 38
Joined: Tue Apr 01, 2008 1:42 am
Location: Thailand

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

Post by sphextor »

I got this error random when I preview report and try to move page from first page to last page

at System.Drawing.Graphics.DrawRectangle(Pen pen, Int32 x, Int32 y, Int32 width, Int32 height)
at Stimulsoft.Controls.Win.DotNetBar.DisplayHelp.DrawRectangle(Graphics g, Pen pen, Int32 x, Int32 y, Int32 width, Int32 height)
at Stimulsoft.Controls.Win.DotNetBar.DisplayHelp.DrawRectangle(Graphics g, Color color, Int32 x, Int32 y, Int32 width, Int32 height)
at Stimulsoft.Controls.Win.DotNetBar.DisplayHelp.DrawRectangle(Graphics g, Color color, Rectangle r)
at Stimulsoft.Controls.Win.DotNetBar.ToolTip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at KRSoft.SPWorkFlow2009.WorkFlowMainForm.mnuAppraisalAccountIncomeReport_ItemClick(Object sender, ItemClickEventArgs e) in C:\Documents and Settings\kritsadar\Desktop\KRSoft.SPWorkFlow2009\KRSoft.SPWorkFlow2009\WorkFlow\WorkFlowMainForm.vb:line 1526
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run()
at KRSoft.SPWorkFlow2009.Program.Main() in C:\Documents and Settings\kritsadar\Desktop\KRSoft.SPWorkFlow2009\KRSoft.SPWorkFlow2009\Program.vb:line 21
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

please help me

VS2008 with all servicepack , WinXP SP3
Stimulsoft 2009.1.338.0

Thank you
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

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

Post by Ivan »

Hello,

Can you send to us a simple test application, which can reproduce this error?

Thank you.
Post Reply