und das zweite Problem mit dem Chart:
Wenn ich auf den Chartbutton drücke erscheint folgende Fehlermeldung:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.Data.SqlClient.SqlException: Die Unterabfrage hat mehr als einen Wert zurückgegeben. Das ist nicht zulässig, wenn die Unterabfrage auf =, !=, <, <=, > oder >= folgt oder als Ausdruck verwendet wird.
bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
bei System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
bei System.Data.SqlClient.SqlDataReader.HasMoreRows()
bei System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
bei System.Data.SqlClient.SqlDataReader.Read()
bei System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
bei System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
bei System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
bei System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
bei System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
bei System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
bei QC1x.QCDataSetTableAdapters.QCviewTableAdapter.Fill(QCviewDataTable dataTable)
bei QC1x.Chart.Chart_Load(Object sender, EventArgs e)
bei System.EventHandler.Invoke(Object sender, EventArgs e)
bei System.Windows.Forms.Form.OnLoad(EventArgs e)
bei System.Windows.Forms.Form.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.WmShowWindow(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WmShowWindow(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll" rel="nofollow">file//CWindows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
QC1x
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.79.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/QC1x.exe" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/QC1x.exe.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
DevExpress.Utils.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.Utils.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.Utils.v7.3.DLL.
----------------------------------------
DevExpress.Data.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.Data.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.Data.v7.3.DLL.
----------------------------------------
DevExpress.XtraEditors.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraEditors.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraEditors.v7.3.DLL.
----------------------------------------
DevExpress.XtraRichTextEdit.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraRichTextEdit.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraRichTextEdit.v7.3.DLL.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
DevExpress.BonusSkins.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.BonusSkins.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.BonusSkins.v7.3.DLL.
----------------------------------------
System.Data
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll" rel="nofollow">file//CWindows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
dotnetCharting.WinForms
Assembly-Version: 4.3.2764.20719.
Win32-Version: 4.3.2764.20719.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/dotnetCharting.WinForms.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/dotnetCharting.WinForms.DLL.
----------------------------------------
DevExpress.XtraGrid.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraGrid.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraGrid.v7.3.DLL.
----------------------------------------
DevExpress.XtraBars.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraBars.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraBars.v7.3.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll" rel="nofollow">file//CWindows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.ServiceProcess
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll.
----------------------------------------
System.Transactions
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll" rel="nofollow">file//CWindows/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.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll" rel="nofollow">file//CWindows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll.
----------------------------------------
System.Design
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll.
----------------------------------------
Accessibility
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
System.Management
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll.
----------------------------------------
DevExpress.XtraNavBar.v7.3
Assembly-Version: 7.3.7.0.
Win32-Version: 7.3.7.0.
CodeBase: //cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraNavBar.v7.3.DLL" rel="nofollow">file//cUsers/Tobias/AppData/Local/Apps/2.0/ECOE2O40.440/YK9AOAM7.KKA/qc1x..tion_1545c94911b11422_0001.0000_4feacf22a1f8dee1/DevExpress.XtraNavBar.v7.3.DLL.
----------------------------------------
System.Data.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_de_b77a5c561934e089/System.Data.resources.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_de_b77a5c561934e089/System.Data.resources.dll.
----------------------------------------
Microsoft.VisualBasic.resources
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_de_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_de_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100).
CodeBase: //CWindows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll" rel="nofollow">file//CWindows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
Zum Beispiel:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.