Visual Basic.NET - Programa no corre en win8

 
Vista:

Programa no corre en win8

Publicado por Gerard (1 intervención) el 23/06/2014 12:28:28
Hola compañeros, en la empresa que acabo de aterrizar tienen una aplicacion hecha en Visual Studio 2010, la cual hasta la fecha corria perfectamente en Win Xp+Vista+7.

Pero el otro dia la instalamos en win 8, y una vez instalado, cuando vas arrancar el programa este peta antes de ponerse en marcha. En el debug del Studio 2010 no nos sale ningun problema.

Cuando peta me da la opcion de debugar con VS, y me sale el siguiente error antes de abrirlo: An unhandled Microsoft .NET Framework exception ocurred in (el nombre del programa).
El programa esta configurado con Framework 4 cliente, asi como otros que tienen y he probado de cambiarlo a F. 3.5 y el problema persiste asi que lo descarto por ahi.

Cuando intento hacer un debug con VS 2013, salta el siguiente error:
An unhandled exception of type 'System.TypeInitializationException' occurred in NT2IonMeter.exe

Y una vez paro el debug me salen los siguientes errores: (a partir de la linia 22).
Creo que se debe algun problema con el mscorlib.dll, porque a nivel de codigo esta todo correcto.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Users\NT_WORK_1\Desktop\Nueva carpeta\NT2IonMeter\bin\Debug\NT2IonMeter.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.DataVisualization\v4.0_4.0.0.0__31bf3856ad364e35\System.Windows.Forms.DataVisualization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_es_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
The thread 0x10c has exited with code 259 (0x103).
The thread 0x11c has exited with code 259 (0x103).
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Users\NT_WORK_1\Desktop\Nueva carpeta\NT2IonMeter\bin\Debug\NT2IonMeter.exe'. Symbols loaded.
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll'. Symbols loaded.
A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.TypeInitializationException' occurred in NT2IonMeter.exe
'NT2IonMeter.vshost.exe' (CLR v4.0.30319: NT2IonMeter.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[3252] NT2IonMeter.vshost.exe' has exited with code -1 (0xffffffff).

Basicamente creo que el problema esta en el mscorlib.dll que pongo en negrita.
Gracias de antemano
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder