Visio2000: "Run-time Error R6026 Pure Virtual Function Call" When You Add Snap-in to MMC (322862)
The information in this article applies to:
- Microsoft Visio 2000 Enterprise Edition Service Release 1 (SR-1), when used with:
- the operating system: Microsoft Windows 2000
This article was previously published under Q322862 SYMPTOMS
When you open Microsoft Management Console (MMC) and try to add a snap-in to MMC on your Microsoft Windows 2000-based computer, you may receive an error message similar to the following:
Run-time Error
Program: C:\Winnt\System32\Mmc.exe
R6025- pure virtual function call
CAUSE
This problem may occur if you install Microsoft Visio 2000 Enterprise Edition Service Release 1 (SR-1) and Microsoft SQL Server 2000 is already installed on the computer. When you install Visio, Setup replaces the following files on the hard disk with earlier versions:
Dtsui.dll
Sqlns.dll
Sqldmo.dll
Sqllex.dll
Sqlmmc.dll
RESOLUTION
To resolve this problem, follow these steps.
- 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.
- Stop the MSSQLSERVER Service. To do so:
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Services.
- In the right pane, right-click MSSQLSERVER, and then click Stop.
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- Switch to the drive: Program Files\Microsoft SQL Server\80\Tools\Binn folder, where drive is the drive on which Windows is installed. To do so, type the following lines at the command prompt, pressing ENTER after each line:
drive:
cd Program Files\Microsoft SQL Server\80\Tools\Binn
- Remove the following files from the registry:
Dtsui.dll
Sqlns.dll
Sqldmo.dll
Sqllex.dll
Sqlmmc.dll
To do so, for each file in the list, type the following line at the command prompt, and then press ENTER, where FileName is the name of the file that you want to remove from the registry:
For example, to remove the Dtsui.dll file from the registry, type regsvr32 /u dtsui.dll, and then press ENTER. - Rename each of the files that you removed from the registry in step 5 by using the .old extension. For example, to rename Dtsui.dll, right-click the file, and then click Rename. Type Dtsui.old, and then press ENTER.
- Insert the Microsoft SQL Server 2000 CD-ROM into the CD-ROM or DVD-ROM drive.
- Start Windows Explorer.
- Copy the following files from the x86\Binn or Enterprise\x86\Binn folder of the SQL Server 2000 CD-ROM to the Program Files\Microsoft SQL Server\80\Tools\Binn folder on the hard disk:
Dtsui.dll
Sqlns.dll
Sqldmo.dll
Sqllex.dll
Sqlmmc.dll
- Register the files that you copied in step 9. To do so, for each file that you copied, type the following line at the command prompt, and then press ENTER, where FileName is the name of the file that you want to register:
For example, to register the Dtsui.dll file, type regsvr32 dtsui.dll, and then press ENTER.
- Restart the MSSQLSERVER Service that you stopped in step 1. To do so:
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Services.
- In the right pane, right-click MSSQLSERVER, and then click Start.
Modification Type: | Minor | Last Reviewed: | 1/6/2006 |
---|
Keywords: | kberrmsg kbprb KB322862 |
---|
|