When you open a drawing that is managed by a DMS Visio 2003 calls the ODMOpenDoc function and the ODMCloseDoc function three times (838027)



The information in this article applies to:

  • Microsoft Office Visio Professional 2003
  • Microsoft Office Visio Standard 2003

SYMPTOMS

If you use Microsoft Office Visio 2003 with an Open Document Management API (ODMA) program and you open a Microsoft 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 are similar to the following:
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 makes multiple calls to the ODMOpenDoc function and to the ODMCloseDoc function.

MORE INFORMATION

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

For more information about Visio 2003, visit the following Microsoft Web site: The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MajorLast Reviewed:2/16/2005
Keywords:kbprb kbsavefile kbopenfile kbtshoot KB838027 kbAudITPRO