Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->数据库应用 ->SQL Server ->正文

SQL Server 2005报表服务不能启动问题

来源:accesssoft  作者:Webmaster 时间:2007-04-23 点击: [收藏] [投稿]

由于以前安装过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访问时应该是不会报不能连接到SQLSERVER 数据库问题了。

但是,我通过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

红叉1报的莫明奇妙,RPC服务启动故障,这SQL2005更年期了把,明明RPC服务好好的启着。

红叉2报的更加奇怪,没事用这LocalSystem破标志干嘛,我又没有设置你,无法识别。

红叉3竟然提供了一个解决方案,说要我再用rsconfig.exe试试,整人怎么能这样呢?rsconfig.exe总共才几个参数,我都玩了几百遍了,还要我玩,会不会啊,又是一个脑痴,不知道就不知道,还要给个什么建议干嘛,引我入歧途啊!

 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:怎么样在SQL Server中实现扩展存储过程   下一篇:SQL Server2005的XML数据类型之基础篇

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号