Microsoft KB Archive/303618

= Visio2002: &quot;OLE Automation&quot; Error Message When You Attempt to Add Devices to Your Network Diagram =

Article ID: 303618

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Visio 2002 Professional Edition
 * Microsoft Visio Network Center
 * Microsoft Visio Enterprise Network Tools

-



This article was previously published under Q303618



SYMPTOMS
When you attempt to use the Add Devices command to add devices to your network diagram, you may receive the following error message in a new Microsoft Visio session window:

%s does not exist. Enter a new file name.

An error has occurred attempting to use the OLE automation interfaces supplied by Visio. Make sure that Visio 5.0 or later has been successfully installed.

When you click OK in response to this message, you receive the following error message:

An error occurred reading the database. Error code = 1005.

A blank Add Devices dialog box is displayed, and you are then unable to add device shapes to your network diagram.



CAUSE
This behavior can occur if all of the following conditions are true:
 * You install Microsoft Visio 2000 Enterprise.

-and-
 * You install Microsoft Visio 2002 and choose to keep the Visio 2000 installation.

-and-
 * You install Microsoft Visio Enterprise Network tools for Visio 2002.

-and-
 * You remove Visio 2000 Enterprise.

-and-
 * You use the Add Devices command in Visio 2002 to add devices to your network diagram based on your AutoDiscovery database.



RESOLUTION
To work around this issue, re-register Visio 2002 after you remove Visio 2000 from your computer's hard disk, and then repair the AutoDiscovery and Layout solution. To do this, follow these steps:  Click Start, and then click Run. In the Open box, type the following line, and then click OK:

visio /reg

 Click Start, point to Settings, and then click Control Panel.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.

 Double-click Add/Remove Programs. In the Currently installed programs list, click Microsoft Visio Network AutoDiscovery and Layout, and then click Change. On the Microsoft Visio AutoDiscovery and Layout Maintenance Mode screen, click Repair - Restore to original installation state, and then click Next.</li> Click OK in response to the Microsoft Visio AutoDiscovery and Layout setup completed successfully message.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
Although you are able to run multiple versions of Visio on the same computer, it is not possible to install and run multiple versions of Visio Enterprise Network Tools on the same computer. That is, you are only able to install and use either the network diagramming solutions in Visio 2000 Enterprise or the network diagramming solutions in Visio Enterprise Network Tools for Visio 2002. If you want to upgrade, you must remove the earlier version or allow Visio Enterprise Network Tools Setup to remove it for you.

For more information about creating network diagrams by using the AutoDiscovery and Layout solution, type AutoDiscovery and Layout in the Ask a question box or the Answer Wizard, and then press ENTER to view the topics.

For additional information about how to run multiple versions of Visio on the same computer, click the article number below to view the article in the Microsoft Knowledge Base:

298947 Visio2002: How to Run Multiple Versions of Visio

Additional query words: prb netc provent vent

Keywords: kbbug kberrmsg kbpending KB303618

-

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

© Microsoft Corporation. All rights reserved.