PDA

View Full Version : KNX Driver problem!!


hiroc13
04-16-2008, 07:27 AM
Hi!

Need help with KNX driver!

I download trial KNX Driver fo mControl..

When I start "Set connection" in "KNX Configuration" i chose any connection an press OK I get error massage:

"Unhandled exception has occurred in your application.......
StartIndex cannot be less than zero.
Parameter name: startIndex."

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

************** Exception Text **************
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at KNX_configuration.KNX_configuration.bSet_Click(Obj ect eventSender, EventArgs eventArgs)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs 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.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
KNX_configuration
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase: file:///C:/Program%20Files/Tekniska%20Byran/Gateway_for_KNX/KNX_configuration.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
KNX_gateway
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/KNX_gateway/1.0.4.0__5aeb2e5a2382bdfc/KNX_gateway.dll
----------------------------------------
EIBA.Interop.Falcon
Assembly Version: 1.0.2778.0
Win32 Version: R1.00.2778.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/EIBA.Interop.Falcon/1.0.2778.0__11c4150a44293574/EIBA.Interop.Falcon.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.

Ted Singh
04-16-2008, 08:50 PM
hiroc13,

I've informed Tekniska Byran (who developed the KNX driver) of this issue and have asked them to participate in this discussion. I suspect that this is a version incompatibility of the KNX driver and mControl.

Ted

mkarlsson
04-17-2008, 12:12 PM
Hi hiroc13,

We have analysed the error you got when using KNX Configuration.

We found a minor bug when choosing a connection that can’t be verified.

For example if you choose a connection of type “USB” but there are no USB devices installed.

In this case you should choose an installed USB device in the list.



The error will be fixed in coming versions.

/ Marcus
Tekniska Byrån

mkarlsson
04-18-2008, 03:24 PM
Hi,

We analysed further and found the error.
In fact, the connection was saved but the configuration program halted.

This is fixed and a new version can be downloaded at:
http://www.tekniskabyran.se/tekniskabyran/eng/products/mControl/MControl-EN_download.asp


/ Marcus
Tekniska Byrån