Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: lisowskikevin on September 19, 2015, 07:07:24 pm

Title: Controller Remap Utiility - SOLVED!!!
Post by: lisowskikevin on September 19, 2015, 07:07:24 pm
Hey guys I was muddling through the utility and accidentally deleted something in one of the windows and now everytime I strat the GUI I get this message

Microsoft .NET Framework

Unhandled exception has occurred in your application. If you click Continue the application will ignore the error and attempt to continue. If you click quit the application will close immediately

Conversion from type DBNULL to type String is not valid

then I click on details and I get this...

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

************** Exception Text **************
System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value)
   at CtrlRemapGUI.ControllerRemapGUI.Load_Ctrls()
   at CtrlRemapGUI.ControllerRemapGUI.InitialBoot(Object sender, EventArgs e)
   at CtrlRemapGUI.ControllerRemapGUI.Form1_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CtrlRemapGUI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/CtrlrRemapGUI_0.6.5/CtrlRemapGUI.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL
    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.0.30319.34238 built by: FX452RTMGDR
    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.0.30319.18408 built by: FX451RTMGREL
    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.0.30319.18408 built by: FX451RTMGREL
    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.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34108 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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 HELP!! Anyone know what to do? I have tried deleting the app an reinstalling no luck.
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: drventure on September 19, 2015, 07:33:59 pm
What command line are you using to run ControllerRemap?

It might be that you deleted your ctrlr file, but the command line is still pointing to a given file. If it's not there, I'm not sure what would happen, but an invalid cast is certainly a possibility.
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: lisowskikevin on September 19, 2015, 07:40:50 pm
What command line are you using to run ControllerRemap?

It might be that you deleted your ctrlr file, but the command line is still pointing to a given file. If it's not there, I'm not sure what would happen, but an invalid cast is certainly a possibility.

Hey Dr venture!

I'm using the GUI and I clicked on the devices tab and selected one of the aimtrak devices with a super long name. I selected it and clicked backspace and erased the entire thing.

Then I started getting the message. Is there a way to restore it all to normal?
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: drventure on September 19, 2015, 09:32:46 pm
Ahhh. Hmm. I'm not sure about that. I didn't write the GUI.

However, yeah, sounds like a node got deleted inadvertently.

Can you post the ctrlr file?

I might be able to figure out what's missing.

Title: Re: Controller Remap Utiility - CRAP!!!
Post by: lisowskikevin on September 19, 2015, 09:46:17 pm
Ahhh. Hmm. I'm not sure about that. I didn't write the GUI.

However, yeah, sounds like a node got deleted inadvertently.

Can you post the ctrlr file?

I might be able to figure out what's missing.

Absolutely, I'll find it and post tomorrow. Thanks for your help on this.
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: lisowskikevin on September 22, 2015, 12:12:02 pm
Ahhh. Hmm. I'm not sure about that. I didn't write the GUI.

However, yeah, sounds like a node got deleted inadvertently.

Can you post the ctrlr file?

I might be able to figure out what's missing.

Thanks anyways Dr Venture....I just downloaded a newer version of the GUI and I will not be screwing that up! Thanks for your help
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: drventure on September 22, 2015, 01:16:53 pm
No Prob. Hope that resolves it!
Title: Re: Controller Remap Utiility - CRAP!!!
Post by: stigzler on September 22, 2015, 05:54:51 pm
Ooops - sorry - late to the party. Guessing this is the thing you emailed about, kevin? Is it sorted for you now?

Good job I aint selling it or anything, huh?  ::)