各位用户为了找寻关于sql2000报错Successfully re-opened the local eventlog解决方法的资料费劲了很多周折。这里教程网为您整理了关于sql2000报错Successfully re-opened the local eventlog解决方法的相关资料,仅供查阅,以下为您介绍关于sql2000报错Successfully re-opened the local eventlog解决方法的详细内容
报错1:Unable to read local eventlog (reason: 事件日志文件已在读取间更改。 报错2:Successfully re-opened the local eventlog - NOTE: Some events may have been missed.
微软解释: http://support.microsoft.com/default.aspx?scid=kb;en-us;811484
解决办法:
如果要防止错误日志, 中出现这些消息可以使用跟踪标志 2505 作为启动参数
要将跟踪标志 2505 作为 SQLServer 启动参数, 使用以下步骤:
1. 企业管理器, 右键单击服务器名称, 依次 属性 。 2. 在 常规 选项卡, 单击 启动参数 。 3. 添加以下作为新参数: - T2505 4. 重新启动服务器对新参数才能生效
经测试,上述改动容易造成sqlserver无法启动。
下面给出恢复方法:
如果根据上述的修改造成了sqlserver无法启动
通过注册表查找T2505 找个这个参数,删掉就可以了,具体的注册表位置如下:
代码如下: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSQLServerMSSQLServerParameters] "SQLArg0"="-dd:databasesqlserverMSSQLdatamaster.mdf" "SQLArg1"="-ed:databasesqlserverMSSQLlogERRORLOG" "SQLArg2"="-ld:databasesqlserverMSSQLdatamastlog.ldf"