Show AllShow All

Error and Warning Messages

When you open a VDX, VSX, or VTX file in Microsoft® Office Visio®, any error or warning messages that might result appear in message dialog boxes and then are saved in a log file.

The log file includes details on why a problem has occurred and the action Visio has taken in response to the problem, and, if possible, the line number where Visio has detected a problem in the document.

An example of an error log.

Note  To be able to see warning and error message dialog boxes, make sure the Show file save warnings or Show file open warnings check boxes are selected on the Save tab of the Options dialog box in Visio (Tools menu) .

VDX files must always be well-formed, and any XML data in a file (including XML in SolutionXML elements) that has schema references must pass validation or Visio will not load the file. If you subsequently modify a file that has passed validation so that it contains invalid XML, it will fail to load the next time you try to open it in Visio.

ShowProblems that create warnings and errors

ShowError messages returned by the MSXML Parser when attempting to load a VDX file

ShowWarning messages returned by Visio when loading a DatadiagramML file

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp