Solved

BIDS 2008 R2 crashes when previewing large report

Posted on 2011-03-23
8
1,578 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

20 Experts available now in Live!

Get 1:1 Help Now