To resolve this problem, backup the master database then manually run the Instcat.sql script that is included with SQL Server 2000 SP3 or SP4 on the 32-bit SQL Server 2000 server or on the SQL Server 7.0 instance. No restart of SQL Server is required.
Examples of running Instcat.sql by using Osql.exe:
Use Windows Authentication mode
To use Windows Authentication mode to upgrade the system stored procedures on a 32-bit instance of SQL Server 2000 or on the SQL Server 7.0 server, follow these steps:
- Log on to the computer by using a Windows account that is a member of the SQL Server sysadmin fixed server role.
- Click Run, type
cmd.exe, and then click OK. - At the command prompt, type one of the following commands, and then press ENTER:
For a default instanceosql -E -S <LinkedServerName> -i <Location>\instcat.sql
For a named instanceosql -E -S <LinkedServerName>\<InstanceName> -i <Location>\instcat.sql
Note <LinkedServerName>,
<InstanceName>, and
<Location> represent the linked server name, the instance name, and the full path of the folder that contains the Instcat.sql script. By default, this folder is C:\Program Files\Microsoft SQL Server\MSSQL\Install.
Use SQL Server Authentication mode
To use SQL Server Authentication mode to upgrade the system stored procedures on a 32-bit instance of SQL Server 2000 or on a SQL Server 7.0 server, follow these steps:
- Log on to the computer by using any Windows account.
- Click Run, type
cmd.exe, and then click OK. - At the command prompt, type the following command, and then press ENTER:
For a default instanceosql -U <AdminLogin> -P <AdminPassword> -S <LinkedServerName> -i <Location>\instcat.sql
For a named instance
osql -U <AdminLogin> -P <AdminPassword> -S <LinkedServerName>\<InstanceName> -i <Location>\instcat.sql
Note <AdminLogin> and
<AdminPassword> represent the user account that is a member of the SQL Server sysadmin fixed server role.
Note After you run the Instcat.sql script, many messages are generated. The last message indicates whether the script ran successfully.