Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/06/2014, 06:23
Avatar de gerardrev
gerardrev
 
Fecha de Ingreso: junio-2014
Ubicación: Tarragona
Mensajes: 23
Antigüedad: 9 años, 11 meses
Puntos: 0
Problema programa en win8

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.

Código vb:
Ver original
  1. '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.
  2. '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.
  3. '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.
  4. '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.
  5. '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.
  6. '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.
  7. '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.
  8. '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.
  9. '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.
  10. '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.
  11. '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.
  12. '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.
  13. '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.
  14. '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.
  15. '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.
  16. '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.
  17. '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.
  18. The thread 0x10c has exited with code 259 (0x103).
  19. The thread 0x11c has exited with code 259 (0x103).
  20. '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.
  21. '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.
  22. A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
  23. A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
  24. A first chance exception of type 'System.TypeInitializationException' occurred in NT2IonMeter.exe
  25. '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.
  26. The program '[3252] NT2IonMeter.vshost.exe' has exited with code -1 (0xffffffff).

Gracias de antemano