【问题标题】:Unable To Deploy SSRS 2012 Report无法部署 SSRS 2012 报告
【发布时间】:2016-09-29 17:17:14
【问题描述】:

尝试在 SSRS 上部署 10mb 报告时,我收到以下错误 -

错误 1 ​​System.Web.Services.Protocols.SoapException:运行配置文件中指定的扩展时出现异常。 ---> System.Web.HttpException:超出最大请求长度。在 System.Web.HttpRequest.GetEntireRawContent() 在 System.Web.HttpRequest.get_InputStream() 在 System.Web.Services.Protocols.SoapServerProtocol.Initialize() --- 内部异常堆栈跟踪结束 --- 在 System.Web .Services.Protocols.SoapServerProtocol.Initialize() 在 System.Web.Services.Protocols.ServerProtocol.SetContext(类型类型,HttpContext 上下文,HttpRequest 请求,HttpResponse 响应)在 System.Web.Services.Protocols.ServerProtocolFactory.Create(类型类型, HttpContext 上下文, HttpRequest 请求, HttpResponse 响应, Boolean& abortProcessing) 0 0

我已经对此进行了大量研究,根据我的发现,解决此问题的唯一方法是更改​​ web.config 文件。问题是我已经做到了,但我仍然无法让它工作。我们在 Sharepoint 模式下安装了 SSRS2012,因此C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer 文件夹不存在。我确实在以下位置找到了 web.config 文件 - C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WebServices\Reporting。我将以下行更改为

<httpRuntime executionTimeout="9000"  maxRequestLength="1048576" /> 

但这仍然不起作用。我还在以下位置找到了一个 web.config 文件 - C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\WebServices\Reporting 并像上面一样更改了文件,但仍然没有乐趣。还有其他我应该更改的配置文件吗?

【问题讨论】:

  • 能否分享一下您在TargetDatasetFolder、TargetReportFolder中提供的内容.....?(可能是格式)
  • TargetDatasetFolder - 数据集和 TargetReportFolder - 销售报告。我在同一个项目中有另外 2 个较小的报告,它们部署得很好。

标签: ssrs-2012


【解决方案1】:

如果您将报表部署到 SharePoint(因为您已使用 sharepoint 模式安装),那么您必须拥有 SharePoint 路径的 URL。

如果您有网址,请尝试以下操作:

TargetServerURL: put the sharepoint URL (Example: https://sharepoint.com)
TargetDatasetFolder: Path for your folder in SP. (https://sharepoint.com/MyFolder)
TargetReportFolder: Path for your folder in SP. (https://sharepoint.com/MyFolder)
TargetReportPartFolder: Path for your folder in SP. (https://sharepoint.com/MyFolder)
TargetDataSourceFolder: Path for your folder in SP. (https://sharepoint.com/MyFolder)

寻求帮助 - Refer

【讨论】:

  • 我们还没有部署到 Sharepoint。只是尝试部署到 Reporting Services。只说明了 Sharepoint 模式,因为安装的目录结构不同(我假设)。很多帖子说,解决问题所需要做的就是更改 C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer 文件夹中的 web.config 文件。我们没有这个文件夹
  • 不确定是否应该在 SP 模式下找到它。无论如何,如果您更改 web.config,那又如何呢?报告将部署在哪里?
  • localhost/ReportServer。这是我们所有报告现在都部署到的地方。
  • 这是SSRS以native模式安装的目标路径。
  • 可能。不过现在为我们工作。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-01-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-11-09
  • 1970-01-01
相关资源
最近更新 更多