SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Search breaks reports


Search breaks reports

Author
Message
bmg002
bmg002
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12901 Visits: 2368
I have a fairly new (several months old) SSRS 2016 instance running.
In the top right corner, there is a search box. I can search from it and it finds the reports I am looking for and I am quite happy with that part. The problem is when I click on a report AFTER searching, it is appending "?filter=<search terms>" to the URL and the report tells me:
SQL Server Reporting Services

Reporting Services Error

  • An attempt was made to set a report parameter 'filter' that is not defined in this report. (rsUnknownReportParameter)

SQL Server Reporting Services

Which makes sense as I have no report parameter called "filter". Is there a way to strip out the search parameter when I click on a link to view an SSRS report?
This is using IE version 11 and SSRS version 13.0.4422.0.

If I modify the URL and remove the "?filter=<search terms>", the report loads successfully.
One fix that I could think of was to create a parameter called "filter" but not actually use it in the report. I don't like that solution as it feels a bit hacky, but if that is what needs to be done, I may have no choice.
Sue_H
Sue_H
SSC-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33176 Visits: 9441


Almost sounds like you might be hitting this bug:
Unknown parameter error using List view search in SSRS 2016 after applying SP1

If that's the case, read that first comment and try CU4. It's hard to tell from the posts when the fix applied - said fixed in SP1 but doesn't look like it

Sue



bmg002
bmg002
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12901 Visits: 2368
heh... yep... that fixed it. I changed my fiew to "tiles" and it was fixed so I am expecting it to be the same problem.

I'll schedule a window to install the update. Thanks for the help Smile
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search