1
Vote

Getting an error message when starting app...

description

Hello,

Great little app! I have installed your app to Windows Vista Ultimate SP2, 32-bit.

I'm getting a .NET Framework error message:
(X) <RED CIRCLE WITH WHITE "X"
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Text length must be less then 64 characters long.
Parameter name: Text
Actual value was
AC-@%SystemRoot%\system32\powrprof.dll,-15,Balanced

Here is the what the "Details" button shows:

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Text length must be less than 64 characters long.
Parameter name: Text
Actual value was AC-@%SystemRoot%\system32\powrprof.dll,-15,Balanced (recommended).
at System.Windows.Forms.NotifyIcon.set_Text(String value)
at VntNet.PowerSchemeSwitcher.SystemTryIcon.UpdateToolTip() in c:\tfs-PowerSchemeSwitcher\PowerSchemeSwitcher\Main\PowerSwitch\PowerSwitch\SystemTryIcon.cs:line 94
at VntNet.PowerSchemeSwitcher.SystemTryIcon.UpdateUiInfo() in c:\tfs-PowerSchemeSwitcher\PowerSchemeSwitcher\Main\PowerSwitch\PowerSwitch\SystemTryIcon.cs:line 69
at VntNet.PowerSchemeSwitcher.AppContext.<PowerSettingsChanged>b__3(Object param0) in c:\tfs-PowerSchemeSwitcher\PowerSchemeSwitcher\Main\PowerSwitch\PowerSwitch\AppContext.cs:line 77


************** 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

PowerSchemeSwitcher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.7.0

CodeBase: file:///C:/Program%20Files/VntNet/PowerSwitcher/PowerSchemeSwitcher.exe

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
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/v4.0_4.0.0.0__b77a5c561934e089/System.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.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.Xml
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.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

comments