Posted 5 May 2018, 7:45 pm EST
VS 2015, VB.NET Winforms 4.0
I am loading a c1report into the designer, using the example as the guide. I am successfully loading a c1report. I then go forward and load the report property of the designer control. That works. If I run the program, I get this exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at C1.Win.C1ReportDesigner.HitTestInfo.#8ie(Int32 #Bd)
at C1.Win.C1ReportDesigner.HitTestInfo.#ecf()
at C1.Win.C1ReportDesigner.HitTestInfo.#9bf(Int32 #zq, Int32 #rP)
at C1.Win.C1ReportDesigner.C1ReportDesigner.HitTest(Int32 x, Int32 y)
at C1.Win.C1ReportDesigner.MouseHandler.#Ncf()
at C1.Win.C1ReportDesigner.C1ReportDesigner.OnMouseEnter(EventArgs e)
at System.Windows.Forms.Control.WndProc(Message& m)
at C1.Win.C1ReportDesigner.Util.ScrollableControl.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.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Pedcasso2019
Assembly Version: 12.0.9750.3920
Win32 Version: 12.0.9750.3920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/debug/pedcasso2019.exe
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
MBFS_CommonFunctions
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/MBFS_CommonFunctions.DLL
MBFS_CommonForms
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/MBFS_CommonForms.DLL
com.rtsoftware.rtreg
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/com.rtsoftware.rtreg.DLL
PedFast_InterLok
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/PedFast_InterLok.DLL
MBFS_CommonControls
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/MBFS_CommonControls.DLL
C1.Win.C1Command.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.C1Command.4.DLL
C1.Win.C1SuperTooltip.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.C1SuperTooltip.4.DLL
C1.Win.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.4.DLL
C1.Win.C1Ribbon.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.C1Ribbon.4.DLL
CS_CommonControls
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/CS_CommonControls.DLL
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
MBFS_AppDB
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/MBFS_AppDB.DLL
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
MBFS_BaseDB
Assembly Version: 11.3.8750.2920
Win32 Version: 11.3.8750.2920
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/MBFS_BaseDB.DLL
VistaDB.5.NET40
Assembly Version: 5.2.0.0
Win32 Version: 5.2.2.1587
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/VistaDB.5.NET40/v4.0_5.2.0.0__dfc935afe2125461/VistaDB.5.NET40.dll
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
System.ServiceModel.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
System.IdentityModel
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
Assembly Version: 4.0.0.0
Win32 Version: 14.0.23107.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
C1.C1Report.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/C1.C1Report.4/v4.0_4.0.20181.296__594a0605db190bb9/C1.C1Report.4.dll
C1.Win.C1ReportDesigner.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.C1ReportDesigner.4.DLL
C1.Win.BarCode.4
Assembly Version: 4.0.20181.296
Win32 Version: 4.0.20181.296
CodeBase: file:///C:/Base2008/Base2008/Pedcasso2017/bin/Debug/C1.Win.BarCode.4.DLL
System.Windows.Forms.DataVisualization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
ReachFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/ReachFramework/v4.0_4.0.0.0__31bf3856ad364e35/ReachFramework.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:
<system.windows.forms jitDebugging=“true” />
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.
If I run in the debugger and put a breakpoint anywhere into the stream, the exception does not happen when I hit F5. but with no breakpoint, the debugger burps, and if I run the program directly I get the exception above. However, I cannot find out what is missing, or if I have hit a bug in the C1ReportDesigner. I also cannot figure out where to put a try block.
The mouse event in the call stack could not possibly have fired; the window or the panel that contains it isn’t visible at the time the exception throws!
I need help now. A major project is hanging in the balance.