all groups > sql server reporting services > december 2005 >
You're in the

sql server reporting services

group:

Does the parameter of a report has has length limitation?


Does the parameter of a report has has length limitation? David Zhu
12/26/2005 7:34:01 PM
sql server reporting services: Hi,

I tried to pass a long sql statement(about 2000 characters) as the parameter
of a report by ReportingService.Render() function, but it always encountered
an exception.

So What's is the max length of a parameter by using web service method?

Thanks.
Re: Does the parameter of a report has has length limitation? Oleg Yevteyev
12/27/2005 9:55:27 AM
What kind of exception?
What version of RS ?
As far as I know there is no limit is parameter length, especially for web
service method.
But there is definitly a problem with HTML4.0 rendering if a query string is
above 2K in length in RS 2000. RS chocks on that.
I'm using a work around by storing sql statement (parameters) in a separate
table and pass a returned record id from that table
to the reporting server. a stored procedure or a set of sql statements can
retreive that values based on passed id and execute them.
Kind of two step execution, but it works for long parameters.
If you POST to RS - there is no such thing as a query string, but HTML4.0
rendering is still a problem. See above.

[quoted text, click to view]

Re: Does the parameter of a report has has length limitation? David Zhu
1/4/2006 1:00:02 AM
Thank you very much!


[quoted text, click to view]
AddThis Social Bookmark Button