Download SQL Server 2005 Express
First, you will need to download SQL Server 2005 Express. You have two options to download. You can either download SQL Server 2005 Express without any management tools (55 MB) from http://www.microsoft.com/downloads/details.aspx?Fa... or you can download SQL Server 2005 Express with management tools (256 MB) from http://www.microsoft.com/downloads/details.aspx?Fa...
I recommend installing "SQL Server 2005 Express with Advanced Services", it is worth the extra 200 MB to be able to troubleshoot your SQL Server if anything ever goes wrong.
Install SQL Server 2005 Express
SQL Server 2005 Express requires .NET Framework 2.0, if your server does not have .NET Framework 2.0 you will need to download .NET Framework 2.0 and install it on your server. When you are ready to install SQL 2005 Express, follow these steps:
- Run SQLEXPR_ADV.EXE to install SQL 2005 Express.
- When you get to the Registration Information page, uncheck "Hide advanced configuration options" and click Next.
- On the Feature Selection page, enable "Connectivity Components" and "Management Studio Express".Click Next.
- On the Instance Name page you have two options. If you are installing to a server that does not have another install of SQL and will never have another install of SQL, choose "Default instance", otherwise leave it set to a Named instance of SQLExpress.Click Next.
- On the Service Account page, make sure "SQL Server" and "SQL Browser" are both enabled (checked).Click Next.
- On the Authentication Mode page, you can either leave it configured to use Windows Authentication Mode only or Mixed Mode (Windows Authentication and SQL Server Authentication). I usually enable Mixed Mode so that if for some reason my security gets messed up I always have a backdoor account (the SA account). If you choose Mixed Mode, you will need to enter and confirm a password for the SA account. Click Next and click Next again.
- On the Configuration Options page, enable "Add user to the SQL Server Administrator role".Click Next, click Next again, and then click Install.
- When the installer completes, click Next and then Finish.
Enable TCP/IP
Now that SQL 2005 Express is installed, we need to configure the Network options that are disabled by default.
- In the Start Menu, open Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Surface Area Configuration
- In the Surface Area Configuration utility, click the link "Surface Area Configuration for Services and Connections"
- Go to MSSQLSERVER > Database Engine > Remote Connections
- Enable "Local and remote connections"
- Select "Using TCP/IP only". If you need Named Pipes then choose "Using both TCP/IP and named pipes".
- Click OK.
- Close the Surface Area Configuration utility.
Add Firewall Exceptions
If you have a software firewall installed on your server, you will need to add exceptions for the SQL Server and SQL Browser services. If you are using Windows Firewall, do the following:
- In your Control Panel, open the Windows Firewall applet.
- Go to the Exceptions tab.
- Click Add Program
- Browse to and select "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe"
- Click OK.
- Click Add Program
- Browse to and select "C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe"
- Click OK and then click OK again.
If you are using a third-party software firewall, you will need to follow their instructions to add exceptions to sqlservr.exe and sqlbrowser.exe.
Restart the Services or Reboot the Server
When you have completed all of these steps, you will need to restart the SQL Server and SQL Browser services to complete the process. If you still have problems, you may need to restart your server.