SQL Server 不能启动总结(看下有没有你的情况)
由于以前安装过SQL2005 BETA2版本,后来再装上SQL2005正式版后发现报表服务不能启动
使用url地址 http://localhost/reportserver访问时报告下面信息:
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
****SQL Server does not exist or access denied.****
经过诊断,这一问题可以通过命令行解决,如下:
rsconfig -c -s 机器名 -a sql -p SQL用户名(如sa) -u SQL用户名密码(如sa) -d 你的报表服务器数据库名(如reportserver)
当然,如果你的SQLSERVER2005不是混合验证,你可以改变一下上面的参数,如
rsconfig -c -s 机器名 -a windows -p win用户名(如myserver\administrator) -u 用户名密码(如123) -d 你的报表服务器数据库名(如reportserver)
但是,我通过http://localhost/reportserver访问是,报告下面信息:
报表服务器 Windows 服务“ReportServer”未运行。必须运行该服务才能使用报表服务器。 (rsReportServerServiceUnavailable)
真冤,那我就启动报表服务把,可是启动的时候它报错,说它启不起来,要我去事件里看看,这不玩我么?
我就去事件里瞧瞧,果然发现3个大红叉,内容如下:
红叉1:
The Remote Procedure Call (RPC) service failed to start.
红叉2:
Service cannot be started. Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: 无法识别用户名或组名“LocalSystem”。
at Microsoft.ReportingServices.Library.Native.NameToSid(String name)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.StartRPCServer(Boolean firstTime)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start(Boolean firstTime)
at Microsoft.ReportingServices.NTService.ReportService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
红叉3:
The report server cannot decrypt the symmetric key. Most likely, the service account or password has changed. To continue, run rsconfig.exe to update the report server account information.\r\n
但并不意味着可以成功访问了,我再访问http://localhost/reportserver/时出现下面错误:
报表服务器无法打开与报表服务器数据库的连接。所有请求和处理都要求与数据库建立连接。 (rsReportServerDatabaseUnavailable) 获取联机帮助
Login failed for user 'CRSERVER\IWAM_CRSERVER'.