Visio2000: Application Error When You Run Visio for the First Time (292819)



The information in this article applies to:

  • Microsoft Visio 2000 Standard Edition
  • Microsoft Visio 2000 Professional Edition
  • Microsoft Visio 2000 Technical Edition
  • Microsoft Visio 2000 Enterprise Edition
  • the operating system: Microsoft Windows NT
  • the operating system: Microsoft Windows 2000

This article was previously published under Q292819
Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect your system.
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
Note An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled.

For additional information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:

129972Computer viruses: description, prevention, and recovery

SYMPTOMS

When you run Microsoft Visio 2000 for the first time, you receive the following error message:
Visio32.exe application error

The instruction at &0x5f401004 referenced memory at 0x52da29ac. The memory could not be read.
This issue occurs with the Microsoft Windows NT or Microsoft Windows 2000 operating system.

CAUSE

Some files did not get updated or registered properly during the installation.

RESOLUTION

To ensure that all the Visio files are properly updated and registered during the installation, follow these steps:

Re-install Visual Basic for Applications

  1. Log on to Windows by using an administrator account.
  2. Quit all running programs, and then temporarily turn off any anti-virus software.
  3. Insert your Microsoft Visio 2000 CD into the CD-ROM or DVD-ROM drive. If the Installer starts automatically, click Exit.
  4. Open Windows Explorer, and then navigate to the following folder on the CD:

    \Install\BIN\SP\VBA

  5. Right-click the VBA6.msi file, and then click Uninstall.
  6. Click OK. Right-click the VBA6.msi file again, and then click Install.

Re-install Microsoft Visual Studio Service Pack 3

  1. Log on to Windows by using an administrator account.
  2. Quit all running programs, and then temporarily turn off any anti-virus software.
  3. Insert your Microsoft Visio 2000 CD into the CD-ROM or DVD-ROM drive. If the Installer starts automatically, click Exit.
  4. Open Windows Explorer and navigate to the following folder on the CD:

    \Install\bin\sp\SPCore

  5. Right-click the spcore.msi file, and then click Uninstall.
  6. After the file is removed, right-click the spcore.msi file and then click Install.
  7. If you are prompted to restart the computer, click Yes. If you are not prompted, restart the computer.

Manually Re-register Visio

To manually re-register Visio to the registry, follow these steps:
  1. Quit Visio.
  2. On the taskbar, click Start, and then click Run.
  3. Type the following command:

    drive\path\visio32.exe /r

    NOTE: The default location for Visio32.exe is \Program Files\Microsoft Visio\Visio32.exe.
  4. Click OK.

Modification Type:MajorLast Reviewed:2/28/2005
Keywords:kberrmsg kbprb KB292819