1

I am creating a report with requirement to select all parameter values(have 3 parameters)

But, when I am running this report it throws System Out of Memory exception.

I tried selecting few values but even that doesnt work.

Any suggestions how can I avoid this?

Dataset 1: 
SELECT col1, col2, col3, col4, col4, col5, col6, col7, col8
from storedproc
WHERE col1 IN ('A')
AND col2 IN (1) 

Dataset 2:

SELECT DISTINCT col3
FROM  storedproc
WHERE        (col2 = @col2)

Dataset 3:
SELECT DISTINCT 
col1, col3,
col4 COLLATE DATABASE_DEFAULT + ' - ' + col5 COLLATE DATABASE_DEFAULT + ' - ' + col6 COLLATE DATABASE_DEFAULT
 + '   ' + CONVERT(char(5), col7, 108) + ' - ' + CONVERT(char(5), col8, 108) AS Alias_col
FROM        storedproc
WHERE        (col2 = @col2)
22
  • 1
    please check the log file - it will show you more details for this cause. then other thing is create same report in separate page again bind there with top 10 rows it should be working. if not works then show us your query so we can help you in this case.
    – Pedram
    Feb 8, 2016 at 4:19
  • 1
    C:\Program Files\Microsoft SQL Server\MSRS11.SQLEXPRESS\Reporting Services\LogFiles
    – Pedram
    Feb 8, 2016 at 9:15
  • 1
    can you please show me the log error message? also have you tried by making separate report? please gimme answer of both question in one comment. thanks
    – Pedram
    Feb 8, 2016 at 12:41
  • 1
    Yes. Please try that. Also you need to check log files for more information if you will get error again. let me know on which path did you check in your pc?
    – Pedram
    Feb 8, 2016 at 13:22
  • 1
    so you mean your dataset returns 495323 rows but not showing on report. can you please try to put just one textbox and set expression like ="Number of rows: " & CountRows("DatasetName") - if it returns this count then there must be some problem with the data and datatype. we need to more check on this.
    – Pedram
    Feb 9, 2016 at 4:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.