Solved

BIDS 2008 R2 crashes when previewing large report

Posted on 2011-03-23
8
1,594 Views
Last Modified: 2012-05-11
I have a report that is pretty straightforward.  I have one tablix that has about 1100 rows and about 150 columns.  There's no calculation that the report has to do, everything is already pre-aggregated in the query.  When I change my query to do a select top (1000), it works just fine, but when I change it to select everything, the application crashes with an "unexpected" status.  There aren't any other explanatory errors.  I have not tried deploying the report and seeing if it works on my reporting server.  Any help in figuring out why I'm getting this behavior would be appreciated.
0
Comment
Question by:kenyayvette
  • 4
  • 4
8 Comments
 
LVL 39

Expert Comment

by:lcohan
ID: 35202238
Please try to execute the same query in SSMS against your actual SQL database and see how long it takes to run and how much data needs to be returned as this may be the actual hidden reason for your "Unspecified error..."
0
 
LVL 2

Author Comment

by:kenyayvette
ID: 35203622
The data returns in SMS in seconds and returns about 160,000 rows.  I have other reports that I have built that run successfully off of the same database, so it shouldn't be a permissions issue either.  
0
 
LVL 39

Expert Comment

by:lcohan
ID: 35206911
" I have other reports that I have built that run successfully off of the same database " - but do they return 160,000 rows? I doubt that because it looks pretty high number off records to be HTML formated and I'm pretty sure that's your problem as you can successfully run it in BI for 1000 rows but not for the 160,000 rows.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 2

Author Comment

by:kenyayvette
ID: 35207624
This report does not return 160,000 rows in reporting services either.  The report is basically doing a pivot on that data, so as I stated in my initial post, it has about 1100 rows and about 150 columns.  Either way, surely that's not too much data for reporting services to handle.  
0
 
LVL 39

Expert Comment

by:lcohan
ID: 35207726
Ok so the report tablix with about 1100rows and 150 columns sits on the top of this query that returns about 160000 rows correct? If yes, did you tried to put that query in a SQL view instead of running it in reporting server through BI design?
0
 
LVL 2

Author Comment

by:kenyayvette
ID: 35216082
Do you mean did I try to pivot the data in sql as opposed to in SSRS?  No, I did not try to do that.  I only put the base select statement in SQL.  So I my statement just looks like this:  select * from tblmemberdetail where companyname = 'CompanyA'.  

I actually just tried deploying the report to the server and running it from there, and it actually returned with no problems.  Is there some type of memory limit in Visual Studio when you're using the preview pane?
0
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 35218118
Even if you use shared datasets cached in SSRS I would still move the query that returns 160000 rows in a SQL View and run the Select in SSRS based on that SQL view.
As far as  VS and Windows memory....well I have issues opening 10 000lines through VS2005/2008 - BIDS or non BIDS projects on server with 64 GB of ram so try figure...You could try run VMMap to get a more detailed look at Visual Studio’s virtual memory usage in your specific environment.
VMMap:
http://www.voyce.com/index.php/2009/07/28/diagnosing-out-of-memory-errors-with-vmmap/

memory limitation:
http://www.pcreview.co.uk/forums/memory-limit-visual-studio-2005-a-t2904648.html
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2006-12/msg04057.html
0
 
LVL 2

Author Comment

by:kenyayvette
ID: 35384097
Sorry it took me so long to get back to this question.  I basically have to develop the report using a smaller subset of data in BIDS, but everything runs fine and in good time on the server itself.  Thanks for your help!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question