日期:2014-05-17  浏览次数:20374 次

Reporting Service 401错误

登陆http://127.0.0.1:8080/ReportServer都是正常的,程序里为什么连不上,,我去

 
Reporting?Service

------解决方案--------------------
权限不对
------解决方案--------------------
如果你的程序是asp.net,它不是运行在当前登录用户下的,而是其他用户
win2003 IIS6下是NETWORK SERVICE
xp IIS5下是ASPNET

设置报表权限,给上面的用户正确的权限。
------解决方案--------------------
可以看下这个讨论:
ReportViewer Control in ASP.NET Web Form - 401: Unauthorized error
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1688f270-7608-475e-b81b-d077e0664090/reportviewer-control-in-aspnet-web-form-401-unauthorized-error