Microsoft KB Archive/140681

= Incomplete SQL Server Upgrade Causes Problems Creating Jobs =

Article ID: 140681

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Systems Management Server 1.1 Standard Edition

-



This article was previously published under Q140681





SYMPTOMS
After you upgrade from Microsoft SQL Server version 4.21a to SQL Server 6.0 for Systems Management Server, the sending of jobs fails. One or more of the following error messages from SCHED.LOG located in :\ \LOGS appear and indicate the problem:

General SQL Server error: Check messages from the SQL Server.

You must drop and recreate procedure sp_GetSubSite.

-or-

You must drop and recreate procedure sp_GetSubGroupSites

If you check the UPGRADE.OUT file which is generated by SQL Setup during the upgrade process the one or more of the following messages can be found:

Msg 208, Level 16, State 1

Invalid object name "#Sites".

Error occurred updgrading object sp_GetSubSites in database SMS, please drop and recreate.

-or-

Msg 208, Level 16, State 1

Invalid object name "#Sites".

Error occurred updgrading object sp_GetSubGroupSites in database SMS, please drop and recreate.



CAUSE
During the upgrade the stored procedures sp_GetSubSite and sp_GetSubGroupSites could not be updated.



RESOLUTION
To fix the problem run an SQL script, which is stored in a file called SP_SITE.SQL in the :\ \SITE.SRV\.bin directory. Use the Query Analyzer in the SQL 6.0 Enterprise Manager or ISQL/w to execute the script file against the Systems Management Server database.



STATUS
Microsoft has confirmed this to be a problem in Systems Management Server version 1.1. This problem has been corrected in Systems Management Server version 1.2.

Additional query words: prodsms 1.00

Keywords: kbsetup KB140681

-

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

© Microsoft Corporation. All rights reserved.