Il messaggio in questione è questo:"eccezione non gestita nell'applicazione. Fare click su Continua per ignorare l'errore e tentare di proseguire. Fare clic su Esci per arrestare l'applicazione immediatamente.
Impossibile trovare una parte del percorso \Pro Cycling Manager 2010\Config\lang.xml'."
Io clicco su continuae mi apre il database ma quando provo ad aprire un file xml non mi fa andare avanti Qualcuno è in grado di darmi una risposta ?
Nei dettagli del messaggio cè pure questo "Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra sono riportate in fondo al messaggio. ************** Testo dell'eccezione ************** System.TypeInitializationException: L'inizializzatore di tipo di 'DatabaseEditor.Const' ha generato un'eccezione. ---> System.IO.DirectoryNotFoundException: Impossibile trovare una parte del percorso 'C:\Users\Utente\Documents\Pro Cycling Manager 2010\Config\lang.xml'. in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) in System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) in System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) in System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) in System.Threading.CompressedStack.runTryCode(Object userData) in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) in System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) in System.Xml.XmlTextReaderImpl.OpenUrl() in System.Xml.XmlTextReaderImpl.Read() in System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) in System.Xml.XmlDocument.Load(XmlReader reader) in System.Xml.XmlDocument.Load(String filename) in DatabaseEditor.Language.GetLocalizedFromKey(String key, String mode, Object[] args) in DatabaseEditor.Language.GetLabelFromkey(String Key) in DatabaseEditor.Const..cctor() --- Fine dell'analisi dello stack dell'eccezione interna --- in DatabaseEditor.Language.OptionMsgBox(String Key, MessageBoxButtons options, Object[] args) in DatabaseEditor.IO_functions.OpenDatabaseFromCDB(String _strFilename) in DatabaseEditor.Main.Dialbox_OpenCDB_FileOk(Object sender, CancelEventArgs e) in System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e) in System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN) ************** Assembly caricati ************** mscorlib Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) ---------------------------------------- PCM_Database_Editor Versione assembly: 1.0.0.0 Versione Win32: 1.0.0.0 ---------------------------------------- System.Windows.Forms Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000) ---------------------------------------- System Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) ---------------------------------------- System.Drawing Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000) ---------------------------------------- System.Windows.Forms.resources Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.7905 (win9rel.050727-7900) ---------------------------------------- System.Xml Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8018 (FX35W81RTMGDR.050727-8000) ---------------------------------------- mscorlib.resources Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) ---------------------------------------- System.Data Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000) ---------------------------------------- ************** Debug JIT ************** Per attivare 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 attivato. Ad esempio: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Quando il debug JIT è attivato, tutte le eccezioni non gestite vengono inviate al debugger JIT registrato nel computer, anziché essere gestite da questa finestra di dialogo.