Cannot open the Outlook window. Invalid XML
Microsoft Outlook has got to be one of the most common business applications that just about everyone uses. So when it fails to open, it can feel like the start of a bad day. One error message that I have encountered a few times now is the “Invalid XML” message when trying to launch Outlook. The most common reason for this error is that the XML file that contains the settings for Outlook’s navigation pane has become corrupted. The navigation pane is the one that is on the left side of Outlook and lets you change between your mailbox, folders, calendar, contacts, tasks, etc.
So how do we fix the error? The first thing to try is to simply reset the navigation pane.
- Hit ‘Windows+R‘ on your keyboard to open the ‘Run‘ window.
- Type in the following command: Outlook.exe /resetnavpane
- Hit the ‘OK‘ button.
- Then re-launch Outlook to verify that everything is working.
If the above action did not resolve your Outlook issue, then the next course of action would be to delete the actual XML file and force Outlook to generate a new/fresh file the next time it opens. Here’s how we can do that.
- Hit ‘Windows+R‘ on your keyboard to open the ‘Run‘ window.
- Type in the following command: %AppData%\Microsoft\Outlook
- Hit the ‘OK‘ button.
- It will open ‘File Explorer’ and take you to the directory that the XML file resides in. Look for a file named ‘Outlook.xml‘
- Delete the XML file.
- Then re-launch Outlook to check that it is working now.
That is how to fix the Outlook ‘Invalid XML’ error. I hope one of these methods worked for you so you can get back to your emails.