windows7中安装ssrs2008R2,浏览器中无法访问report管理器

0
系统环境是windows7 sp1,安装有iis 6.1,安装完成sql server 2008R2数据库后,根据网上的操作配置ssrs。我的电脑名师ma-pc,访问报表管理url时http://ma-pc/Reports,出现如下错误:
  请求因 HTTP 状态 401 失败: Unauthorized。
  主文件夹

错误日志:
library!DefaultDomain!f74!04/24/2015-10:38:58:: i INFO: Catalog SQL Server Edition = Enterprise
appdomainmanager!DefaultDomain!a6c!04/24/2015-10:39:13:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130743167531422397 started.
appdomainmanager!ReportManager_0-1!a6c!04/24/2015-10:39:13:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/Reports.
appdomainmanager!DefaultDomain!a6c!04/24/2015-10:39:13:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130743167531422397 initialized (#1).
ui!ReportManager_0-1!2aa0!04/24/2015-10:39:20:: e ERROR: System.Net.WebException: 请求因 HTTP 状态 401 失败: Unauthorized。
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
在 Microsoft.ReportingServices.UI.Global.SecureAllAPI()
在 Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()
在 Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-1!2aa0!04/24/2015-10:39:22:: e ERROR: System.Net.WebException: 请求因 HTTP 状态 401 失败: Unauthorized。
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
在 Microsoft.ReportingServices.UI.Global.SecureAllAPI()
在 Microsoft.ReportingServices.UI.GlobalLinks.Control_Init(Object sender, EventArgs args)
ui!ReportManager_0-1!2aa0!04/24/2015-10:39:22:: e ERROR: HTTP status code --> 500
-------Details--------
System.Net.WebException: 请求因 HTTP 状态 401 失败: Unauthorized。

在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()

在 Microsoft.ReportingServices.UI.Global.SecureAllAPI()

在 Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()

在 Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)

在 System.EventHandler.Invoke(Object sender, EventArgs e)

在 System.Web.UI.Control.OnInit(EventArgs e)

在 System.Web.UI.Page.OnInit(EventArgs e)

在 System.Web.UI.Control.InitRecursive(Control namingContainer)

在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-1!2aa0!04/24/2015-10:39:24:: e ERROR: System.Threading.ThreadAbortException: 正在中止线程。
在 System.Threading.Thread.AbortInternal()
在 System.Threading.Thread.Abort(Object stateInfo)
在 System.Web.HttpResponse.End()
在 System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
在 Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)

访问http://ma-pc/ReportServer时,显示如下内容:
    Microsoft SQL Server Reporting Services 版本 10.50.1600.1 
已邀请:
0

天桥下的郑成功 - Hadoop大数据开发工程师、数仓架构师、熟悉数据仓库设计、Hadoop、Spark、HBase、Hive、SSIS等开发 2015-04-24 回答

你给了 ReportingServicesUser 浏览看报表的权限了吗?
你检查一下日志文件在\Reporting Services\LogFiles下面,看看具体是什么问题。然后把错误贴出来
0

ma95221 2015-04-24 回答

谢谢回复。我上面贴的就是在\Reporting Services\LogFiles下面的日志文件里面的日志内容。SSRS安装都是按照默认设置的。请问是在哪里设置ReportingServicesUser 浏览看报表的权限?在网上找了一些安装的教程,都是SQL SERVER 2008版本的,不是R2版本。明天下载一个2008版的,严格的安装天善的安装教程操作一遍。看看是否正常。
0

天桥下的郑成功 - Hadoop大数据开发工程师、数仓架构师、熟悉数据仓库设计、Hadoop、Spark、HBase、Hive、SSIS等开发 2015-04-24 回答

按照正常来讲,安装这个是不会出现问题的。
你有打开ReportManager管理器进行配置吗?
你的报表 URL是否配置正确,你的SQLServer R2数据库实例里。是否有 ReportDB 和 reportdbtemp 2个数据库呢
0

ma95221 2015-04-24 回答

有 ReportDB 和 reportdbtemp 2个数据库。访问http://ma-pc/ReportServer正常,访问报表管理器url时http://ma-pc/Reports,出现认证,输入本机用户名和密码,提示401错误。我电脑上装的软件太多了。vs2008 2010 asp.net mvc4等等,为了安装VS Express 2013 for Web又升级了windows7 sp1,不知道是否有冲突。
0

天桥下的郑成功 - Hadoop大数据开发工程师、数仓架构师、熟悉数据仓库设计、Hadoop、Spark、HBase、Hive、SSIS等开发 2015-04-24 回答

那你要检查一下,你这个账户是否有权限访问你这个site了。
我建议你先把这个账户加为 Administrator。
然后再提示你输入密码的时候,再试一次。看看这次提示什么
0

ma95221 2015-04-24 回答

后来启用了Administrator用户,注销切换到Administrator用户重新安装了一遍SQL SERVER 2008 R2,还是这个问题。看来要么是重装系统,要么是安装SQL SERVER 2008版试一下了。
0

ma95221 2015-04-25 回答

今天重装sql server 2008,还是不能登录。然后重装操作系统,重新安装sql server 2008R2,还是同样的错误。最终查阅了大量的信息,终于处理好了。最关键的步骤是:
1. 打开注册表编辑器,开始--运行-regedit.
2. 定位到这个键值: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. 在 Lsa上右键, 新建DWORD(32)值.
4. 输入DisableLoopbackCheck并回车.
5. 右键 DisableLoopbackCheck选择修改.
6. 输入1.
7. 退出注册表编辑器,重启电脑.
另外,在前面的尝试过程中,对rsreportserver.config文件进行了修改,不知是否有用,在此一并贴出。
在c:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer目录中,编辑rsreportserver.config文件,找到<Authentication>节点。
	<Authentication>
<AuthenticationTypes>
<RSWindowsNegotiate/>
<RSWindowsNTLM/>
</AuthenticationTypes>
<EnableAuthPersistence>true</EnableAuthPersistence>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
</Authentication>
谢谢各位朋友的支持。

要回复问题请先登录注册