Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Report shows no data with certain parameters but stored procedure does


SSRS Report shows no data with certain parameters but stored procedure does

Author
Message
Kathy Goad
Kathy Goad
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 100
I have a SSRS 2008 Reporting Services report that returns no data with certain parameters.
The report parameters consist of strings that are parsed and used as parameters in the stored procedure. One of the strings is a list of company ids. One of the Companies does not have any data other than company data. I can run the stored procedure through management studio and get 115,616 rows. But when I run the report with the same parameters, I get no data and the report is blank.

If the Company that doesn't have any data is excluded, the report will contain data. Anyone have any idea why the report would come back blank when there is data from the stored procedure?


If all else fails, head for the beach!

Kathy Goad
SQL Swerver
SQL Swerver
SSC-Enthusiastic
SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)

Group: General Forum Members
Points: 106 Visits: 529
I'm currently investigating a report under similiar circumstances. It works perfect in Visual Studio 2008 but after it's been deployed to SSRS the new parameter I added fails to return any data when populated and even returns 'Arithmetic Overflow' errors when certain values are used.

The best advice I've received so far is to run SQL Profiler on the source database and examine the differences in the query executed between SSRS and VS2008.

Hope this helps, if I find anything further then I'll certainly try to remember to post here! 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