Bei jedem Versuch mit der Ameise einen Import mit einer Datei vorzunehmen, welche wie das erste Tutorial aufgebaut ist, erhalte ich die folgende Exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Not allowed to change the 'ConnectionString' property. The connection's current state is open.
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at ameise.database.DB.insertCommand(SqlCommand command)
at ameise.database.jtlObject.insertInDB()
at ameise.database.jtlObjects.jtlAmeise_importdurchgang.starteDurchgang()
at ameise.klassen.Import.setModus(Boolean bImport)
at ameise.forms.subforms.import_main.IYZ4v7DdSZ(Object , EventArgs )
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ameise
Assembly Version: 0.9.9.922
Win32 Version: 0.9.9.922
CodeBase: file:///D:/Programs/JTL-Software/JTL-wawi-ameise.exe
----------------------------------------
CommandLine
Assembly Version: 1.9.4.209
Win32 Version: 1.9.4.209
CodeBase: file:///D:/Programs/JTL-Software/CommandLine.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as....0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as..._4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
jtlDatabase
Assembly Version: 0.9.9.923
Win32 Version: 0.9.9.923
CodeBase: file:///D:/Programs/JTL-Software/jtlDatabase.DLL
----------------------------------------
f8809813-748c-4fa5-91af-de6576d60a92
Assembly Version: 1.0.0.0
Win32 Version: 0.9.9.922
CodeBase: file:///D:/Programs/JTL-Software/JTL-wawi-ameise.exe
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as....0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/as...v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
jtlTools
Assembly Version: 0.9.9.923
Win32 Version: 0.9.9.923
CodeBase: file:///D:/Programs/JTL-Software/jtlTools.DLL
----------------------------------------
Newtonsoft.Json.Net35
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///D:/Programs/JTL-Software/Newtonsoft.Json.Net35.DLL
----------------------------------------
JetBrains.Annotations
Assembly Version: 7.1.2000.1478
Win32 Version: 7.1.2000.1478
CodeBase: file:///D:/Programs/JTL-Software/JetBrains.Annotations.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.
Wer kann helfen? Dieses sind meine ersten "Gehversuche" mit JTL.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Not allowed to change the 'ConnectionString' property. The connection's current state is open.
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at ameise.database.DB.insertCommand(SqlCommand command)
at ameise.database.jtlObject.insertInDB()
at ameise.database.jtlObjects.jtlAmeise_importdurchgang.starteDurchgang()
at ameise.klassen.Import.setModus(Boolean bImport)
at ameise.forms.subforms.import_main.IYZ4v7DdSZ(Object , EventArgs )
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ameise
Assembly Version: 0.9.9.922
Win32 Version: 0.9.9.922
CodeBase: file:///D:/Programs/JTL-Software/JTL-wawi-ameise.exe
----------------------------------------
CommandLine
Assembly Version: 1.9.4.209
Win32 Version: 1.9.4.209
CodeBase: file:///D:/Programs/JTL-Software/CommandLine.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as....0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as..._4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
jtlDatabase
Assembly Version: 0.9.9.923
Win32 Version: 0.9.9.923
CodeBase: file:///D:/Programs/JTL-Software/jtlDatabase.DLL
----------------------------------------
f8809813-748c-4fa5-91af-de6576d60a92
Assembly Version: 1.0.0.0
Win32 Version: 0.9.9.922
CodeBase: file:///D:/Programs/JTL-Software/JTL-wawi-ameise.exe
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as....0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/as...v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/as...4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
jtlTools
Assembly Version: 0.9.9.923
Win32 Version: 0.9.9.923
CodeBase: file:///D:/Programs/JTL-Software/jtlTools.DLL
----------------------------------------
Newtonsoft.Json.Net35
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///D:/Programs/JTL-Software/Newtonsoft.Json.Net35.DLL
----------------------------------------
JetBrains.Annotations
Assembly Version: 7.1.2000.1478
Win32 Version: 7.1.2000.1478
CodeBase: file:///D:/Programs/JTL-Software/JetBrains.Annotations.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.
Wer kann helfen? Dieses sind meine ersten "Gehversuche" mit JTL.