Microsoft KB Archive/838027

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

Article ID: 838027

Article Last Modified on 6/13/2007

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007
 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003

-



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

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.

Additional query words: visio2003 visio2k3 visio11 vso2003 vso2k3 vso11 visio2007 visio2k7 visio12 vso2007 vso2k7 vso12 kbnoOfficeAlertID

Keywords: kbexpertisebeginner kbprb kbsavefile kbopenfile kbtshoot KB838027

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.