PRB: Cannot Reinstall SQL Server After Deleting Files ManuallyLast reviewed: August 28, 1997Article ID: Q173180 |
The information in this article applies to:
SYMPTOMSSQL Server Setup fails during the installation process when it attempts to start SQL Server. Setup shows the following error message in a dialog box before it quits:
The SQL Server installation could not be successfully completed. Setup could not connect to the SQL server.The Windows NT event log shows the following error message:
Msg 17113 : initconfig: error 2(The system cannot find the file specified.) opening 'master.dat' for config information CAUSEA previous installation of SQL Server was removed by deleting the files from the SQL Server directory. Manually deleting registry keys and removing files is not the best way to remove SQL Server. Doing this causes any subsequent reinstallation to fail with the following error in the errorlog:
initconfig: error 2(The system cannot find the file specified.) opening 'master.dat' for config informationThe "Remove SQL Server option" may also be unavailable in the Setup program, so the only way to correctly reinstall SQL Server is to cleanly remove SQL Server and then reinstall it.
WORKAROUNDTo reinstall SQL Server correctly, perform the following steps:
MORE INFORMATIONThe RegistryRebuild = ON switch can not only be used in this situation, but also to recover from a situation where the Windows NT registry has been damaged, inadvertently modified, or restored. For more information, see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q157805 TITLE : BUG: RegistryRebuild Option of Setup Is Not Documented |
Additional query words: regrebuild rebuildregistry gray grey greyed grayed
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |