Documente Academic
Documente Profesional
Documente Cultură
Edition Installation
Users’ Guide
1
SQL Server 2008 R2 Express Edition Installation
Page
Commission on Audit
Commonwealth Ave, Q.C
2
SQL Server 2008 R2 Express Edition Installation
Component Requirement
Framework2 SQL Server Setup installs the following software components required by the product:
.NET Framework 3.5 SP11
SQL Server Native Client
SQL Server Setup support files
Software2 SQL Server Setup requires Microsoft Windows Installer 4.5 or a later version
After installing required components, SQL Server Setup will verify that the computer
where SQL Server 2008 R2 will be installed also meets all the other requirements for a
successful installation.
Network Software Network software requirements for the 64-bit versions of SQL Server 2008 R2 are the
same as the requirements for the 32-bit versions.
Supported operating systems have built-in network software. Stand-alone named and
default instances support the following network protocols:
Shared memory
Named Pipes
TCP/IP
VIA
Note Shared memory and VIA are not supported on failover clusters.
The VIA protocol is deprecated. This feature will be removed in a future version of
Microsoft SQL Server. Avoid using this feature in new development work, and plan to
modify applications that currently use this feature.
Internet Software Microsoft Internet Explorer 6 SP1 or a later version is required for all installations of SQL
Server 2008 R2. Internet Explorer 6 SP1 or a later version is required for Microsoft
Management Console (MMC), SQL Server Management Studio, Business Intelligence
Development Studio, the Report Designer component of Reporting Services, and HTML
Help.
Virtualization SQL Server 2008 R2 is supported in virtual machine environments running on the Hyper-
V role in Windows Server 2008 SP2 Standard, Enterprise and Datacenter editions. The
virtual machine must run an operating system supported for the specific SQL Server 2008
Commission on Audit
Commonwealth Ave, Q.C
3
SQL Server 2008 R2 Express Edition Installation
Hard Disk Disk space requirements will vary with the SQL Server 2008 R2 components you install.
Display SQL Server 2008 R2 graphical tools require Super VGA or higher resolution: at least
800x600 pixel resolution.
Other Devices Pointing device: A Microsoft mouse or compatible pointing device is required.
Note
Installing .NET Framework 2.0 SP2: .NET Framework 2.0 SP2 is not available as a separate download.
You will need to install .NET Framework 3.5 SP1 which includes .NET Framework 2.0 SP2.
2. SQL Server Setup will not install the following required components for SQL Server Express,
SQL Server Express with Tools, and SQL Server Express with Advanced Services. You must
install these components manually before you run SQL Server Setup:
SQL Server Express — .NET Framework 2.0 SP2 and Windows installer 4.5. On Windows Vista
SP2, use .NET Framework 3.5 SP1.
SQL Server Express with Advanced Services — .NET Framework 3.5 SP1, Windows Installer 4.5,
and Windows PowerShell 1.0.
Commission on Audit
Commonwealth Ave, Q.C
4
SQL Server 2008 R2 Express Edition Installation
SQL Server Express with Tools — .NET Framework 3.5 SP1, Windows Installer 4.5, and
Windows PowerShell 1.0.
3. As with all virtualization technologies, SQL Server 2008 R2 running in a Windows Server
2008 SP2 Hyper-V virtual computer will be slower than on a physical computer with the same
physical resources.
Commission on Audit
Commonwealth Ave, Q.C
5
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
6
SQL Server 2008 R2 Express Edition Installation
Figure 2.4 SQL Server 2008 R2 Setup : License Terms (Management Studio)
Commission on Audit
Commonwealth Ave, Q.C
7
SQL Server 2008 R2 Express Edition Installation
5. The Feature Selection will appear then check the Management Tools – Basic and SQL Client
Connectivity SDK checkboxes and click Next.
Figure 2.5 SQL Server 2008 R2 Setup : Feature Selection (Management Studio)
Figure 2.6 SQL Server 2008 R2 Setup : Error Reporting (Management Studio)
Commission on Audit
Commonwealth Ave, Q.C
8
SQL Server 2008 R2 Express Edition Installation
Figure 2.7 SQL Server 2008 R2 Setup : Installation Progress (Management Studio)
Figure 2.8 SQL Server 2008 R2 Setup : Completed Successfully (Management Studio)
Commission on Audit
Commonwealth Ave, Q.C
9
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
10
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
11
SQL Server 2008 R2 Express Edition Installation
14. Check I accept the license terms checkbox and click Next.
Figure 2.14 SQL Server 2008 R2 Setup : Licence Terms (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
12
SQL Server 2008 R2 Express Edition Installation
15. Feature Selection will appear and click Select All then Next.
Figure 2.15 SQL Server 2008 R2 Setup : Feature Selection (Database Engine)
16. Instance Configuration will appear then put SQLExpressR2_[Agency Name] on Named instance
then Click Next.
Figure 2.16 SQL Server Server 2008 R2 Setup : Instance Configuration (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
13
SQL Server 2008 R2 Express Edition Installation
17. In Server Configuration click Service Accounts then in the Startup Type choose both Automatic.
Figure 2.17 SQL Server 2008 R2 Setup : Server Configuration (Database Engine)
Figure 2.18 SQL Server 2008 R2 Setup : Server Configuration (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
14
SQL Server 2008 R2 Express Edition Installation
19. Click the SQL collation, used for backwards compatibility and choose
SQL_Latin1_General_CP1_Cl_AS then click Ok button.
NOTE: Make sure to choose the right collation for it will affect the report generation, login
connections in eNGAS, eBudget and Security Systems. There is no other way in changing the
collation once Database Engine successfully installed, you need to re-install it then choose the
right collation.
Figure 2.19 Customize the SQL Server 2008 R2 Database Engine Collation
Commission on Audit
Commonwealth Ave, Q.C
15
SQL Server 2008 R2 Express Edition Installation
Figure 2.20 SQL Server 2008 R2 Setup : Server Configuration (Database Engine)
21. Click Mixed Mode (SQL Server authentication and Windows authentication) and click Add
Current User then Next.
Figure 2.21 SQL Server 2008 R2 Setup : Database Engine Configuration – Account Provisioning (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
16
SQL Server 2008 R2 Express Edition Installation
22. In Data Directories tab, change the location path the following then click Next.
a. User database directory
b. User database log directory
c. Temp DB directory
d. Temp DB log directory
e. Backup directory
NOTE: For security purposes, we are advising to create folder for Data Files and DB Backup in
other partition of your Computer (Local D:\).
Figure 2.22 SQL Server 2008 R2 Setup : Database Engine Configuration – Data Directories (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
17
SQL Server 2008 R2 Express Edition Installation
Figure 2.23 SQL Server 2008 R2 Setup : Error Reporting (Database Engine)
Figure 2.24 SQL Server 2008 R2 Setup : Installation Progress (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
18
SQL Server 2008 R2 Express Edition Installation
Figure 2.25 SQL Server 2008 R2 Setup : Installation Completed Successfully (Database Engine)
Commission on Audit
Commonwealth Ave, Q.C
19
SQL Server 2008 R2 Express Edition Installation
1. Search for the SQL Server Management Studio installed in your computer.
2. Connecting to server
Server Name : [Computer Name] \ [Database Engine Instance Name] (see Figure 2.14 for
your instance name)
Login : sa
Password: (see Figure 2.19)
Commission on Audit
Commonwealth Ave, Q.C
20
SQL Server 2008 R2 Express Edition Installation
a. If you have multiple servers, click the drop down in Server name section then
choose Browse for more to make sure you are using the right Database Engine.
NOTE: Multiple server names will appear if you installed SQLEXPRESS more than one.
Commission on Audit
Commonwealth Ave, Q.C
21
SQL Server 2008 R2 Express Edition Installation
b. Click the correct Instance Name (see Figure 2.14) then OK.
Commission on Audit
Commonwealth Ave, Q.C
22
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
23
SQL Server 2008 R2 Express Edition Installation
2. Type engas_uacs as your Database Name and click From Device’ Radio Button and its
Ellipsis Button.
Commission on Audit
Commonwealth Ave, Q.C
24
SQL Server 2008 R2 Express Edition Installation
4. For blank engas database, choose the engas database from the training folder provided
under DATABASES Folder then click Ok.
NOTE: Navigate to your DB Backup Folder if you want to restore your own backup file.
Commission on Audit
Commonwealth Ave, Q.C
25
SQL Server 2008 R2 Express Edition Installation
5. Click OK.
Figure 4.5 Specify Backup for eNGAS after choosing the backup file
Commission on Audit
Commonwealth Ave, Q.C
26
SQL Server 2008 R2 Express Edition Installation
6. Make sure to check the checkbox of your database file before clicking Ok.
Commission on Audit
Commonwealth Ave, Q.C
27
SQL Server 2008 R2 Express Edition Installation
9. Now, restore eBudget database. Right click Databases then choose Restore Database (see
Figure 4.1)
10. Type budget_uacs as your eBudget Database Name and click From Device’ Radio Button and
its Ellipsis Button.
Commission on Audit
Commonwealth Ave, Q.C
28
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
29
SQL Server 2008 R2 Express Edition Installation
12. For blank eBudget database, choose the budget database from the training folder provided
under DATABASES Folder then click Ok.
NOTE: Navigate to your DB Backup Folder if you want to restore your own backup file.
Commission on Audit
Commonwealth Ave, Q.C
30
SQL Server 2008 R2 Express Edition Installation
Figure 4.12 Specify Backup for eNGAS after choosing the backup file
14. Make sure to check the checkbox of your database file before clicking Ok.
Commission on Audit
Commonwealth Ave, Q.C
31
SQL Server 2008 R2 Express Edition Installation
16. You can now see the databases you restored, engas_uacs and budget_uacs under
Databases.
Commission on Audit
Commonwealth Ave, Q.C
32
SQL Server 2008 R2 Express Edition Installation
1. Add new login. Navigate to Security > Logins, right click Logins then choose New Login.
2. In General tab, fill up the following setups (this is a permanent login name and
password, should not be changed):
Commission on Audit
Commonwealth Ave, Q.C
33
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
34
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
35
SQL Server 2008 R2 Express Edition Installation
1. Run the script, change dbusername and dbpassword to ngas sysadmin.sql. Double click
it or drag the highlighted script in the below figure to your MS SQL Server Management
Studio.
2. Make sure that you are in the right database name (engas_uacs) before clicking
Execute.
Commission on Audit
Commonwealth Ave, Q.C
36
SQL Server 2008 R2 Express Edition Installation
4. Make sure that you are in the right database name (budget_uacs) and engas database
name (engas_uacs) should be in the close brackets then click Execute.
Commission on Audit
Commonwealth Ave, Q.C
37
SQL Server 2008 R2 Express Edition Installation
6. Make sure that you are in the right database name (engas_uacs) before clicking
Execute.
Commission on Audit
Commonwealth Ave, Q.C
38
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
39
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
40
SQL Server 2008 R2 Express Edition Installation
2. In Back Up Database General tab, click Add, Select Back up Destination Window will appear.
Click the ellipsis button to select the destination of your back up.
3. Select the path of your back up folder and type for the filename of your backup then click Ok.
We recommend to use the following format of your back up:
[database_name]_[Date]_[Time].bak
Ex. engas_uacs_03012015_1PM.bak
NOTE: We suggest that you always change the filename of your database every time you back
up.
Commission on Audit
Commonwealth Ave, Q.C
41
SQL Server 2008 R2 Express Edition Installation
4. Click Ok.
Commission on Audit
Commonwealth Ave, Q.C
42
SQL Server 2008 R2 Express Edition Installation
a. You will see the below image if you click the Options. You can choose if you
want to append or overwrite the existing back up sets. Check also the Verify
backup when finished.
Commission on Audit
Commonwealth Ave, Q.C
43
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
44
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
45
SQL Server 2008 R2 Express Edition Installation
3. Click SQL Server Services on the left side of the screen and make sure that the SQL
Server Browser and SQL Server is running. If not, right click then click Start.
a. Enabling SQL Server Browser if not set to Automatic. Right click the SQL Server
Browser and click Properties.
Commission on Audit
Commonwealth Ave, Q.C
46
SQL Server 2008 R2 Express Edition Installation
b. Navigate to Service Tab > Start Mode and choose Automatic. Click Apply then Ok.
c. To start it, right click the SQL Server Browser and click Start.
Commission on Audit
Commonwealth Ave, Q.C
47
SQL Server 2008 R2 Express Edition Installation
4. Navigate to SQL Server Network Configuration Tab and double click the Protocols for
your Instance
5. Enabling Protocols, right click on Named Pipes, TCP/IP and VIA and click Enable.
Commission on Audit
Commonwealth Ave, Q.C
48
SQL Server 2008 R2 Express Edition Installation
Commission on Audit
Commonwealth Ave, Q.C
49
SQL Server 2008 R2 Express Edition Installation
7. Navigate to IP Addresses Tab and put the IP Address of your Server / PC Server on IP
Address Section and click Apply.
8. Click OK.
Commission on Audit
Commonwealth Ave, Q.C
50
SQL Server 2008 R2 Express Edition Installation
9. Click Ok
10. We need to restart the SQL Server in order to take effect the changes in our TCP/IP.
Navigate to SQL Server Browser > SQL Server Browser. Right Click SQL Server Browser
and click Restart.
Commission on Audit
Commonwealth Ave, Q.C
51
SQL Server 2008 R2 Express Edition Installation
Things to remember:
1. Windows Firewall should be turned off in both PC Server and Clients (during training)
2. Static IP should be set in both PC Server and Clients (during training)
a. Navigate to your connection’s properties. Select Internet Protocol Version 4 (TCP/IPv4) and
click Properties.
Specify the
Commission on Audit
Commonwealth Ave, Q.C
52
SQL Server 2008 R2 Express Edition Installation
b. Specify the IP Address and the Subnet Mask then click Ok.
Commission on Audit
Commonwealth Ave, Q.C