Microsoft KB Archive/312995

= SQL Server 2000 installation fails with &quot;...previous program installation...&quot; error message =

Article ID: 312995

Article Last Modified on 12/21/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q312995



SYMPTOMS
When you install SQL Server 2000, this error message may occur:

A previous program installation created pending file operations on the installation machine. You must restart the computer before running setup.

After the error message appears, the installation will not continue until you address the problem.



CAUSE
Pending file rename or delete operations.



WORKAROUND
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, depending on the source of the error, you can use any one of the following methods:

 Restart the computer and see if you are able to run the setup. If the restart does not help, use the steps that follow. Perform these steps and then run the SQL Server 2000 setup again:  Click Start, and then click Run. In the Open dialog box, type: &quot;Regedit&quot; (without the quotation marks) or &quot;Regedt32&quot; (without the quotation marks)

 Click OK.

NOTE: Please make sure that you only delete the value mentioned, not the whole session manager key.

 In Registry Editor, expand the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

</li> On the File menu, click Export.

NOTE: In Microsoft Windows 2000, click Export Registry File from the Registry menu.

</li> In the File name text box, type: &quot;Session Manager Key&quot; (without the quotation marks)

</li> Click Save.</li> In the right-pane of the Registry Editor window, right-click PendingFileRenameOperations. On the shortcut menu that appears, click Delete.</li> In the Confirm Value Delete message dialog box that appears, click Yes.</li> On the File menu, click Exit.

NOTE: In Windows 2000, click Exit on the Registry menu.

</li> Restart the computer.</li> Using the Registry Editor, verify that the PendingFileRenameOperations registry value is not available.

Note The PendingFileRenameOperations registry value may be re-created when you restart the computer. If the registry values are re-created, delete the PendingFileRenameOperations registry value again by completing steps a through j, and then run SQL Server 2000 Setup. Do not restart the computer before you run SQL Server 2000 Setup.</li></ol> </li> Check other control set keys (for example, ControlSet001, ControlSet002, and so forth) for the same values and also delete them.</li> Identify the virtual memory settings on the computer. If the paging file is too small or if there is no paging file, this error message may occur at startup:

Limited Virtual Memory Your system has no paging file or the paging file is too small.

If the error message occurs, determine the placement of the paging file from the virtual memory settings and give that drive full permissions for the system account.</li></ol>