Long SSRS URL 适用于 IE 和 Edge,但不适用于 Chrome(报表服务器在 HttpApplication 中遇到未处理的异常。)
Long SSRS URL Works in IE and Edge, but not Chrome (The report server encountered an unhandled exception in HttpApplication.)
编辑:想通了。
转到安装SSRS的服务器。
找到 SSRS 的安装目录(C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer 在我的例子中)
编辑 web.config 文件的 httpRunTime 属性 以包含行 maxQueryStringLength="5120"(或大于我尝试的字符串长度的某个数字)通过)
保存
停止和启动 SQL Server Reporting Services 服务。
下面的原始问题
我的客户通过 Tableau public 使用了一些 Tableau 仪表板。这无法确保安全,因此我们正在根据用户所做的过滤器选择构建 SSRS 报告 URLs 并转到 SSRS。 Chrome 中似乎存在某种字符限制问题。我不确定它是什么,但是当传递一个很长的 URL(4000+ 个字符)时,Chrome 会出错,但 IE 或 Edge 不会出错。
编辑:似乎删掉了 2114 个字符。在 2115 个字符处,错误显示。
EDIT2:这是 SSRS 日志的内容:System.Web.HttpException:此请求的查询字符串的长度超过了配置的 maxQueryStringLength 值。
报表服务器在 HttpApplication 中遇到未处理的异常。
有人知道为什么会这样吗?
下面是URL
转到安装SSRS的服务器。
找到 SSRS 的安装目录(C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer 在我的例子中)
编辑 web.config 文件的 httpRunTime 属性 以包含行 maxQueryStringLength="5120"(或大于我尝试的字符串长度的某个数字)通过)
保存
停止和启动 SQL Server Reporting Services 服务。
编辑:想通了。
转到安装SSRS的服务器。
找到 SSRS 的安装目录(C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer 在我的例子中)
编辑 web.config 文件的 httpRunTime 属性 以包含行 maxQueryStringLength="5120"(或大于我尝试的字符串长度的某个数字)通过)
保存
停止和启动 SQL Server Reporting Services 服务。
下面的原始问题
我的客户通过 Tableau public 使用了一些 Tableau 仪表板。这无法确保安全,因此我们正在根据用户所做的过滤器选择构建 SSRS 报告 URLs 并转到 SSRS。 Chrome 中似乎存在某种字符限制问题。我不确定它是什么,但是当传递一个很长的 URL(4000+ 个字符)时,Chrome 会出错,但 IE 或 Edge 不会出错。
编辑:似乎删掉了 2114 个字符。在 2115 个字符处,错误显示。
EDIT2:这是 SSRS 日志的内容:System.Web.HttpException:此请求的查询字符串的长度超过了配置的 maxQueryStringLength 值。
报表服务器在 HttpApplication 中遇到未处理的异常。
有人知道为什么会这样吗?
下面是URL
转到安装SSRS的服务器。
找到 SSRS 的安装目录(C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer 在我的例子中)
编辑 web.config 文件的 httpRunTime 属性 以包含行 maxQueryStringLength="5120"(或大于我尝试的字符串长度的某个数字)通过)
保存
停止和启动 SQL Server Reporting Services 服务。