Welcome to Symantec Connect.  Log in or register to participate.
Login to participate
Endpoint Management & Virtualization ArticlesRSS

Install and Configure SQL Server 2008 Express

CondorMan's picture

SQL 2008 Express is available free from Microsoft. It is a replacement for MSDE and SQL 2005 which will perform much better than its predecessors. SQL 2008 has no workload throttling like MSDE does and it supports up to 2 CPUs and 2GB RAM, where MSDE only supports 1 CPU and 1GB RAM.

If you are using MSDE and are considering managing more clients than you currently are, or are having problems with your Deployment Server or Notification Server running slowly even after optimizing your configuration, you will want to install SQL Server 2008 instead of MSDE.

SQL 2008 Express supports servicing SQL over your network and so it can be used for Deployment Server and Notification Server as long as you don't have enough clients that you will need more than 2GB RAM. However, network is not enabled by default, so there is some configuration required to get SQL Server 2008 Express to work correctly.

This article will guide you through the process of installing and configuring SQL Server 2008 Express so that you can use it with Deployment Server or Notification Server.

Download SQL Server 2008 Express

First, you will need to download SQL Server 2008 Express. You have two options to download. You can either download SQL Server 2008 Express without any management tools (61 MB) from http://go.microsoft.com/?linkid=9314315 or you can download SQL Server 2008 Express with management tools (219 MB) from http://go.microsoft.com/?linkid=9394725

I recommend installing "SQL Server 2008 Express with Tools", it is worth the extra 150 MB to be able to troubleshoot your SQL Server if anything ever goes wrong.

Install SQL Server 2008 Express

SQL Server 2008 Express requires .NET Framework 3.5 SP1, if your server does not have .NET Framework 3.5 SP1 you will need to download .NET Framework 3.5 SP1 and install it on your server. You can download .NET Framework 3.5 SP1 from http://go.microsoft.com/fwlink/?LinkId=120550

SQL Server 2008 Express requires Windows Installer 4.5, if your server does not have Windows Installer 4.5 you will need to download Windows Installer 4.5 and install it on your server. You can download Windows Installer 4.5 from http://go.microsoft.com/fwlink/?LinkId=123422

SQL Server 2008 Express requires Windows PowerShell 1.0, if your server does not have Windows PowerShell 1.0 you will need to download Windows PowerShell 1.0 and install it on your server. You can download Windows PowerShell 1.0 from http://go.microsoft.com/fwlink/?LinkId=120552

When you are ready to install SQL 2008 Express, follow these steps:

  1. Run SQLEXPRWT_x86_ENU.EXE (or SQLEXPRWT_x64_ENU) to install SQL 2008 Express.
  2. At the "SQL Server Installation Center", choose "System Configuration Checker" to make sure you are ready to install SQL 2008 Express
  3. When the "System Configuration Checker" has validated that you are ready to install SQL 2008 Express, return to the "SQL Server Installation Center" and click on Installation.
  4. Select "New SQL Server stand-alone installation or add features to an existing installation"
  5. A setup support check will run. Make sure there are no errors or warnings, press OK.
  6. The "SQL Server 2008" Setup will now appear, on the Product Key page, click Next.
  7. Check the box "I accept the license terms" and click Next.
  8. Click "Install" to install the Setup Support Files.
  9. When the Setup Support Files install is complete, click Next.
  10. You will now be in the "Feature Selection" page. Select "Database Engine Services" and "Management Tools - Basic" and then click Next.
  11. In the "Instance Configuration" page, specify MSSQLSERVER in both the "Named instance" and "Instance ID" fields, this will force SQL Server 2008 Express to install as the Default instance. If you want to install as a named instance, specify a name other than MSSQLSERVER.
  12. Click Next twice.
  13. You will now be in the "Server Configuration" page. Change the SQL Server Database Engine's Account Name to "NT AUTHORITY\SYSTEM" and SQL Server Browser's Startup Type to Automatic, then click Next.
  14. On the Database Engine Configuration page, you can either leave it configured to use Windows Authentication Mode only or Mixed Mode (SQL Server authentication and Windows 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.
  15. Before you can continue, you will need to specify the group(s) that you want to have unrestricted access to SQL Server. Click "Add..." and select the group(s). I recommend that you at least add Administrators and the "Current User" (Service Account). When you are done here, click Next three times, and then click Install.
  16. When the installer completes, click Next and then Close.

Enable TCP/IP

Now that SQL 2008 Express is installed, we need to configure the Network options that are disabled by default.

  1. In the Start Menu, open Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL Server Surface Area Configuration
  2. In the Surface Area Configuration utility, click the link "SQL Server Configuration Manager"
  3. Expand "SQL Server Network Configuration" and select Protocols.
  4. Enable TCP/IP. If you need Named Pipes, then you can enable them here as well.
  5. Close the SQL Server Configuration Manager.

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:

  1. In your Control Panel, open the Windows Firewall applet.
  2. Go to the Exceptions tab.
  3. Click Add Program
  4. Browse to and select "C:\Program Files\Microsoft SQL Server\MSSQL.10\MSSQL\Binn\sqlservr.exe"
  5. Click OK.
  6. Click Add Program
  7. Browse to and select "C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe"
  8. 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.

jharings's picture

NS6 runs on SQL 2008?

Just want to clarify that you have tested this with NS6.

Jim Harings
Technical Solutions Consultant
Xcend Group
http://xcendgroup.com
Ask me about XCEND's MetriX Real-Time Dashboard Solution - KPI Dashboards made easy!
http://www.xcendgroup.com/real-time-dashboard-soft...

CondorMan's picture

I have only tested with DS

I have only tested this install with Deployment Server, but is should work with NS6 just as well.

Pascal.KOTTE's picture

SQL Server Surface Area Configuration? NS7 RC2 is OK!

Hi, FYI, I never see the "SQL Server Surface Area Configuration" but directly select "SQL Server Configuration Manager" ;-)

& I don't try with NS6, but with NS7 (RC2), it works (seems to) ! Just care not to say "NS7\MSSQLSERVER", but only server name (like NS7) alone: or you get the error "Could not connect to server NS7\MSSQLSERVER or login failed ... (Error: 25 - connection string is not valid)". For the default name like 2000/2005 version; do not use the 2008 "default" name SQLEXPRESS that is a different: change the instance name to MSSQLSERVER when installing like said above, and you can ignore the warning "SQL 2005 not detected"... ;-) Well done CondorMan !

~~~PaKo (Sorry for the Bad English, did you speak French ? Go there https://www-secure.symantec.com/connect/groups/gro...)

Pascal.KOTTE's picture

Not with exPress 2008 - Be Carefull

Hi, sorry I wrote it was OK using eXpress 2008 with the RC2 NS7, in the final version, Altiris NS7 check the SQL version & refuse the install :-( Grrr. Any body know how to force install running all the same??? Because SQL2008 & W2008 are really best performance for same hardware (because of bloc size I think)... When will NS7 support 2008/x64? I receive an answer about 7.1? When 7.1?

~~~PaKo (Sorry for the Bad English, did you speak French ? Go there https://www-secure.symantec.com/connect/groups/gro...)