Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

String parameter truncated in URL for report

$
0
0

I've added a parameter to one of my reports that filters the returned values based on a comma-separated list of values entered into a parameter of the "string" datatype. The report runs without errors, even when submitting a large number of values (typically five characters each). The cooresponding parameter in the underlying stored procedure is a VARCHAR(2000), and so far my strings should not be passing more than about 800 characters.

When I run the procedure in SSMS, it runs successfully and returns all expected rows.

When I preview the report from Visual Studio, it runs successfully and returns all expected rows.

When I run the report from our reporting services portal, it returns only a subset of the rows. I viewed the URL and observed that the string for the parameter is passed in the url but was truncated. The shortened URL is 588 characters.

If I manually update the URL to include all of the values from the original parameter, the report runs successfully and returns all expected rows. The length of the full URL is 784 characters.

The full length of the parameter string is 373 characters. The number of characters from the string that are apparently being used to generate the URL is 257 characters.

Can anyone help me understand why the parameter is shortened when the URL is generated?

Thank you in advance.


Viewing all articles
Browse latest Browse all 28687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>