Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (5.77 MB, 182 trang )
Part I: Database Administration
listening TCP port(s) and add all of them to Windows Firewall Inbound
Exceptions.
References
SQL Server Browser Services
http://msdn.microsoft.com/en-us/library/ms181087.aspx
How to: Configure a Server to Listen on a Specific TCP Port (SQL Server
Configuration Manager):
http://msdn.microsoft.com/en-us/library/ms177440.aspx
Applies to
Microsoft SQL Server 2005 all editions;
Microsoft SQL Server 2008 all editions;
Microsoft SQL Server 2008 R2 all editions
Microsoft SQL Server TechNet Forum Support Team | Part I
Database Administration
31
Part I: Database Administration
Could SQL Server 2008 Express edition and SQL Server 2008
R2 Express edition be installed side by side with SQL Server
2005 Express?
Answer
Yes, but we need pay attention to the following points for installing SQL Server
2008 Express and SQL Server 2008 R2 Express side by side with SQL Server 2005
Express:
1. If there is no SQL Server 2005 Express Management Tools installed on the
computer, then the three editions of SQL Server 2008 Express and SQL
Server 2008 R2 Express(SQL Server Express, SQL Server Express with Tools
and SQL Server Express with Advanced Services) could be full installed side
by side with SQL Server 2005 Express.
2. If the SQL Server 2005 Express Management Tools or the alone SQL Server
Management Studio Express are installed, then the Management Tools of
SQL Server 2008 Express and SQL Server 2008 R2 could not be installed since
the tools are installed into a shared directory, we will get the following error
message:
Rule "SQL Server 2005 Express tools failed".
The SQL Server 2005 Express Tools are installed. To continue, remove the SQL
Server 2005 Express Tools.
To solve this issue, we need to uninstall Management Tools of SQL Server 2005
Express from Add/Remove programs.
Installing SQL Server 2008 Express and SQL Server 2008 R2 Express is same with
the other editions, please refer the below links:
Reference
How to: Install SQL Server 2008 R2 (Setup)
http://msdn.microsoft.com/en-us/library/ms143219.aspx
How to: Install SQL Server 2008(Setup)
http://msdn.microsoft.com/en-us/library/ms143219(SQL.100).aspx
Installing SQL Server 2008 Express Guidance
http://msdn.microsoft.com/en-us/library/dd981045(SQL.100).aspx
Microsoft SQL Server TechNet Forum Support Team | Part I
Database Administration
32
Part I: Database Administration
Applies to
Microsoft SQL Server 2005 Express
Microsoft SQL Server 2008 Express
Microsoft SQL Server 2008 R2 Express
How do I apply a service pack for an instance of SQL Server
2005 Express Edition or SQL Server 2008 Express Edition?
Answer
The behavior to apply a service pack for an instance of SQL Server Express Edition
has been changed since SQL Server 2008 than prior SQL Server 2005.
In SQL Server 2005, to install a service pack for an instance of SQL Server 2005
Express Edition, we cannot use SQL Server 2005 Service Pack which is used to
upgrade non-Express Editions but need to use SQL Server 2005 Express Edition
Service Pack. Also, SQL Server 2005 Express Edition can also be used for new
installations. Here are details:
a) To install a service pack for an instance of SQL Server 2005 Express Edition,
please use SQL Server 2005 Express Edition Service Pack.
b) To install a service pack for an instance of SQL Server 2005 Express Edition
with Advanced Services, please use SQL Server 2005 Express Edition with
Advanced Services Service Pack.
However, the behavior was changed since SQL Server 2008. SQL Server 2008
Express Edition Service Pack is only used for new installation (with service pack
patched); and to upgrade an instance of SQL Server 2008 Express Edition, please
use SQL Server 2008 Service Pack instead which can upgrade all editions of SQL
Server 2008.
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server TechNet Forum Support Team | Part I
Database Administration
33
Part I: Database Administration
How do I resolve ‘SQL Server Setup cannot valid the service
accounts’ error message during the setup?
Answer
The error message typically happens when you use domain accounts as service
account. If the Activity Directory Service (ADS) is not available currently, so the
setup cannot valid the domain accounts you specify.
As a work around, you can temporarily choose built-in system accounts from
dropdown list during the installation which should work to complete the setup.
However, a built-in system account may have addition privileges than SQL Server
service actually requires. Therefore, we recommend reconfiguring each service
of SQL Server to use an individual domain account or local Windows account.
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server TechNet Forum Support Team | Part I
Database Administration
34
Part I: Database Administration
Why do I get ‘Rule “Existing clustered or
clustered-prepared instance” failed’ error while adding
new features to an existing instance of SQL Server Failover
Cluster?
Symptom
After SQL Server 2008 or 2008 R2 cluster setup, you may want to add new
features that were not installed during the initial installation. Therefore, you try
to add addition features to this cluster. For instance, if you perform this
operation using GUI, you may use the following steps:
1. Start SQL Server setup, and ‘select New installation or add features to an
existing installation’ wizard.
2. Choose the cluster instance which you want to add features to in the
Installation Type page.
3. Select features you want to add and following the wizard.
However, in the ‘Installation Configuration Rules’ page, you get the following
error:
Rule “Existing clustered or cluster-prepared instance” failed.
The instance selected for installation is already installed and clustered on
computer xxx. To continue, select a different instance to cluster.
Microsoft SQL Server TechNet Forum Support Team | Part I
Database Administration
35