Microsoft KB Archive/914158

= You receive an error message when you try to upgrade an expired installation of SQL Server 2005 Evaluation Edition to a retail version of SQL Server 2005 =

Article ID: 914158

Article Last Modified on 9/22/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Standard Edition
 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Workgroup Edition

-



Bug #: 417649 (SQLBUDT)



SYMPTOMS
Consider the following scenario. An installation of Microsoft SQL Server 2005 Evaluation Edition has expired. You try to upgrade the installation to a retail version of SQL Server 2005. In this scenario, you receive the following error message, and then the installation fails:

The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, &quot;How to: View SQL Server 2005 Setup Log Files&quot; and &quot;Starting SQL Server Manually.&quot;

The following error messages are logged in the installation log file:

2007-08-16 16:29:50.10 Server Error: 17051, Severity: 16, State: 1.

2007-08-16 16:29:50.10 Server SQL Server evaluation period has expired.

Additionally, you notice that the following event is logged in Event Viewer:

Event Type: Error

Event Source:

Event Category: (2)

Event ID: 17015

Date:

Time:

User: N/A

Computer:

Description:

SQL Server evaluation period has expired.

For more information, see Help and Support Center at

http://support.microsoft.com

Note  represents the name of the instance that you installed. For the default instance, the instance name is MSSQLSERVER. and  represent the date and the time when the installation failed. represents the name of the computer.



CAUSE
This problem occurs because the Setup program cannot start the SQL Server service. When you install retail versions of SQL Server 2005, the Setup program tries to start the SQL Server service of the old installation of SQL Server 2005 Evaluation Edition. However, the service cannot start because the installation is expired. Therefore, the installation stops, and you receive the error messages.



WORKAROUND
To work around this problem, you must uninstall SQL Server 2005 Evaluation Edition. Then, install the retail version of SQL Server 2005. If you want to keep system databases and reuse the databases after a new installation, you can uninstall SQL Server 2005 at the command prompt by using the SAVESYSDB parameter. Then, install the retail version of SQL Server 2005 at the command prompt by using the USESYSDB parameter.

When SQL Server 2005 Evaluation Edition is expired, you cannot start the SQL Server service. If you want to move the user database to the retail version of SQL Server 2005, you can copy the user database files to a specified location. Then, you can attach the database to the retail version of SQL Server 2005.

For more information about how to install SQL Server 2005 at the command prompt, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms144259.aspx



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbsql2005setup kbtshoot kbexpertiseadvanced kbprb KB914158

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.