Click here to Skip to main content
15,913,332 members
Articles / Programming Languages / C++
Technical Blog

How to Install SQL server 2008 on Windows 7

Rate me:
Please Sign up or sign in to vote.
3.86/5 (5 votes)
24 Dec 2011CPOL3 min read 226.9K   7   9
In my previous post I show How to Install IIS on Windows 7. Now I am going to show How to Install Microsoft SQL Server 2008 Express Edition. First you need the installer, download it from here. Requirements: Visual Studio … Continue reading →

In my previous post I show How to Install IIS on Windows 7. Now I am going to show How to Install Microsoft SQL Server 2008 Express Edition.

First you need the installer, download it from here.

Requirements:

Visual Studio 2010 or VS 2008 SP1

Step 1: Double click on the installer. It will take some time to extract. After that an window  will open as follow.

First window of installation

Step 1

Step 2: From this window click on the Installation menu (See Left). Now there will be appear some option under Installation. From right, click on the option New SQL Server stand-alone installation or add features to an existing installation.

Note: After Clicking on that a window may appear as bellow. Just click on the button Run Program of that.

Click Run Program

Note

Step 3: Now setup will take a moment to complete some operation. To continue there can not be any operation with status failed. If any operation fails then it will not be possible to continue installation. Click OK

Every operation should be passed

Step 4

Step 4: This is express edition so I do not need to enter any product key. Just Click on Next

Next

Step 4

Step 5: Check Accept the terms and click NEXT

Check Accept Terms & Condition and Click Next

Step 5

Step 6: Now Click Install button. Some setup support files will be installed.

Install Setup Support Files

Step6

Step 7: Now again It needs some operation to be completed. Every operation must be  passed or warning or skipped. If any operation fails then it is not possible to continue. Click Next.

There can not be any operation with failed status

Step 7

Step 8: Now select the features which do you need. Here I am selecting Database Engine Services, Busines Intelligence Development Studio, Management Tools basic & SQLl Client Connectivity SDK. Click Next.

Select Services

Step 8

Step 9: Here we need the name and instance ID. I am selecting Default Instance but keep the name “SQLExpress” in your mind for future use. Click Next.

Check Default instance

Step 9

Step 10: Now a window will appear  and it will show the space required and available. Click Next.

Click Next

Step 10

Step 11: Here select the account name from the dropdown list for SQL Server Database Engine-

NT AUTHORITY\NETWORK SERVICE and Click Next.

Select NT AUTHORITYNETWORK SERVICE

Step 12: Now select which mode do you want to use. Here I am selecting the Mixed mode.
For mixed mode I have to provide the password for the root account (username “sa” default) and adding my current user by which i will also be able to access database engine without default administrator account (username : sa ).

Select NT AUTHORITY\NETWORK SERVICE

Step 12

Step 13: Click Next

Click Next

Step 13

Step 14: Now again every operation must be passed or skipped. If there is any operation with status failed then installation will not be possible. Click Next

There must not be any operation with status failed.

Step 14

Step 15: Now finally it is going to start the installation. Click Install

Start Installation

Step 15

Step 16: Now wait till installation is complete. Setup is complete. Click Next

Next

Step 16

Step 17: Now Close this window

Close

Close

Exit this

Exit this

At last Exit this window

Installation is complete.Install SQL Server 2008 SP1. If you face any problem just let me know. After installation to see how to connect and perform basic operation by Management Studio see my next post.

Thanks.


License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionRestart computer as failed while i m installing SQL Server 2008 Pin
virag nirmalkar8-May-14 5:06
virag nirmalkar8-May-14 5:06 
Questionabout database error Pin
Member 1034109716-Oct-13 18:15
Member 1034109716-Oct-13 18:15 
Bugproblem in connecting to server Pin
Member 97237442-Jan-13 5:54
Member 97237442-Jan-13 5:54 
Bugproblem Pin
Member 97237442-Jan-13 5:45
Member 97237442-Jan-13 5:45 
Questionconnect to server SQL 2008 Pin
MiBeloved27-Jun-12 12:53
MiBeloved27-Jun-12 12:53 
I read your post about the installation of SQL server 2008. I just reinstalled the same but the R2 Developer disc.

I am always getting stuck at the point of connecting after installation and presently got the message below. I am new to this and would appreciate any help.

I installed it as per instructions in the Microsoft SQL 2008 book by Mike Hotek.

Could you look at the error message and give some advice on what to do.

I disabled the firewall while installing it and has just turned it back on,

Here is the error message:

============

===================================

Cannot connect to MIBELOVED-PC\SQLEXPRESS.

===================================

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

------------------------------
Error Number: -1
Severity: 20
State: 0


------------------------------
Program Location:

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectorThread()
GeneralRe: connect to server SQL 2008 Pin
Razib Chandra Deb27-Jun-12 22:13
Razib Chandra Deb27-Jun-12 22:13 
GeneralRe: connect to server SQL 2008 Pin
MiBeloved28-Jun-12 15:56
MiBeloved28-Jun-12 15:56 
GeneralRe: connect to server SQL 2008 Pin
MiBeloved30-Jun-12 13:40
MiBeloved30-Jun-12 13:40 
GeneralMy vote of 1 Pin
Selvin24-Dec-11 16:57
Selvin24-Dec-11 16:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.