System.AccessViolationException during Write MS Access

Support for DataSlave

Moderators: Tom, ian

System.AccessViolationException during Write MS Access

Postby jshurtz » Fri Jan 28, 2011 4:01 pm

I am trying to use the Write to MS Access function in one of my maps. I am getting an System.AccessViolationException error. The full text from the message is as follows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ADODB.ConnectionClass.Close()
at Baycastle.DataSlave.Common.ADOXDDLHelper.GetTableSchema(IDbConnection connection, String tableName)
at Baycastle.DataSlave.TableFunctions.MSAccess.MSAccessWritePropertiesWizard.RefreshMatch()
at Baycastle.DataSlave.TableFunctions.MSAccess.MSAccessWritePropertiesWizard.cboTable_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at Baycastle.DataSlave.TableFunctions.MSAccess.MSAccessWritePropertiesWizard.DisplayPage()
at Baycastle.DataSlave.UI.Wizard.WizardDialog.ShowPage(Int32 pageNumber)
at Baycastle.DataSlave.UI.Wizard.WizardDialog.butNext_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DataSlave.MapEditor
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.MapEditor.exe
----------------------------------------
DeployLX.Licensing.v3
Assembly Version: 3.2.2000.0
Win32 Version: 3.2.2000.3813
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DeployLX.Licensing.v3.DLL
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DataSlave.Runtime
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.Runtime.DLL
----------------------------------------
DataSlave.UI
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.UI.DLL
----------------------------------------
DotNetMagic2005
Assembly Version: 5.2.2.0
Win32 Version: 5.2.2.0
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DotNetMagic2005.DLL
----------------------------------------
DataSlave.MapEditor.Resources
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.MapEditor.Resources.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3618 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
DataSlave.AddIn.Act6
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Act6.DLL
----------------------------------------
Interop.ActOle
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/Interop.ActOle.DLL
----------------------------------------
DataSlave.AddIn.ActiveXScripting
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.ActiveXScripting.DLL
----------------------------------------
DataSlave.AddIn.Transform
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Transform.DLL
----------------------------------------
DataSlave.AddIn.Validate
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Validate.DLL
----------------------------------------
Interop.MSScriptControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/Interop.MSScriptControl.DLL
----------------------------------------
DataSlave.AddIn.CustomTable
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.CustomTable.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
DataSlave.AddIn.Deduplication
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Deduplication.DLL
----------------------------------------
DataSlave.AddIn.DotNetScript
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.DotNetScript.DLL
----------------------------------------
DataSlave.AddIn.Merge
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Merge.DLL
----------------------------------------
DataSlave.AddIn.MSAccess
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.MSAccess.DLL
----------------------------------------
Interop.ADOX
Assembly Version: 2.8.0.0
Win32 Version: 2.8.0.0
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/Interop.ADOX.DLL
----------------------------------------
DataSlave.AddIn.MSExcel
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.MSExcel.DLL
----------------------------------------
DataSlave.AddIn.MSSQLServer
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.MSSQLServer.DLL
----------------------------------------
DataSlave.AddIn.MySql
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.MySql.DLL
----------------------------------------
DataSlave.AddIn.Odbc
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Odbc.DLL
----------------------------------------
DataSlave.AddIn.OleDb
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.OleDb.DLL
----------------------------------------
DataSlave.AddIn.Oracle
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Oracle.DLL
----------------------------------------
Oracle.DataAccess
Assembly Version: 2.102.2.20
Win32 Version: 2.102.2.20
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/Oracle.DataAccess.DLL
----------------------------------------
DataSlave.AddIn.Sort
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.Sort.DLL
----------------------------------------
DataSlave.AddIn.TextFile
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.TextFile.DLL
----------------------------------------
DataSlave.AddIn.VisualDataFlex
Assembly Version: 2.2.2.91
Win32 Version: 2.2.2.91
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.VisualDataFlex.DLL
----------------------------------------
DataSlave.AddIn.XML
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Baycastle%20Software%20Ltd/DataSlave/Map%20Editor/DataSlave.AddIn.XML.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
gnqlwcsr
Assembly Version: 2.2.2.91
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
ADODB
Assembly Version: 7.0.3300.0
Win32 Version: 7.10.2346
CodeBase: file:///C:/WINDOWS/assembly/GAC/ADODB/7.0.3300.0__b03f5f7f11d50a3a/ADODB.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Please let me know what I need to do to rectify this situation. The ability to write directly to Access is one of the main reasons that DataSlave was purcahased. We are running MS Access 2007.
Thanks,
Jack Shurtz
jshurtz
 
Posts: 2
Joined: Thu Jan 27, 2011 11:24 pm

Re: System.AccessViolationException during Write MS Access

Postby ian » Fri Feb 11, 2011 2:09 pm

I understand that you have been discussing this issue with Support. Pleaase let us know if there is more information you require.
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron