SMS uses SQL Server to store its system information and computer inventory data. When you upgrade SQL Server for SMS 1.0 or 1.1 databases, additional steps are required to re-create some of the stored procedures used by SMS. If these stored procedures are not created, then the SMS Scheduler cannot activate jobs that use the Include Substitutes option. This means that jobs will remain in a pending state and will not be activated.
You can use ISQL/w in the SQL Server program group to execute the script file.
The Microsoft ISQL/w window opens and displays the Connect Server dialog box.
This command did not return data, and it did not return any rows.
If the Results tab displays 'Invalid Object Name' errors, verify that you did not execute the script in the wrong database.
Note that you do not need to manually run the sp_site.sql script for SMS version 1.2 databases. For more information, see the Microsoft Systems Management Server documentation.