Select the product you need help with
How to troubleshoot damaged drawings in VisioArticle ID: 826418 - View products that this article applies to. On This PageSummaryThis article discusses how to troubleshoot damaged drawings in Microsoft Office Visio 2013, Visio 2010, Visio 2007, Microsoft Office Visio 2003, and Microsoft Visio 2002. This article describes some symptoms that may indicate that the drawing that you are working with in Visio is damaged. Additionally, this article lists some recovery methods that you can use on the damaged drawing. They include general troubleshooting methods, methods to try if you can or cannot open the drawing, and methods to help prevent damage that may occur to drawings. INTRODUCTIONOverviewIf you experience unexpected behavior when you work with a Visio drawing, the Visio drawing may be damaged. You may receive the following error messages if you have a damaged drawing:
This article lists some methods that you can use to try to recover the damaged drawing. The methods that are described in this article do not guarantee the successful recovery of a damaged drawing. Sometimes, depending on the type of damage, you may not be able to recover any data. You may have to re-create the drawing or restore the drawing from your backup files. General troubleshooting methodsStart Visio without Automation events and without Microsoft Visual Basic for ApplicationsStart Visio without Automation events and without Visual Basic for Applications. To do this, use one of the following methods:Method 1: Microsoft Office Visio 2013 and Visio 2010
Method 2: Microsoft Office Visio 2007
Method 3: Microsoft Office Visio 2003 and earlier versions of Visio
Method 4: Use the 'Copy Drawing' command to copy each page into a page in a new drawing.For Visio 2013 and Visio 2010:
Start Windows in Safe ModeStart Windows in Safe Mode. To do this:Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
315222
(http://support.microsoft.com/kb/315222/
)
A description of the Safe Mode Boot options in Windows XP
202485
(http://support.microsoft.com/kb/202485/
)
Description of Safe Boot Mode in Windows 2000
180902
(http://support.microsoft.com/kb/180902/
)
How to start a Windows 98-based computer in Safe Mode
Methods to try if you cannot open a drawingMethod 1: Drag the drawing file to the Visio.exe file iconDrag the drawing file to the icon that represents the Visio.exe file. To do this: If you are running Visio 2010, the Visio.exe file is located in the following folder: Drive:\Program Files\Microsoft Office\Office14, *If you installed Visio 32-bit on Windows 64-bit the Program Files folder will have a (x86) behind the folder name. Visio 2010 now has a native 64-bit version.
Method 2: Double-click the drawing file in Windows ExplorerTry to open the drawing file by using Windows Explorer. To do this:
Method 3: Open the temporary copy of the drawing fileWhen you modify a Visio drawing, a temporary copy of the drawing file is created. The temporary copy of the drawing file is named ~$$FileName.~vsd. The temporary copy of the drawing file is typically created and stored in the same folder as where your drawing is located.To open the temporary copy of the drawing file, do the following:
Method 4: Use the Microsoft Office Visio Viewer to open the drawingInstall Microsoft Office Visio Viewer 2010, and then use Visio Viewer to open and view your drawing. When you install Visio Viewer 2010, you can use Microsoft Internet Explorer 5.0 or a later version of Internet Explorer to view Visio drawings and diagrams that are created with Visio 2010, Visio 2007, Visio 2003, Visio 2002, Microsoft Visio 2000, or Microsoft Visio 5. For more information about Visio Viewer 2010, visit the following Microsoft website:http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=21701
(http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=21701)
If you can open your drawing in the Visio Viewer, the installation of Visio on your computer may be damaged, or your drawing may contain one or more objects that may be damaged. Method 5: Copy the drawing file to another computerCopy the drawing file to another computer that has Visio installed on it. If you can open your drawing on that computer, save the drawing file to a different folder on the hard disk of that computer, and then copy the drawing file back to the original computer.Method 6: Copy the drawing file to another disk on your computerWindows may not be able to read the drawing file from where the drawing file is currently saved. Copy the drawing file to another disk on your computer. For example, copy the file from a floppy disk to the hard disk. After you copy the drawing file to a different disk on your computer, try to open the drawing file.Note If you cannot copy the drawing file from the disk where the drawing file is saved, the drawing file may be cross-linked with other files or folders, or the drawing file may be located in a damaged sector of the disk. To troubleshoot this issue, follow the steps in Method 7. Method 7: Detect and repair errors on the hard diskIf you are running Microsoft Windows Server 2003, Microsoft Windows XP, Microsoft Windows 2000, or Microsoft Windows NT 4.0, use the Check Disk tool to detect file system errors or bad sectors on your hard disk.For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base: 315265
(http://support.microsoft.com/kb/315265/
)
How to perform disk error checking in Windows XP
156571
(http://support.microsoft.com/kb/156571/
)
How to perform Scandisk in Windows
If you are running Microsoft Windows Millennium Edition (Me) or Microsoft Windows 98, use the Scandisk tool to detect file system errors or bad sectors on your hard disk. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 186365
(http://support.microsoft.com/kb/186365/
)
Description of ScanDisk for Windows (Scandskw.exe) in Windows 98/Me
Note Although the Check Disk tool or the ScanDisk tool can detect and repair file-system errors or bad sectors on the hard disk, Visio may still not be able to open or read the file. If you are running Windows Vista, visit the following Microsoft Web site for more information: http://windowshelp.microsoft.com/Windows/en-US/Help/bc1393cf-9f9c-79c7-0f91-9337c2c41f811033.mspx
(http://windowshelp.microsoft.com/Windows/en-US/Help/bc1393cf-9f9c-79c7-0f91-9337c2c41f811033.mspx)
Method 8: Open a previous "Shadow Copy" using the Previous Versions tabMethod 1: Save the file as an XML drawingSave the drawing as an XML drawing (.vdx file), and then save the XML drawing as a drawing (.vsd file). To do this:
Method 2: Insert the drawing to a new blank drawingInsert the drawing to a new blank drawing. To do this:For Visio 2013 and Visio 2010:
Methods to try to help prevent damage to drawingsYou cannot prevent all corruption that may occur to files. Hard disks may wear out, power supplies may fail, and other unforeseeable events may occur that cause files to become damaged. The following tips and suggestions may help reduce the number of damaged files that occur in Visio and in other programs.Optimize the AutoRecover setting in VisioConfigure the AutoRecover setting to a value that works for you. If your computer stops responding or if you lose power unexpectedly, Visio opens the AutoRecovery file the next time that you start the program. The AutoRecovery file may contain unsaved information that would otherwise be lost from your original drawing file. If your original drawing file was damaged, you may be able to recover information from the AutoRecovery file.To configure the AutoRecover setting in Visio:
Make sure that the power supply is consistentA power supply that is not consistent can cause damage to files, even if you do not lose power. A power supply that spikes or that is not sufficient can affect the read process and write processes on your computer, and may cause damage. If the power supply in your area is inconsistent, use a surge protector. Surge protectors can help prevent damage on your computer if power spikes occur. You may also consider using an uninterruptible power supply (UPS). UPS units supply your computer with power even if there is a power outage. Contact your hardware vendor for more information about how to obtain either of these devices.Back up your dataMake sure that you back up your data regularly. For example, store a backup copy of your drawing on a different volume on the hard disk. Or, depending on your requirements and on your environment, implement other backups or other fault-tolerant solutions on your computer. Some fault-tolerant solutions, such as Redundant Array of Independent Disks (RAID), are typically only practical for larger networks. Other backup options include the following:
Work with your data locallyIf you work in a network environment and you experience corruption frequently, you may want to consider copying your files to your local computer before you open the file or before you modify the file. Copy the file to your desktop by using My Computer or by using Windows Explorer. When you work with files that are stored on your local computer, you prevent read issues or write issues that may be caused by network connectivity issues such as the following:
ReferencesFor more information about Visio, visit the following Microsoft websites:
PropertiesArticle ID: 826418 - Last Review: December 31, 2012 - Revision: 8.0 Applies to
| Article Translations |


Back to the top








