In this article, we will be discussing how to resolve the following SQL Server error: “There was an unexpected failure during the setup wizard”.
When you might get this error
OK folks, this is a little bit “tricky” issue.
The scenario is the following:
You are trying to install SQL Server 2005, then you stop the installation, let’s say because you got a warning on a prerequisite that you would like to fix before proceeding. However, in the case you abort the installation, fix the problem and try to install SQL Server again you now get the following error message:
There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information.
How to Resolve the Error
So, what do you do?
As I’ve faced this issue a few days ago, this is the solution I have concluded to:
1. Delete Everything in the folder “C:Program FilesMicrosoft SQL Server90Setup Bootstrap”
2. Enter the registry (Start–Run–Regedit)
3. Delete all the SQL Server 2005 “Setup Bootstrap” keys in “HKEY_CLASSES_ROOTInstallerAssemblies“.
Example: "HKEY_CLASSES_ROOT\Installer\Assemblies\C:|Program Files (x86)|Microsoft SQL Server|90|Setup Bootstrap|BPA|bin|BPAClient.dll"
4. Restart the machine
5. Start again the installation of SQL Server 2005
The philosophy behind this solution is that you actually need to “clean” the machine from any “pending” installation setup settings/files/registry keys/etc. of SQL Server 2005 before you attempt to start a new installation.
The reason you need to do this is because when you start a new installation, if it finds remains of a previous installation it “reads” it and proceeds based on those.
*** Last but definitely not least – A word of caution:
Be extremely careful when you are modifying the Windows Registry. Always take a backup before you do anything and of course always remember what’s written on Registry’s door: Enter at your own risk! 🙂
Strengthen your SQL Server Administration Skills – Enroll to our Online Course!
Check our online course on Udemy titled “Essential SQL Server Administration Tips” (special limited-time discount included in link).
Via the course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more. Many live demonstrations and downloadable resources included!
Featured Online Courses:
- Boost SQL Server Database Performance with In-Memory OLTP
- Essential SQL Server Administration Tips
- SQL Server Fundamentals – SQL Database for Beginners
- Essential SQL Server Development Tips for SQL Developers
- The Philosophy and Fundamentals of Computer Programming
- .NET Programming for Beginners – Windows Forms with C#
- Introduction to SQL Server Machine Learning Services
- Introduction to Azure SQL Database for Beginners
- SQL Server 2019: What’s New – New and Enhanced Features
- Entity Framework: Getting Started – Complete Beginners Guide
- How to Import and Export Data in SQL Server Databases
- Learn How to Install and Start Using SQL Server in 30 Mins
- A Guide on How to Start and Monetize a Successful Blog
Read Also:
- SQL Server Installation and Setup Best Practices
- The TempDB System Database in SQL Server
- SQL Server 2016: TempDB Enhancements
- tempdb growth
- Introduction to SQL Server Machine Learning Services
- Essential SQL Server Administration Tips
- …more
Check our other related SQL Server Administration articles.
Subscribe to our newsletter and stay up to date!
Check out our latest software releases!
Check out our eBooks!
Rate this article:
Reference: SQLNetHub.com (https://www.sqlnethub.com)
© SQLNetHub
Artemakis Artemiou, a distinguished Senior Database and Software Architect, brings over 20 years of expertise to the IT industry. A Certified Database, Cloud, and AI professional, he earned the Microsoft Data Platform MVP title for nine consecutive years (2009-2018). As the founder of SQLNetHub and GnoelixiAI Hub, Artemakis is dedicated to sharing his knowledge and democratizing education on various fields such as: Databases, Cloud, AI, and Software Development. His commitment to simplicity and knowledge sharing defines his impactful presence in the tech community.