Check out the YouTube instructional video on how to successfully install sql server 2005 in windows 8.
HOW-TO: Successfully Install SQL Server 2005 In Windows 8 or Windows 8.1
In the video, I will show you how to install SQL Server 2005 in Windows 8 and overcome this error message:
The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, “How to: View SQL Server 2005 Setup Log Files” and “Starting SQL Server Manually.”
Installing SQL Server 2005 in Windows 8 or Windows 8.1 (as well as some other Operating Systems) can be a frustrating and hair pulling task. For those of us who write software for a living, Microsoft makes it difficult to buy a new PC with a new operating system and install an older version of the SQL Server software. We know we need it to do our jobs. Microsoft thinks it’s too old and everybody should upgrade. The problem is, we can’t all afford to operate and maintain multiple machines with different OS’s just to host different versions of SQL Server. Even according to Microsoft’s own documentation, the only SQL Server version that is supported in a Virtual Machine environment is SQL Server 2008 R2 and above, and ONLY on Hyper-V. I’ve got VMWare Workstation and have for years, and for the life of me, as many times as I’ve tried to create a virtual machine environment for SQL Server 2000 or SQL Server 2005, it never works out. The VM’s are way too slow compared to installing in the native OS tied to the hardware without any additional processing layers.
So there are those developers out there, just like me, who find themselves in need of a new PC and they can only get the latest OS from Microsoft. We purchase our powerhouse PC from one of the big stores and bring it home. Chances are you purchased Windows 8/8.1 Home Edition and now you want to upgrade to Windows Professional or Ultimate. So you go through all of that, then you start installing software.
For me, when I install a whole new machine, I do it in incremental, logical steps. I try to install my various development tools in a manner that reflects the linear timeframe that they came out. So, I may install Visual Studio 2008, Visual Studio 2010, then Visual Studio 2012, and in between I’ll be installing SQL Servers and 3rd party components that were around during the time the development IDE’s were out.
After a few hours of installing OS upgrades, running Windows Update (which I do constantly during this process), and other software, I finally get to SQL Server 2005 and it won’t install. I’m dead in the water.
So what do I do? I do what I’ve done a thousand times (and you probably have too). I think – this is a much more powerful machine than the last one, maybe a VM will work this time. So I install VMWare Workstation, create a VM for my SQL 2005 installation, purchase and install a separate hard drive just for the VM’s, and then I go about installing Windows Server 2003 and SQL Server 2005. I always install 2 instances: DEV and STAGING. It’s got to do with my workflow.
A couple of days later and literally dozens of software installs, windows updates, incremental backups with ShadowProtect, I am ready to start working. I have a timekeeping application I wrote in Access as an ADP which I use to keep track of billable time. I fire that up, fix the connection to the new server instance running in a VM, and restart it. The first thing I get is an error telling me the code that tries to go to the last record failed. It’s OK, I just click OK and then click the Last Record button in the record navigator at the bottom of the form. But it’s a real pain in the ass, you know? I just came off of Windows 7 Ultimate laptop with an i7 Processor and 16 GB of RAM where I used SQL 2005 installed and never had this problem. It’s only with VM’s and many years of experience and my built-in ability to just “know” what the problem is tells me it’s a IO issue with SQL Servers IO Subsystem which wants to communicate with a real physical hard drive and face it, setting up VM’s to use physical LUN’s is not the way I want to to spend my time and money. I just need SQL 2005 installed.
So now I have a new machine and SQL 2005 is a pig in the VMWare virtual machine. I know that everything I do with any client project using a SQL 2005 database will take longer and therefore end up costing them more money in an insidious and impossible nibbling away at the time spent on the project with longer than usual run times on queries and processes.
I’m sure a lot of you reading this very, very exciting and engaging diatribe have been there in one way or another, but really I think this article is more addressed to the less experienced developer that runs in to this problem and has no clue how to fix it.
If you follow the instructions in the video, you’ll be able to successfully install SQL Server 2005. Let me give you a few bullet points to keep in mind:
- You need an ALREADY INSTALLED instance of SQL 2005. You may already have one installed on an older machine, on a VM somewhere, or on your previous development machine. If not, beg, borrow, or steal a machine with Windows 7 on it, install SLQ 2005, upgrade to the latest service pack, and copy the two files you need out of the Bin folder in the SQL installation. You’ll need those to replace the originals when the installer fails in Windows 8.
- If you are trying to install on a 64-bit machine, the previously installed SQL 2005 MUST be on a 64-bit machine.
- You MUST run the Service Pack installer for SQL 2005 Service Pack 2 or above on the PREVIOUS installation to make sure your files are going to work with this workaround.
- You MUST use the Service Pack 2 (or later) files from the previous installation to write over the original SQL 2005 files while the installer is still running and the error message “can’t start SQL Server” is still on the screen.
- It is PREFERABLE that you upgrade your PREVIOUS installation of SQL 2005 to Service Pack 4 to have the greatest chance of success when trying to overcome this error by replacing old files with newer files.
The files you will need to replace are:
The location of the files you need to replace will vary from installation to installation, but typically you will find them in:
C:\Program Files\Microsoft SQL Server\MSSQL.X\MSSQL\Binn
where MSSQL.X may be MSSQL.1, MSSQL.2, etc.
NOTE: Later versions of SQL Server installers (SQL 2008, SQL 2008R2, SQL 2012) will create a folder for each instance using the actual instance name. For example, a SQL 2008 R2 instance of SQL2K8R2 will be found in the MSSQL.SQL2K8R2 folder. This is NOT the case with SQL Server 2005. The Instance folders are typically numbered.
To find the actual folder where your instance is running from, open the Services Control Panel applet, and find your instance of SQL Server 2005. Inspect the properties and you will find the path to the SQL Server instance that is running.
Here are the links where you can obtain the SQL Server 2005 Service Pack 4 Installers:
Latest posts by Jerry Boutot, MCAD MCP (see all)
- [VIDEO] How To Secure Remote Desktop On Windows And Safely Access Your Computer From Outside Your Network. - 05/18/2016
- [VIDEO] Introduction To The WordPress Dashboard - 01/02/2016
- How Marketing and Greed Destroyed Black Friday - 11/27/2015
- [VIDEO] How To Create A Simple Advertising Graphic For Website Advertising - 11/19/2015
- 7 Ways To Guarantee Your Great Idea for Software in a Hot Niche Market Will Fail - 11/09/2015