This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Memory Overflow issue - protected memory

description

I just ran the 1.6 version from the download with a Access 2002 mdb. It gave an error for accessing protected memory and provided this stack trace:


AccessScrCtrl.exe!AccessScrCtrl.Program.Main()
[Managed to Native Transition]
AccessIO.dll!AccessIO.AccessApp.IntanceAccessApplication()
AccessIO.dll!AccessIO.AccessApp.AccessAppFactory(string fileName)
AccessScrCtrlUI.dll!AccessScrCtrlUI.ObjectTree.FileName.set(string value)
AccessScrCtrl.exe!AccessScrCtrl.MainFrm.AttachFile()
AccessScrCtrl.exe!AccessScrCtrl.MainFrm.selectFileButton_Click(object sender, System.EventArgs e)
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e)
System.Windows.Forms.dll!System.Windows.Forms.Button.OnClick(System.EventArgs e)
System.Windows.Forms.dll!System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs mevent)
System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks)
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)
System.Windows.Forms.dll!System.Windows.Forms.ButtonBase.WndProc(ref System.Windows.Forms.Message m)
System.Windows.Forms.dll!System.Windows.Forms.Button.WndProc(ref System.Windows.Forms.Message m)
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason, int pvLoopData)
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context)
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context)
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)

comments

mnieto wrote Mar 6, 2013 at 9:11 AM

Hi
Could you reproduce the error with another database. Or, could yo try the same database in another machine. I need to discard if the problem is caused by the database itself or de machine.

If your data is not sensible, you can attach it so I could try to reproduce the problem in my machine.
But, seeing the stack trace, at this step "[Managed to Native Transition]" I think that is a problem raised by MS Access and there is no much to do.

wrote Mar 6, 2013 at 9:12 AM