长SSRS URL在IE和Edge中有效,但在Chrome中不起作用(报表服务器在HttpApplication中遇到未处理的异常。)

时间:2018-11-28 18:17:09

标签: reporting-services ssrs-2016

编辑:找到答案。

  1. 转到安装了SSRS的服务器。

  2. 找到SSRS的安装目录(在我的情况下为C:\ Program Files \ Microsoft SQL Server \ MSRS13.MSSQLSERVER \ Reporting Services \ ReportServer)

  3. 编辑web.config文件的httpRunTime属性以包括行maxQueryStringLength =“ 5120”(或比我尝试传递的字符串的长度大一些的数字)

  4. 保存

  5. 停止并启动SQL Server Reporting Services服务。

下面的原始问题

我们有一些Tableau仪表板,我的客户可以通过Tableau public使用这些仪表板。这是不安全的,因此我们从用户做出的过滤器选择中构造SSRS报告URL,然后转到SSRS。 Chrome中似乎存在某种字符限制问题。我不确定这是什么,但是当传递非常长的URL(4000多个字符)时,Chrome中会发生错误,但IE或Edge不会。

编辑:似乎删去了2114个字符。在2115个字符处,显示错误。

EDIT2:这是SSRS日志所说的:System.Web.HttpException:此请求的查询字符串的长度超过了配置的maxQueryStringLength值。

报表服务器在HttpApplication中遇到未处理的异常。

有人知道为什么会这样吗?

URL在下面。

http://oirtest.host.ualr.edu/ReportServer/Pages/ReportViewer.aspx?/Development/Blane%20Dev/tableau_integration_test_2&pParamCSV=2018||Arts%2C%20Letters%2C%20and%20Sciences~Business~Clinton%20School%20of%20Public%20Services~Donaghey%20Engr%20%26%20Info%20Tech~Education%20%26%20%20Health%20Professions~Interdisciplinary%20Studies~Law~Social%20Sciences%20%26%20Communications||Accounting~Applied%20Communication~Applied%20Science~Art%20and%20Design~Audiology%20and%20Speech%20Pathology~Biology~Business%20Administration~Business%20Information%20Systems~Chemistry~Clinton%20School%20of%20Public%20Service~College%20of%20Social%20Sciences%20and%20Communication~Computer%20Science~Construction%20Management%20and%20Civil%20and%20Construction%20Engineering~Counseling%2C%20Human%20Performance%20and%20Rehabilitation~Criminal%20Justice~Earth%20Sciences~Economics%20and%20Finance~Education~Engineering%20Technology~English~History~Information%20Science~Interdisciplinary%20Studies~Law~Management~Marketing%20and%20Advertising~Mass%20Communications~Mathematics%20and%20Statistics~Music~Nursing~Philosophy%20%26%20Interdisciplinary%20Studies%20Department~Physics%20and%20Astronomy~Psychology~Public%20Affairs~Rhetoric%20and%20Writing~Social%20Work~Sociology%20and%20Anthropology~Systems%20Engineering~Theatre%20Arts%20and%20Dance~World%20Languages||Accounting~Adult%20and%20Professional%20Learning~American%20Sign%20Language%20Studies~Anthropology~Applied%20Communication%20Studies~Applied%20Psychology~Applied%20Science~Applied%20Sciences~Applied%20Statistics~Art~Bioinformatics~Biology~Building%20Level%20Administration~Business~Business%20Administration~Business%20Analytics~Business%20Information%20Systems~Certificate%20in%20Accounting~Chemistry~Civil%20%26%20Construction%20Engineering~Communication%20Sciences%20%26%20Disorders~Computer%20and%20Information%20Sciences~Computer%20Programming~Computer%20Science~Conflict%20Mediation~Construction%20Management~Construction%20Science~Counselor%20Education~Crime%20Scene%20Investigation~Criminal%20Justice~Curriculum%20%26%20Instruction~Curriculum%2FProgram%20Administration%20%26%20Supervision~Dance%20Performance~Data%20Science~Dyslexia%20Therapist~E-Commerce~Early%20Childhood%20Education~Economics~Education~Educational%20Administration~Electrical%20and%20Computer%20Systems%20Engineering~Electronics%20%26%20Computer%20Engineering%20Technology~Elementary%20Education~Engineering%20Science%20%26%20Systems~Engineering%20Technology%20(Mechanical)~English~Environmental%20Health%20Sciences~Finance~General%20Education~Geology~Gerontology~Gifted%20Education~Gifted%2C%20Creative%2C%20and%20Talented%20Education~Health%20Education%2FPromotion~Health%2C%20Human%20Performance%20%26%20Sport%20Management~Higher%20Education~History~Human%20Resources%20and%20Organizational%20Psychology~Information%20Quality~Information%20Science~Interdisciplinary%20Studies~International%20Business~International%20Studies~Interpretation%3A%20%20American%20Sign%20Language%2FEnglish~K-12%20Health%20and%20Physical%20Education~Law~Law%20Enforcement~Learning%20Systems%20Technology~Literacy%20Intervention%20Specialist~Management~Marketing~Mass%20Communication~Master%20of%20Public%20Administration%20(4%2B1)%20Program~Mathematical%20Sciences~Mathematics~Mechanical%20Engineering%20Technology~Mechanical%20Systems%20Engineering~Middle%20Childhood%20Education~Music~Music%20Education~Nonprofit%20Management~Nursing~Nursing%20Completion%20Program~Online%20Writing%20Instruction~Orientation%20%26%20Mobility%20of%20the%20Blind~Performance~Philosophy~Physics~Political%20Science~Professional%20%26%20Technical%20Writing~Professional%20Sales~Psychology~Public%20History~Public%20Service~Reading~Reading%2FLiteracy%20Coach~Rehabilitation%20Counseling~Rehabilitation%20of%20the%20Blind~Rural%20and%20Urban%20School%20Leadership~Social%20Work~Sociology~Special%20Education~Special%20Education%20K-12~Sport%20Management~Superintendency~Systems%20Engineering~Technology%20Innovation~Theatre%20Arts~User%20Experience%20Design%20%26%20Web%2FMobile%20Development~Web%20Design%20%26%20Development~Workplace%20Spanish~World%20Languages

1 个答案:

答案 0 :(得分:1)

  1. 转到安装了SSRS的服务器。

  2. 找到SSRS的安装目录(在我的情况下为C:\ Program Files \ Microsoft SQL Server \ MSRS13.MSSQLSERVER \ Reporting Services \ ReportServer)

  3. 编辑web.config文件的httpRunTime属性以包括行maxQueryStringLength =“ 5120”(或比我尝试传递的字符串的长度大一些的数字)

  4. 保存

  5. 停止并启动SQL Server Reporting Services服务。