Symptoms
When you install Microsoft SQL Server 2005 Service Pack 2 (SP2), SQL Server 2005 Express Edition (SQL Server Express) SP2, or SQL Server Express with Advanced Services SP2, you receive the following error message:
SQL Server Setup failed to execute a command for server configuration.The error was [Microsoft] [SQL Native Client] [SQL Server] CREATE DATABASE failed. Some File names listed could not be created. Check related errorrs.. Refer to the server error logs and Setup logs for detailed error information.Note In this error message, “errorrs” is a misspelling of the word “errors.” Also, the sentence “Check related errorrs..” has two period (.) characters.
Additionally, you experience one of the following symptoms.
Symptom 1When you perform a new installation of SQL Server Express SP2 or of SQL Server Express with Advanced Services SP2, the following error message is logged in the SQLSetup0001_ComputerName_SQL.log file:
SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft] [SQL Native Client] [SQL Server]Incorrect syntax near ‘=’.
[SQL Server]Cannot dump ##MS_AgentSigningCertificate##. SYSDBUPG.SQL terminating.This problem occurs if the length of the installationpath exceeds 58 characters.
Symptom 2When you install SQL Server Express SP2 or SQL Server Express with Advanced Services SP2 on an existing instance of SQL Server Express, the followingerror messages is logged in the SQLSetup0001_ComputerName_SQL.log file:
SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.. Refer to the server error logs and Setup logs for detailed error information.Note In this error message, the sentence “Check related errors..” has two period characters.
This problem occurs if the length of the installationpath exceeds 58 characters.
Symptom 3When you install SQL Server 2005 SP2 on an existing instance ofSQL Server 2005 Service Pack 1 (SP1) or on an existing instance of the original release version of SQL Server 2005, the following error message is logged in the SQL9_Hotfix_KB921896_Sqlrun_Sql.msp.log file:
[SQL Server]Incorrect syntax near ‘=’.
[SQL Server]Cannot dump ##MS_AgentSigningCertificate##. SYSDBUPG.SQL terminating.This problem occurs if the length of the installation path exceeds 128 characters.
Resolution
This problem occurs because the script in the Sysdbupg.sql file contains the following code to escape quotations in a file name.
SELECT @certificate_name = QUOTENAME(@certificate_name, ””)The QUOTENAME function returns null if the length of the input value exceeds 128 characters. The longer path name triggers an error in the script.