The information in this article applies to:
SYMPTOMS
After you upgrade to Microsoft SQL Server version 6.0, you may encounter
Msg 2821 when you try to access a stored procedure, trigger, or view:
CAUSE
When you upgrade a database to SQL Server version 6.0, all procedures,
triggers, and views are recreated from the text definition stored in
syscomments. If any of these objects fail this process during the upgrade,
any attempt to access the object fails with Msg 2821. The upgrade process
continues to check each object within a database, even if one fails.
WORKAROUND
After you upgrade to SQL Server version 6.0, you should scan the
UPGRADE.OUT file found in the SQL60\INSTALL directory for any errors
reported while upgrading user databases. Pay close attention to the section
titled "Upgrading procedures, triggers, views....". Once the cause of the
error is found and corrected, run the sp_db_upgrade procedure in the
database that failed during the upgrade. This ensures the database has been
properly upgraded for version 6.0.
Additional query words: sql6 sysprocedures syscomments
Keywords : kbsetup SSrvInst SSrvStProc |
Last Reviewed: April 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |