打开 SQL Server Management Studio2005 连接 Reporting Services的时候,老是连接不上,错误信息如下:无法连接到 服务器。
------------------------------ 其他信息: 客户端发现响应内容类型为“text/html; charset=utf-8”,但应为“text/xml”。请求失败,错误信息为: --
Reporting Services 错误
--------------------------------------------------------------------------------
报表服务器上出现内部错误。有关详细信息,请参阅错误日志。 (rsInternalError) 获取联机帮助
不允许用于访问路径“/ReportServer/ReportService2005.asmx”的 HTTP 谓词 POST。
--------------------------------------------------------------------------------
SQL Server Reporting Services --. (Microsoft.SqlServer.Management.UI.RSClient)
-------------------------------------------------------------
---------------------------------------------------------
还有,我在IIS中访问 Reports 虚拟目录的时候,出现以下错误:安全性异常
说明: 应用程序试图执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。 异常详细信息: System.Security.SecurityException: 请求“System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SecurityException: 请求“System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。]
System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +342
System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +52
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
在IIS中Reports 和ReportServer 这两个应用程序,分别有什么功能呢?
请各位朋友帮忙解决一下,谢谢了啊!
------------------------------ 其他信息: 客户端发现响应内容类型为“text/html; charset=utf-8”,但应为“text/xml”。请求失败,错误信息为: --
Reporting Services 错误
--------------------------------------------------------------------------------
报表服务器上出现内部错误。有关详细信息,请参阅错误日志。 (rsInternalError) 获取联机帮助
不允许用于访问路径“/ReportServer/ReportService2005.asmx”的 HTTP 谓词 POST。
--------------------------------------------------------------------------------
SQL Server Reporting Services --. (Microsoft.SqlServer.Management.UI.RSClient)
-------------------------------------------------------------
---------------------------------------------------------
还有,我在IIS中访问 Reports 虚拟目录的时候,出现以下错误:安全性异常
说明: 应用程序试图执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。 异常详细信息: System.Security.SecurityException: 请求“System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SecurityException: 请求“System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。]
System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +342
System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +52
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
在IIS中Reports 和ReportServer 这两个应用程序,分别有什么功能呢?
请各位朋友帮忙解决一下,谢谢了啊!
Reports 和ReportServer,一个是报表入口,一个是报表服务器管理入口.
还是无法解决。
原因是我在web.config将webservices给remove掉了