Aide pour débuguer programme d'albums photos
Spunkee
-
Spunkee -
Spunkee -
Bonjour,
Tout d'abord excusez-moi si ce message n'est pas posté à la bonne place :-/
Voilà j'ai utilisé le logiciel Tic Tac Photo pour réaliser un album photo numérique et après des jours et des jours de travail, il est impossible d'ouvrir le fichier. J'ai copié le message d'erreur (auquel je ne comprends rien...) ci-après.
Ca a peut-être son importance pour le débugage, l'installation du logiciel Tic Tac Photo a requis celle du Framework .NET
Pourriez-vous m'aider à résoudre ce problème où du moins à trouver les forums et personnes vers qui je peux me tourner ?
Merci infiniment
Alex
Message d'erreur :
Unhandled exception has occured in your application.
'.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
Details :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at PhotoForLife.frmMain.CheckABMVersion(String filePath)
at PhotoForLife.frmMain.OpenLoad(Boolean useDialog)
at PhotoForLife.frmMain.OpenDocument(Boolean useOpenDialog)
at PhotoForLife.frmMain.LoadFromUser(Boolean retry)
at PhotoForLife.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
editor
Assembly Version: 5.7.3250.22275
Win32 Version: 5.7.3250.22275
CodeBase: file:///C:/Program%20Files/TicTacPhoto/Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
editor.resources
Assembly Version: 5.7.3250.22275
Win32 Version: 5.7.3250.22275
CodeBase: file:///C:/Program%20Files/TicTacPhoto/fr-FR/editor.resources.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
Tout d'abord excusez-moi si ce message n'est pas posté à la bonne place :-/
Voilà j'ai utilisé le logiciel Tic Tac Photo pour réaliser un album photo numérique et après des jours et des jours de travail, il est impossible d'ouvrir le fichier. J'ai copié le message d'erreur (auquel je ne comprends rien...) ci-après.
Ca a peut-être son importance pour le débugage, l'installation du logiciel Tic Tac Photo a requis celle du Framework .NET
Pourriez-vous m'aider à résoudre ce problème où du moins à trouver les forums et personnes vers qui je peux me tourner ?
Merci infiniment
Alex
Message d'erreur :
Unhandled exception has occured in your application.
'.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
Details :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at PhotoForLife.frmMain.CheckABMVersion(String filePath)
at PhotoForLife.frmMain.OpenLoad(Boolean useDialog)
at PhotoForLife.frmMain.OpenDocument(Boolean useOpenDialog)
at PhotoForLife.frmMain.LoadFromUser(Boolean retry)
at PhotoForLife.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
editor
Assembly Version: 5.7.3250.22275
Win32 Version: 5.7.3250.22275
CodeBase: file:///C:/Program%20Files/TicTacPhoto/Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
editor.resources
Assembly Version: 5.7.3250.22275
Win32 Version: 5.7.3250.22275
CodeBase: file:///C:/Program%20Files/TicTacPhoto/fr-FR/editor.resources.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
A voir également:
- Aide pour débuguer programme d'albums photos
- Partager des albums photos - Guide
- Google photos albums partagés - Guide
- Toutes mes photos - Guide
- Programme demarrage windows - Guide
- Google photos - Télécharger - Albums photo
3 réponses
Le fichier est endommagé ? puisque le logiciel utilise le XML, c sûrement pour lire et écrire dans le fichier (comme celui que tu as créée !). et comme l'erreur est :
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
il se pourrait que ton fichier soit endommagé (ligne 1761, il y eu un problème lors de la lectue d'un hex) !
mais bon c juste une idée comme ça, peut-être que c'est une connerie ce que je viens de dire !
est-ce que le programme marche avec d'autres fichiers ?
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1761, position 26637.
il se pourrait que ton fichier soit endommagé (ligne 1761, il y eu un problème lors de la lectue d'un hex) !
mais bon c juste une idée comme ça, peut-être que c'est une connerie ce que je viens de dire !
est-ce que le programme marche avec d'autres fichiers ?
Bonjour,
Merci pour cette réponse rapide !
Oui le programme fonctionne avec d'autres fichiers !
Malheureusement je ne maitrise pas du tout le XML et je ne sais pas comment localiser le fichier endommagé...
Merci
Alex
Merci pour cette réponse rapide !
Oui le programme fonctionne avec d'autres fichiers !
Malheureusement je ne maitrise pas du tout le XML et je ne sais pas comment localiser le fichier endommagé...
Merci
Alex