stop sql server at first--how to rebuild masterShutdown Microsoft® SQL Server™ 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.
In the Rebuild Master dialog box, click Browse.
In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in the shared network directory from which SQL Server 2000 was installed, and then click OK.
Click Settings. In the Collation Settings dialog box, verify or change settings used for the master database and all other databases. 
Initially, the default collation settings are shown, but these may not match the collation selected during setup. You can select the same settings used during setup or select new collation settings. When done, click OK.In the Rebuild Master dialog box, click Rebuild to start the process. 
The Rebuild Master utility reinstalls the master database.

解决方案 »

  1.   

    master数据库是SQL中的系统管理库,是不能重建的。如果此库出了问题,只能重新安装SQL了。注意在安装之前,将其他数据库文件做好备份。
      

  2.   

    你的数据库路径是C:\Program Files\Microsoft SQL Server\MSSQL\data\master.mdf吗?
    看看路径是不是错了!
      

  3.   

    在sql server安装盘中有一个工具,名字忘记了,是用来重建数据库的。你找一下。
      

  4.   

    老大,我用的是新装的sql server2000 做实验,我采用的是默认安装。
      

  5.   

    重建master时好像还需要安装盘。
    下面是中文帮助。
    关闭 Microsoft® SQL Server™ 2000,然后运行 Rebuildm.exe。该程序位于 Program Files\Microsoft SQL Server\80\Tools\Binn 目录中。
    在"重建 Master"对话框中单击"浏览"按钮。
    在"浏览文件夹"对话框中,选择 SQL Server 2000 光盘上或用于安装 SQL Server 2000 的共享网络目录中的 \Data 文件夹,然后单击"确定"按钮。
    单击"设置"按钮。在"排序规则设置"对话框中,验证或更改用于 Master 数据库或其它数据库的设置。 
    最初,显示的是默认排序规则设置,但这些设置有可能与安装期间选择的排序规则不匹配。可以选择与安装期间使用的排序规则相同的设置,也可以选择新的排序规则设置。完成后单击"确定"按钮。在"重建 Master"对话框中单击"重建"按钮以启动进程。 
    重建 Master 实用工具重新安装 master 数据库。说明  若要继续,则可能需要终止正在运行的服务器。