Updated: 8/22/2007
The most up-to-date version of this file is available on the World Wide Web at the
The SQL Server documentation team welcomes your documentation feedback. We view and investigate all documentation issues but do not answer technical support questions here. For help with technical issues not related to documentation, see If it is possible, |
Contents
1.0 Introduction
1.1 Overview of SQL Server Express SP2 Installation
1.3 Uninstalling SQL Server Express SP2
1.4 Additional Information about SQL Server Express SP2
1.5 Updates to SQL Server 2005 Books Online Are Available
2.0 Obtaining SQL Server Express SP2
3.0 Installing SQL Server Express SP2
3.1 Prepare for a SQL Server Express SP2 Installation
3.2 Install SQL Server Express SP2
3.3 Restart Services and Applications
3.4 Setup Issues
4.1 Service Account and Network Protocol
4.2 Connecting to SQL Server Express
4.3 Creating Reports by Using Reporting Services and Business Intelligence Development Studio
4.4 SQL Server Management Studio Express
4.5 Getting SQL Server Express Assistance
4.6 Providing Feedback on SQL Server Express
5.1 Database Engine
5.2 Replication
1.0 Introduction
Microsoft® SQL Server ™ 2005 Express Edition with Advanced Services Service Pack 2 (SP2) is a free and easy-to-use version of SQL Server 2005. Integrated with Microsoft Visual Studio 2005, SQL Server Express SP2 makes it easy to develop powerful, secure, data-driven applications and deploy them quickly. SQL Server Express SP2 can be redistributed (subject to agreement), and can function as the client database as well as a basic server database. SQL Server Express SP2 is an ideal choice for independent software vendors (ISVs), server users, non-professional developers, Web software developers, Web site hosters, and hobbyists building client applications. If you need more advanced database features, SQL Server Express SP2 can be seamlessly upgraded to more sophisticated versions of SQL Server.
In addition to the features offered in SQL Server 2005 Express Edition SP2, SQL Server Express with Advanced Services SP2 offers additional components that include the following:
-
SQL Server Management Studio Express (SSMSE), a subset of SQL Server Management Studio.
-
Support for full-text catalogs.
-
Support for viewing reports through Report Server.
Important: SQL Server Express with Advanced Services setup installs the server components of Reporting Services. When you install Reporting Services, you can publish and view reports that run on a Report Server. To create reports, install Business Intelligence Development Studio. For more information, see 4.3 Creating Reports by Using Reporting Services and Business Intelligence Development Studio. Note: The initial release version of SQL Server Express with Advanced Services was the same product version as SQL Server Express Service Pack 1 (SP1). This is the first service pack for SQL Server Express with Advanced Services.
SQL Server Express SP2 can also be used to upgrade instances of Microsoft SQL Server 2000 Desktop Engine (also known as MSDE 2000) to SQL Server Express SP2.
Important: |
---|
This service pack can be used to upgrade only instances of SQL Server Express, instances of SQL Server Express with Advanced Services, or instances of MSDE 2000 to SQL Server Express with Advanced Services SP2. You must use Microsoft SQL Server 2005 Service Pack 2 (SP2) to upgrade all other editions of SQL Server 2005 to SP2. SQL Server 2005 SP2 can be obtained from the Microsoft Download Center page, |
1.1 Overview of SQL Server Express SP2 Installation
During installation, SQL Server Express SP2 Setup will enumerate and let you select from an instance of SQL Server Express to upgrade to SP2. SQL Server Express SP2 can be reapplied to SQL Server Express instances that have already been upgraded to SP2. The general process for installing SP2 is as follows:
-
Download and extract the service pack installation files. Section 2.0 describes how to obtain the SP2 installation files.
Note: SQL Server Express SP2 requires the .NET Framework 2.0. -
Prepare for upgrade to SP2. Section 3.1 describes the preparatory steps to take before you install SQL Server Express SP2.
-
Install SQL Server Express SP2. Section 3.2 details options for running SP2 Setup.
1.2 Installation Requirements
Before you install SQL Server Express SP2, review the SQL Server Express installation requirements at the Microsoft Web page,
SQL Server Express requires the .NET Framework 2.0. If you do not have the .NET Framework 2.0 installed, you must download and install it before you install SQL Server Express SP2. You can download the .NET Framework 2.0 from the Microsoft Download Center page,
Note: |
---|
The .NET Framework 2.0 is installed automatically by both Visual Studio and all other editions of SQL Server 2005. |
If you are upgrading an instance of MSDE 2000 to SQL Server Express SP2, you must make sure that the .NET Framework 2.0 is installed.
1.3 Uninstalling SQL Server Express SP2
A new instance of SQL Server Express SP2 can be uninstalled from Add or Remove Programs. However, when you use SQL Server Express SP2 to upgrade a SQL Server Express instance to SP2, the upgrade cannot be uninstalled.
-
In Add or Remove Programs, select Microsoft SQL Server 2005 from Currently installed programs, and then click Remove.
-
In the Components Selection dialog box, select the instance of SQL Server Express to remove.
-
Click Next, and then click Finish to complete the uninstallation wizard.
-
Reinstall an instance of the previous version of SQL Server Express.
-
Apply any hot fixes that were previously installed on the instance.
Note: Additional steps are required to make sure that you can revert to the previous version of SQL Server Express. For more information, see 3.1.1 Back Up Your SQL Server Express Databases.
1.4 Additional Information about SQL Server Express SP2
For additional information about how to run SQL Server Express SP2 on Microsoft Windows Vista, see 5.3 Windows Vista Considerations.
A list of the fixes that are contained in this service pack is provided in Microsoft Knowledge Base article
Hotfixes
All publicly issued SQL Server 2005 security bulletins that were released before January 15, 2007 have been addressed in SP2. If you received a SQL Server 2005 or SQL Server Express hotfix after January 15, 2007, that hotfix might not be included in this release of SP2. Contact your primary support provider about obtaining the same hotfix for SQL Server Express SP2.
How to Determine the SQL Server Express Version Number
Every SQL Server product (including Service Packs) has its own version number. The version number of an instance of SQL Server Express can be viewed two ways:
-
In SQL Server Management Studio Express Object Explorer when connected to the instance.
-
By executing the query
SELECT SERVERPROPERTY('ProductVersion')
against the SQL Server Express instance.
The following table shows the version numbers that correspond to versions of SQL Server Express:
Version Number | SQL Server Express Version |
---|---|
9.00.1399 |
SQL Server Express (initial version) |
9.00.2047 |
SQL Server Express SP1 or SQL Server Express with Advanced Services |
9.00.3042 |
SQL Server Express SP2 or SQL Server Express with Advanced Services SP2 |
Note: |
---|
Your product version may be different from these values if you applied a hotfix. |
1.5 Updates to SQL Server 2005 Books Online are Available
Starting with the April 2006 update of SQL Server 2005 Books Online, a separate Books Online for SQL Server Express is unavailable. SQL Server 2005 Books Online is the primary documentation for SQL Server Express. The February 2007 update of Books Online reflects all product upgrades that are included in this service pack, and also includes other improvements to the documentation. We strongly recommend that you install this update to keep the information in the local copy of the documentation current with SQL Server Express SP2. The February 2007 update is available at this
SQL Server 2005 Samples and Sample Databases
The sample databases are not installed with SQL Server Express. The AdventureWorks sample database can be installed from the
Note: |
---|
Although the Northwind and pubs sample databases will work with SQL Server Express, the AdventureWorks sample database is recommended for use with SQL Server Express. |
Updated SQL Server 2005 Samples Are Available
New and updated samples for SQL Server 2005 are available. You can download these updated samples from this
2.0 Obtaining SQL Server Express SP2
SQL Server Express is available for download at the MSDN page,
Note: |
---|
Be sure to follow the instructions provided at the download site for downloading and extracting the product. |
3.0 Installing SQL Server Express SP2
This section details how to install SQL Server Express SP2 and any late-breaking information or setup issues that can affect successful installation of the service pack. The steps to install SQL Server Express SP2 are as follows:
3.1 Prepare for a SQL Server Express SP2 Installation
This section applies when you upgrade an instance of SQL Server Express or SQL Server Desktop Engine (also known as MSDE 2000) to SP2. When you install a new instance of SQL Server Express SP2, you must also install the .NET Framework 2.0. This is the only preparation required. For more information, see 1.2 Installation Requirements. When you upgrade an instance of MSDE 2000, you must follow the steps in this section and install the .NET Framework 2.0.
Note: |
---|
We recommend that you run Microsoft SQL Server 2005 Upgrade Advisor against instances of MSDE 2000 before you upgrade them to SQL Server Express SP2. Upgrade Advisor identifies features and configuration changes that might affect your upgrade, and it provides links to documentation that describes each identified issue and how to resolve it. You can download Upgrade Advisor from the |
You must do the following before you upgrade an instance of SQL Server Express to SP2:
3.1.1 Back Up Your SQL Server Express Databases
Before installing SQL Server Express SP2, back up the master, msdb, and model databases. Installing SQL Server Express SP2 modifies the master, msdb, and model databases, making them incompatible with pre-SP2 versions of SQL Server Express and MSDE. Backups of these databases are required if you decide to reinstall SQL Server Express or MSDE without SP2.
It is also prudent to back up your user databases.
Important: |
---|
When you apply SQL Server Express SP2 to instances that participate in a replication topology, you must back up your replicated databases together with the system databases before you apply SQL Server Express SP2. |
3.1.2 Verify That the System Databases Have Enough Free Space
If the autogrow option is not selected for the master and msdb system databases, these databases must have at least 500 KB of free space each. To verify that the databases have sufficient space, run the sp_spaceused system stored procedure on the master and msdb databases. If the unallocated space in either database is less than 500 KB, increase the size of the database. For more information, see "Expanding a Database" in SQL Server 2005 Books Online.
3.1.3 Verify That SQL Server Express Service Accounts Are Not Disabled
Setup might fail if the service startup type for the SQLExpress service is set to Disabled.
-
In Control Panel, select Administrative Tools, and then select Services.
-
Locate the SQLExpress service in the list and note the value for Startup Type.
-
If the value for Startup Type is Disabled, double-click the service name and change Startup Type to either Manual or Automatic.
-
Click OK.
3.1.4 Stop Services and Applications
Before installing SP2, you should stop all applications and services that make connections to all instances of SQL Server Express being upgraded. This includes Control Panel and Add or Remove Programs.
If you begin to apply SP2 without first shutting down applications and services, Setup will try to stop the SQL Server Express service. If Setup determines that other applications and services must be stopped, a warning displays the applications and services that must be stopped. After you stop these applications and services, click Try Again to resume Setup. If you cannot stop an application or service, click Continue. Setup will continue, but you might have to restart your computer after Setup finishes. If you click Cancel, the current component is not upgraded to SP2, but Setup continues.
Note: |
---|
Setup cannot always determine which applications and services must be stopped. Before installing SP2, stop all applications and services that make connections to SQL Server Express, including Control Panel. |
3.2 Install SQL Server Express SP2
To install SQL Server Express SP2, run the self-extracting download package. Complete installation instructions for running Setup in both attended and unattended mode are discussed in the "Installing SQL Server Express" section in SQL Server 2005 Books Online. You should review the Setup documentation before you install SQL Server Express SP2. You can access the Setup documentation during Setup by pressing the F1 key or by clicking the Help button in a dialog box that contains online Help. This documentation is also available on the World Wide Web at the
Important: |
---|
SQL Server Express SP2 Setup must be run under an account that has administrative credentials on the computer where SQL Server Express SP2 will be installed. |
3.3 Restart Services and Applications
This section applies only when you upgrade an existing instance of SQL Server Express to SP2.
When the Setup program is finished, it may prompt you to restart the computer. 3.1.4 Stop Services and Applications provides guidelines on when a restart is required. After the system restarts, or after the Setup program is finished without requesting a restart, use the Services application in Control Panel to make sure that any services you stopped before applying the service pack are now running. This includes services such as Microsoft Distributed Transaction Coordinator (MS DTC) and the Microsoft Search services, or instance-specific equivalents. Restart the applications that you closed before you ran the service pack Setup program. You should also back up the upgraded master, msdb, and model databases at this time.
3.4 Setup Issues
This section details Setup issues for SP2. SQL Server Express with Advanced Services contains all updates that are included in SQL Server 2005 SP1.
Note: |
---|
Unless otherwise noted, these issues apply only when you install a new instance of SQL Server Express. |
3.4.1 Existing SQL Native Client Installation May Cause Setup to Fail
Setup might fail and roll back, and you receive the following error message: "An installation package for the product Microsoft SQL Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'." To work around this problem, uninstall SQL Native Client by using Add or Remove Programs.
3.4.2 System Configuration Checker Fails with "Performance Monitor Counter Check Failed" Message
System Configuration Checker (SCC) verifies the value of the Performance Monitor Counter registry key before SQL Server installation starts. If SCC cannot verify the existing registry key, or if SCC cannot run the Lodctr.exe system program, the SCC check fails, and Setup is blocked. To complete setup, you must manually increment the registry key.
Caution: |
---|
Incorrectly editing the registry can cause serious problems that might require that you reinstall the operating system. Microsoft cannot guarantee that problems that result from editing the registry incorrectly can be resolved. Before editing the registry, back up any valuable data. For information about how to back up, restore, and modify the registry, see Microsoft Knowledge Base article |
-
Click Start, click Run, type regedit.exe in the Run text box, and then click OK.
-
Navigate to the following registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]. Look up the following keys:
-
"Last Counter"=dword:00000ed4 (5276)
-
"Last Help"=dword:00000ed5 (5277)
-
"Last Counter"=dword:00000ed4 (5276)
-
Verify the values. The Last Counter value from the previous step (5276) must be equal to the maximum value of the Counter key from Perflib\009 in the following registry key. Also, the Last Help value from the previous step (5277) must be equal to the maximum value of the Help key from Perflib\009 in the following registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009].
Note: "009" is the key that is used for the English (United States) language. -
If necessary, modify the value for the Last Counter and Last Help values in the \Perflib key. Right-click Last Counter or Last Help in the right pane, select Modify, click Base = Decimal, set the value in the Value data field, and then click OK. Repeat for the other key, if it is required, and then close the registry editor.
-
Run SQL Server Express Setup again.
3.4.3 If Cryptographic Services Are Disabled on Windows Server 2003, Setup Fails with Windows Logo Requirement Dialog
Windows Cryptographic Service Provider (CSP) is code that performs authentication, encoding, and encryption services that Windows-based applications access through CryptoAPI on Windows Server 2003. If the CSP service is stopped or disabled, SQL Server Setup fails and displays a Windows Logo Requirement message.
Note: |
---|
Before running SQL Server Setup on a Windows Server 2003 failover cluster, the CSP service must be started on all cluster nodes. |
-
In Control Panel, open Administrative Tools, and double-click Services.
-
In the Name column, right-click Cryptographic Services, and then click Start.
-
Close Services.
-
Run Setup.
3.4.4 MSDTC Is Not Fully Enabled on Windows
Because the Microsoft Distributed Transaction Coordinator (MS DTC) is not completely configured in Windows, applications might not enlist SQL Server Express resources in a distributed transaction. This problem can affect linked servers, distributed queries, and remote stored procedures that use distributed transactions. To prevent such problems, you must fully enable MS DTC services on the server where SQL Server Express is installed.
-
In Control Panel, open Administrative Tools, and then double-click Component Services.
-
In the left pane of Console Root, click Component Services, and then expand Computers.
-
Right-click My Computer, and then click Properties.
-
On the MSDTC tab, click Security Configuration.
-
Under Security Settings, select all the check boxes.
-
Verify that the DTC Logon Account name is set to NT AUTHORITY\NetworkService.
3.4.5 "Force Encryption" Configuration Might Cause SQL Server Express Setup to Fail
Setup might fail if an existing SQL Server client installation is configured by using the "force encryption" option enabled. To work around this issue, disable the option on any SQL Server clients. For Microsoft Data Access Components (MDAC) clients in SQL Server 2000, use the SQL Server 2000 Client Network Utility. For SQL Native Client, uninstall SQL Native Client by using Add or Remove Programs.
3.4.6 Installing a Default Instance of SQL Server 2000 May Disable SQL Server Express
If your computer has SQL Server 2000 Management Tools and a default instance of SQL Server Express is installed, SQL Server Setup will enable you to install a SQL Server 2000 default instance. However, if you do this, it will disable the installed instance of SQL Server Express. Therefore, do not install a default instance of SQL Server 2000 when SQL Server 2000 Management Tools and a default instance of SQL Server Express already exist on the computer.
3.4.7 Installing SQL Server Express on a Windows Domain Controller
Security Note: |
---|
We recommend against running SQL Server Express on a domain controller. |
It is possible to install SQL Server Express on a Windows domain controller; however, it cannot run on a Windows Server 2003 domain controller as Local Service or Network Service. SQL Server service accounts should run as Windows domain user accounts. It is also possible to install SQL Server service accounts to run as Local System, but this option is not recommended.
Do not change the role of the server after you install SQL Server Express. For example, if you install SQL Server Express on a member server, do not use the Active Directory Installation Wizard (Dcpromo.exe) to promote the server to a domain controller. Or, if you install SQL Server Express on a domain controller, do not use the Active Directory Installation Wizard to demote the server to a member server. Changing the role of a server after you install SQL Server Express can cause loss of functionality and is not supported.
3.4.8 Maintenance Mode Prompts for Path to Setup.exe
If you install a new SQL Server Express component in maintenance mode, you will be prompted for the location of Setup.exe on the SQL Server Express installation media. When specifying the location, make sure that the path includes "Setup.exe." For example, the path "D:\" will fail, but "D:\Setup.exe" will succeed.
3.4.9 Troubleshooting Failure of Setup Command Shell Scripts
Setup command shell scripts can generate Windows script errors when path variables contain parentheses. Command shell scripts do not support parentheses in path variables. So when you install 32-bit components to the Windows on Windows (WOW64) 32-bit subsystem on a 64-bit computer, you might see this error. For example, the following script, with a path value of "C:\Program Files (x86)\", generates an error because the shell script interpreter misinterprets the parentheses in the expanded PATH variable as part of the IF/ELSE statement:
IF "%SOME_PATH%" == "" ( SET PATH=%PATH%;%PATH_A% ) ELSE ( SET PATH=%PATH%;%PATH_B% ) |
To work around this issue, change the script to remove the parentheses. For example:
IF "%SOME_PATH%" == "" set PATH=%PATH%;%PATH_A% IF NOT "%SOME_PATH%" == "" set PATH=%PATH%;%PATH_B% |
Or remove the SQL entry that contains parentheses from the path.
3.4.10 Existing Report Server Database Files Might Cause Setup to Fail
When an instance of SQL Server Express that hosts the report server database for an instance of Reporting Services is uninstalled by running Setup at the command prompt with the SAVESYSDB parameter, the report server database files are left behind with the rest of the system database files. By default, these files are named ReportServer$Instancename and ReportServer$InstancenameTempdb. If you then reinstall SQL Server Express with the USESYSDB Setup parameter and specify that the instance host the report server database, Setup will be unable to re-create these database files because they already exist.
To correct this problem, use one of the following methods.
-
Drop report server databases before uninstalling using SAVESYSDB.
-
Do not install Reporting Services together with SQL Server when you use the SAVESYSDB Setup parameter.
-
Use the RSDATABASENAME Setup parameter to specify a new name for the report server database when you install Reporting Services.
3.4.11 Database Compatibility Level Setting When Upgrading From MSDE 2000
This issue applies only when you upgrade an instance of SQL Server Desktop Engine (also known as MSDE 2000) to SQL Server Express with Advanced Services.
When an instance of MSDE 2000 is upgraded to SQL Server Express with Advanced Services, the database compatibility level remains at 80 to enable backward compatibility with existing MSDE 2000 applications. This backward compatibility level disables certain new functionalities of SQL Server Express with Advanced Services. For more information, see the "sp_dbcmptlevel" reference topic in SQL Server 2005 Books Online.
3.4.12 Setup May Fail If There Is a Single Quotation Mark in the System Database Directory
This issue only applies when you upgrade an instance of SQL Server Express to SQL Server Express with Advanced Services.
When you upgrade an instance of SQL Server Express to SQL Server Express with Advanced Services, Setup may fail if the system databases are installed in a directory that has a single quotation mark in the directory name. If failure occurs, you must move the system databases to a directory without a single quotation mark in the directory name. For more information about how to move system databases, see "Moving System Databases" in SQL Server 2005 Books Online.
3.4.13 Restrictions on ALTER DATABASE May Cause Upgrade to Fail
This issue applies only when you upgrade an instance of SQL Server Express to SQL Server Express with Advanced Services.
When you upgrade an instance of SQL Server Express to SQL Server Express with Advanced Services, Setup upgrades system databases. If you have implemented restrictions on the ALTER DATABASE syntax, upgrade may fail. Restrictions to ALTER DATABASE may include the following:
-
Explicitly denying the ALTER DATABASE statement.
-
A data definition language (DDL) trigger on ALTER DATABASE that rolls back the transaction that contains the ALTER DATABASE statement.
If you have restrictions on ALTER DATABASE, and Setup cannot upgrade system databases, you must disable these restrictions and then re-run Setup.
3.4.14 Upgrade Might Fail When Using SQL Server Authentication
This issue applies only when you upgrade an instance of SQL Server Express to SQL Server Express with Advanced Services.
When you apply SP2, Setup upgrades the system databases. When you apply SP2 to upgrade an instance of SQL Server Express, you must use Windows authentication. If you specify SQL Server authentication, even if you use the parameter sapwd, the upgrade will fail.
3.4.15 Upgrade from SQL Server 2005 Express Edition with Advanced Services is Blocked if a Report Server is not Configured
This issue applies only when you upgrade an instance of SQL Server Express with Advanced Services to SP2.
If you upgrade a report server instance in SQL Server Express with Advanced Services to SP2, and the report server was installed by using the files-only option and never configured for operation, you will encounter an upgrade blocking error that states the report server virtual directory is not configured. To resolve this error, either configure or uninstall the report server, and then re-run SP2 Setup.
3.4.16 Upgrading an Instance of SQL Server to Another Edition
After you apply SP2 to an instance of SQL Server 2005, you will not be able to upgrade to another edition of SQL Server 2005. To upgrade an instance of SQL Server to another edition, you must perform the edition upgrade before you apply SP2. However, you can upgrade SQL Server 2005 Express Edition SP2 to SQL Server 2005 Express Edition with Advanced Services SP2.
3.4.17 Installing Reporting Services by running SQL Server 2005 Express Advanced SP2 setup causes the whole installation to fail
When upgrading SQL Server 2005 Express Advanced SP1 to SQL Server 2005 Express Advanced SP2 with the Reporting Services option selected to be installed, you get a message indicating that the upgrade failed. To fix, install SQL Server 2005 Express Advanced SP2 by using the command line. For more information, see
4.0 Additional Information
This section describes additional considerations for using SQL Server Express SP2. This section is intended primarily for users who are new to SQL Server Express.
4.1 Service Account and Network Protocols
For SQL Server Express, the Local System Account is Network Service Account.
SQL Server Express listens on local named pipes and shared memory. By using a default installation, you cannot remotely connect to SQL Server Express. You must enable TCP/IP and check if the firewall is enabled.
-
From the Start menu, select All Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
Optionally, you can open Computer Manager by right-clicking My Computer and selecting Manage. In Computer Management, expand Services and Applications, expand SQL Server Configuration Manager.
-
Expand SQL Server 2005 Network Configuration, and then click Protocols for InstanceName.
-
In the list of protocols, right-click the protocol you want to enable, and then click Enable.
The icon for the protocol will change to show that the protocol is enabled.
-
Click Start, click Control Panel, and then click Network Connections.
-
From the navigation bar on the left, click Change Windows Firewall settings.
-
On the Exceptions tab, in the Programs and Services box, you will probably see that SQL Server is listed, but not selected as an exception. If you select the check box, Windows will open the 1433 port to let in TCP requests. Alternatively, if you do not see SQL Server listed, do the following:
-
Click Add Program.
-
Click Browse.
-
Navigate to drive:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\BINN
-
Add the file sqlservr.exe to the list of exceptions.
-
Click Add Program.
4.2 Connecting to SQL Server Express
After you install SQL Server Express, to connect to SQL Server Express by using the command prompt, use the following command:
sqlcmd -S Server\Instance
Where Server is the name of the computer and Instance is the name of the instance you want to connect to. If you have used the default named instance during setup, specify the instance as "SQLExpress".
4.3 Creating Reports by Using Reporting Services and Business Intelligence Development Studio
SQL Server Express with Advanced Services Setup installs Reporting Services. After you install Reporting Services, you can view reports against relational data on the local computer.
Note: |
---|
Because Reporting Services in SQL Server Express is supported on a local server only, you must install Reporting Services and the SQL Server Express Database Engine on the same computer. |
To create reports by using Reporting Services, you must also install Business Intelligence Development Studio.
Business Intelligence Development Studio is the Microsoft Visual Studio 2005 environment with enhancements that are specific to SQL Server 2005 business intelligence solutions.
Business Intelligence Development Studio is available as part of Microsoft SQL Server 2005 Express Edition Toolkit (SQL Server Express Toolkit). SQL Server Express Toolkit installs the design tools that are used to create reports. SQL Server Express Toolkit is available for download at the MSDN page,
4.4 SQL Server Management Studio Express
Microsoft SQL Server Management Studio Express (SSMSE), which is installed by running SQL Server Express with Advanced Services, provides a graphical management tool for instances of SQL Server 2005 Express Edition and SQL Server Express with Advanced Services. SSMSE can also manage relational engine instances that are created by any edition of SQL Server 2005. SSMSE cannot manage the following:
-
SQL Server Reporting Services
Note: To manage Reporting Services, you must use Report Manager. -
SQL Server Analysis Services
-
SQL Server 2005 Integration Services (SSIS)
-
SQL Server Notification Services
-
SQL Server Agent
SSMSE is also available as a free download at the MSDN page,
-
In the Connect to Server dialog box, specify one of the following:
-
.\sqlexpress
-
(local)\sqlexpress
-
server name\sqlexpress
-
.\sqlexpress
-
Click Enter.
Note: The default installation of SQL Server Express uses the instance name sqlexpress. This instance name must be provided to connect to SQL Server Express by using SSMSE. If you have an instance name other than sqlexpress, connect by using computer name\instance name.
4.5 Getting SQL Server Express Assistance
There are three principal sources of information about SQL Server Express:
-
The updated SQL Server 2005 Books Online documentation.
-
SQL Server sites on
Microsoft Developer Network (MSDN) andTechNet .
-
The
SQL Server community .
Do not use other Microsoft newsgroups for posting questions regarding SQL Server Express. For more information, see "Getting SQL Server Express Assistance" in SQL Server 2005 Books Online. The latest information from the SQL Server Express team can be found at the
4.6 Providing Feedback on SQL Server Express
To provide suggestions and bug reports about SQL Server Express Toolkit, you can do one or more of the following:
-
Send suggestions and bug reports about the features and user interface of SQL Server Express at the
MSDN Product Feedback Center .
-
Send error reports and feature usage data automatically to Microsoft for analysis. For more information, see "Error and Usage Report Settings (SQL Server Express)" in SQL Server 2005 Books Online.
-
Send suggestions and report inaccuracies about the documentation by using the feedback link in SQL Server 2005 Books Online.
5.0 Documentation Notes
This section covers significant issues that can occur after you apply SQL Server Express SP2 and any late-breaking items that are not reflected in the updated SQL Server 2005 Books Online documentation. For more information, see 1.5 Updates to SQL Server 2005 Books Online Are Available. This section does not describe all the fixes that are provided in SP2. For a complete list of these fixes, see Microsoft Knowledge Base article
5.1 Database Engine
The notes in this section are issues for the Database Engine and Database Engine-specific command prompt utilities that also apply to SQL Server Express.
5.1.1 User Instance Functionality
SQL Server Express lets non-administrator users copy or move databases (by using Xcopy deployment) without requiring DBCreator user rights. For more information, see "User Instances for Non-Administrators" in SQL Server 2005 Books Online.
5.1.2 DBCC Error Reporting
Introduced in SQL Server Express SP1.
A mini-dump file (SQLDUMPnnnn.txt) is created in the SQL Server LOG directory whenever a DBCC CHECKDB, DBCC CHECKALLOC, DBCC CHECKFILEGROUP, or DBCC CHECKTABLE command detects a corruption error. When the Feature Usage data collection and Error Reporting features are enabled for the instance of SQL Server, the file is automatically forwarded to Microsoft. The collected data is used to improve SQL Server functionality. For more information, see "Error and Usage Report Settings" in SQL Server 2005 Books Online.
The dump file contains the results of the DBCC command and additional diagnostic output. The file has restricted discretionary access- control lists (DACLs). Access is limited to the SQL Server service account and members of the sysadmin role. By default, the sysadmin role contains all members of the Windows BUILTIN\Administrators group and the local administrator's group. The DBCC command does not fail if the data collection process fails.
5.1.3 Change to the Behavior of Uncommittable Transactions in a Batch
Introduced in SQL Server Express SP1.
When a batch is completed, the Database Engine automatically rolls back any active uncommittable transactions. Before this release, uncommittable transactions had to be rolled back manually.
5.1.4 Considerations for the Autorecovered Shadow Copy Feature of the Volume Shadow Copy Service
The autorecovered shadow copy feature of the Volume Shadow Copy Service (VSS) has the following limitations.
Multiple Persisted Autorecovered Shadow Copies
On Windows Server 2003 SP1 and later, you can create only a single persisted autorecovered shadow copy. To create an additional shadow copy, you must first apply the update described in Knowledge Base article
Note: |
---|
If you have not applied this update, you can create a new persisted autorecovered shadow copy by deleting the existing one first, and then creating the new one. |
Autorecovered Shadow Copies and Full-Text Catalogs
The autorecovered shadow copy feature does not support full-text catalogs. When an autorecovered shadow copy is created, any full-text catalogs in the database on the shadow copy are taken offline. When the database is attached from the shadow copy, the full-text catalog remains offline permanently. All other data remains available in the attached database.
When a database that contains a full-text catalog is attached directly from an autorecovered shadow copy, the attach operation returns the following error message:
Server: Msg 7608, Level 17, State 1, Line 1
An unknown full-text failure (0xc000000d) occurred during "Mounting a full-text catalog".
If you do not have to attach a database directly from the shadow copy, you can avoid this issue by copying the database files and full-text catalogs from the shadow copy to a regular drive-letter based volume, and then attaching the database from that location. As long as the attach command specifies the correct location of the copied full-text files, the full-text catalogs will work.
5.1.5 Full Text Search Considerations
The following considerations apply when you use Full text Search:
-
Full text Search is not supported on a SQL Server Express user instance (RANU).
-
If you install SQL Server Express under the Network Service account, you cannot use Full Text Search capability until you restart the computer.
5.1.6 RC4 Encryption Should Not Be Used
Do not use RC4 encryption to protect your data in SQL Server 2005. Use a block cipher such as AES 256 or Triple DES instead.
5.2 Replication
The notes in this section are late-breaking items for replication.
5.2.1 Replication is Disabled by Default
SQL Server Express can serve as a Subscriber for all kinds of replication, but replication is not installed by default for this edition.
-
On the Feature Selection page, expand Database Services.
-
Click Replication, and then click Entire feature will be installed on local hard drive.
-
On the Feature Selection page, click Client Components, and then click Entire feature will be installed on local hard drive.
5.2.2 Publications Are Not Removed When Upgrading to SQL Server Express
If you upgrade to SQL Server Express from an instance of MSDE that is acting as a Publisher, publications are not removed. SQL Server Express cannot act as a Publisher; therefore, the publications that remain cannot be used on SQL Server Express. For information about how to remove publications, see "Removing Replication" in SQL Server 2005 Books Online.
Important: |
---|
The above issue applies only to SQL Server Express with Advanced Services SP2 and not to SQL Server Express SP2. |
5.3 Windows Vista Considerations
The following considerations apply when installing and running SQL Server Express SP2 on Windows Vista.
5.3.1 Issues Caused by User Account Control in Windows Vista
Windows Vista includes a new feature, User Account Control (UAC), that helps administrators manage their use of elevated privileges. When running on Windows Vista, administrators do not use their administrative privileges by default. Instead they perform most actions as standard (non-administrative) users, temporarily assuming their administrative privileges only when necessary.
UAC causes some known issues. For more information, see the following Web pages on TechNet:
5.3.1.1 Administrator Rights Not Inherited from Windows
Windows Vista users that are members of BUILTIN\Administrators are not automatically added to the sysadmin fixed server role when they connect to SQL Server Express. Only Windows Vista users that have been explicitly added to a server-level administrator role can administer SQL Server Express. Any member of the Built-In\Users group can connect to the SQL Server Express instance but they will have limited permissions to perform database tasks. For this reason, users whose SQL Server Express privileges are inherited from BUILTIN\Administrators and Built-In\Users in previous releases of Windows must be explicitly granted administrative privileges in instances of SQL Server Express running on Windows Vista.
-
Click Start, select All Programs, select SQL Server 2005, and then click SQL Server Management Studio.
-
Connect to SQL Server.
-
To add the Windows user to the sysadmin fixed server role, follow these steps:
-
Click Security.
-
Right-click Logins, and then Click New Login.
-
Type the user name in the Login name textbox.
-
Click Server Roles.
-
Select the sysadmin check box and then click OK.
-
Click Security.
-
Click Start, select All Programs, select SQL Server 2005, right-click SQL Server Management Studio, and then click Run As Administrator.
Note: Run as Administrator option elevates the user permissions. -
You will see a User Account Control dialog box. You might have to provide the administrator credentials. Click Continue.
-
In SQL Server Management Studio, connect to SQL Server.
-
To add the Windows user to the sysadmin fixed server role, follow these steps:
-
Click Security.
-
Right-click Logins, and then Click New Login.
-
Type the user name in the Login name textbox.
-
Click Server Roles.
-
Select the sysadmin check box and then click OK.
-
Click Security.
5.3.2 Setup fails if the machine name contains lowercase letters or case sensitive collation
SQL Server 2005 installation fails if the collation is case sensitive and the computer name contains lowercase letters or special characters. To fix, rename the computer name to use only uppercase letters.