SYMPTOMS
When you try to reinstall Microsoft Systems Management Server (SMS) 2003, you receive the following error message:
Systems Management Server Setup cannot continue because of the following error:
Setup has encountered fatal errors during database initialization. Contact your SQL administrator.
This problem occurs when the Setup program tries to access the instance of Microsoft SQL Server. When this problem occurs, the following message is logged in the Smssetup.log file: SQL user connections are set to auto grow, no need to reset it.
SQL memory is at least 16 meg, no need to reset it.
SQL open objects are set to auto grow, no need to reset it.
SQL locks are set to auto grow, no need to reset it.
SQL Checkpoint 5
Entering FinalSqlOperations
Registering connects for
SMS SiteCodeRegistered the types
SqlExecute <sp_grantlogin "
Domain\SMS_SiteSystemToSQLConnection_
SiteCode">
CSql::Execute failed, SQL error <[42000][15401][Microsoft][ODBC SQL Server Driver][SQL Server]Windows NT user or group '
Computer\SMS_SiteSystemToSQLConnection_
SiteCode' not found. Check the name again. : sp_grantlogin
CAUSE
This problem may occur if the following conditions are true and if they occur in this order:
- You remove an SMS 2003 site server on a domain member server.
- You promote the domain member server to a domain controller.
- You then try to reinstall the SMS 2003 site on the new domain controller.
When you remove an SMS 2003 site, the Setup program does not remove the SQL logins for the earlier installation.
WORKAROUND
To work around this problem, delete the existing SQL security groups, and then run the Setup program again. To do this, follow these steps:
- Start SQL Server Enterprise Manager.
- Expand Microsoft SQL Servers\SQL Server Group\(local)(Windows NT)\Security, and then click Logins.
- Right-click the Computer\SMS_SiteSystemToSQLConnection_SiteCode group, and then click Delete.
Note SiteCode is the site that you removed, and Computer is the name of the new domain controller. - Right-click the Computer\SMS Admins group, and then click Delete.
Note Computer is the name of the new domain controller. - Close SQL Server Enterprise Manager.
- Run the SMS 2003 Setup program again.