Solved

BIDS 2008 R2 crashes when previewing large report

Posted on 2011-03-23
8
1,583 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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now