Article ID: 838027 - Last Review: June 13, 2007 - Revision: 3.2

When you open a drawing that is managed by a DMS, Visio calls the ODMOpenDoc function and the ODMCloseDoc function three times

Expand all | Collapse all

SYMPTOMS

If you use Microsoft Office Visio 2003 or a later version of Visio with an Open Document Management API (ODMA) program, and if you open a Visio drawing that is managed by the document management system (DMS), you receive multiple dialog boxes that indicate that there is file activity.

When you view the ODMA log, you see three successive pairs of calls to the ODMOpenDoc function and to the ODMCloseDoc function.

As a side effect, the Versioning functionality of some ODMA systems may not be able to create new drawing versions as expected. Additionally, you may receive warning messages or error messages that resemble the following messages:
The document X is already selected for editing
An error (1417) occurred during the action Save As. Access has been denied. Note that saving the document/drawing to a new name is not similarly affected.
Additionally, you may experience the following symptoms:
  • You receive the following error message:
    Document does not have a file attachment.
  • After you receive the previous error message several times, you may receive the following error message:
    An error occurred during the action SaveAs. File not found
    The file is not saved in the DMS.

CAUSE

This behavior occurs if either of the following conditions is true:
  • You open a Visio drawing that is managed by the DMS.
  • You use the Save As command to save a Visio drawing that is managed by the DMS.
This behavior occurs because in certain situations, multiple instances of a drawing are used during certain file input/output (I/O) operations. The result is that Visio 2003 or a later version of Visio makes multiple calls to the ODMOpenDoc function and to the ODMCloseDoc function.

MORE INFORMATION

Visio 2003 and later versions of Visio include several enhancements, including support for Unicode encoding, improved integration with Microsoft Office, and improved security features. To accomplish these enhancements, the file I/O system in Visio 2003 and in later versions of Visio was significantly updated from earlier versions of Visio.

For more information about Visio, visit the following Microsoft Web site:
http://www.microsoft.com/office/visio (http://www.microsoft.com/office/visio)
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

APPLIES TO
  • Microsoft Office Visio Professional 2007
  • Microsoft Office Visio Standard 2007
  • Microsoft Office Visio Professional 2003
  • Microsoft Office Visio Standard 2003
Keywords: 
kbexpertisebeginner kbprb kbsavefile kbopenfile kbtshoot KB838027
 

Article Translations

 

Related Support Centers