Salve ho un problema quando cerco di avviare un programma. Questo è l'errore:
Nei dettagli è riportato quanto segue:
"Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.Exception: '924 non è un valore valido per Int32. ---> System.FormatException: Formato della stringa di input non corretto.
in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
in System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo)
in System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- Fine della traccia dello stack dell'eccezione interna ---
in System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
in System.Drawing.SizeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
in CriMw.CriGears.Controls.AwesomeDock.SizeFromString(String text)
in CriMw.CriGears.Controls.AwesomeDock.SetupPane(AwesomePane pane, AwesomeLayoutPaneElement element, AwesomeStackContainer parentStack)
in CriMw.CriGears.Controls.AwesomeDock.SetLayout(AwesomeLayoutInformation layoutInfo)
in CriMw.CriAtomViewer.FormMain.LoadLayout(String p)
in CriMw.CriAtomViewer.FormMain.FormMain_Load(Object sender, EventArgs e)
in System.Windows.Forms.Form.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ContainerControl.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CriAtomViewer
Versione assembly: 2.2.15.0
Versione Win32: 2.02.15.0
Base di codice: file:///E:/cri_adx2le/cri/tools/criatomex/CriAtomViewer.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as....0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as..._4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34238 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as....0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34234 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as...561934e089/System.Windows.Forms.resources.dll
----------------------------------------
CriAtomViewerClr
Versione assembly: 1.0.5416.20923
Versione Win32:
Base di codice: file:///E:/cri_adx2le/cri/tools/criatomex/CriAtomViewerClr.DLL
----------------------------------------
System.Design
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as....0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as....0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Il mio sistema operativo è Windows 7 e non dovrebbe trattarsi di un errore dovuto al codice visto che un mio amico riesce ad avviare il programma su Windows 7 senza problemi.
Qualcuno mi sa aiutare?
Grazie.
Nei dettagli è riportato quanto segue:
"Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.Exception: '924 non è un valore valido per Int32. ---> System.FormatException: Formato della stringa di input non corretto.
in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
in System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo)
in System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- Fine della traccia dello stack dell'eccezione interna ---
in System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
in System.Drawing.SizeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
in CriMw.CriGears.Controls.AwesomeDock.SizeFromString(String text)
in CriMw.CriGears.Controls.AwesomeDock.SetupPane(AwesomePane pane, AwesomeLayoutPaneElement element, AwesomeStackContainer parentStack)
in CriMw.CriGears.Controls.AwesomeDock.SetLayout(AwesomeLayoutInformation layoutInfo)
in CriMw.CriAtomViewer.FormMain.LoadLayout(String p)
in CriMw.CriAtomViewer.FormMain.FormMain_Load(Object sender, EventArgs e)
in System.Windows.Forms.Form.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ContainerControl.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CriAtomViewer
Versione assembly: 2.2.15.0
Versione Win32: 2.02.15.0
Base di codice: file:///E:/cri_adx2le/cri/tools/criatomex/CriAtomViewer.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as....0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as..._4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34238 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as....0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34234 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as...561934e089/System.Windows.Forms.resources.dll
----------------------------------------
CriAtomViewerClr
Versione assembly: 1.0.5416.20923
Versione Win32:
Base di codice: file:///E:/cri_adx2le/cri/tools/criatomex/CriAtomViewerClr.DLL
----------------------------------------
System.Design
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.Net/as...4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as....0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL
Base di codice: file:///C:/Windows/Microsoft.Net/as....0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Il mio sistema operativo è Windows 7 e non dovrebbe trattarsi di un errore dovuto al codice visto che un mio amico riesce ad avviare il programma su Windows 7 senza problemi.
Qualcuno mi sa aiutare?
Grazie.