Solved

Problems Exporting Report or getting the subscription to run- SQL SERVER 2005

Posted on 2010-09-03
7
391 Views
Last Modified: 2012-05-10
Hi,
I am using SQL SERVER 2005
and have set up my reports on the Report Sever.

I can run all of the reports on the report manager and export them and set up subscriptions to save to drives etc except for ONE report.

It only has about 30k rows, i have much larger rows exporting, however there are 85 colunms on the report, (i know!!) , but i wonder is this the issue?
I can't export when i try to it asks for log in details, and then it won't accept any i add in.
I tried to use the subscription and save the file to a drive and this gives me back an error saying
''Failure writing file All Wimax Sales Leads : An error occurred during rendering of the report.''

When i checked the Log files i get the following error on the file:

''w3wp!library!1!09/03/2010-11:31:00:: i INFO: Call to RenderFirst( '/UNO Reporting/UNO and Walled Garden/All Wimax Sales Leads' )
w3wp!webserver!1!09/03/2010-11:31:20:: i INFO: Processed report. Report='/UNO Reporting/UNO and Walled Garden/All Wimax Sales Leads', Stream=''
w3wp!library!1!09/03/2010-11:31:31:: i INFO: Call to RenderNext( '/UNO Reporting/UNO and Walled Garden/All Wimax Sales Leads' )
w3wp!runningjobs!8!9/3/2010-11:32:51:: i INFO: Adding: 1 running jobs to the database
w3wp!reportrendering!1!09/03/2010-11:33:23:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report., ;
 Info: Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.StyleHandler.GetStyleIdForReportItem(PageReportItemInfo reportItemInfo, ReportItem reportItem, ReportColor& parentBackgroundColor, String reportLanguage, Boolean constLang, WorkBook workBook)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.PreScanPage(ReportItem parentDataRegion, Boolean isPageNeedsEvaluation, PageLayout& pageLayout, PageReportItems& pageRIItems, Stack& dynamicLayoutStack, Hashtable& rowHeightStateList, OutlineRenderStates[]& verticalOutlineStates, OutlineRenderStates[]& horizontalOutlineStates)''


I cant understand the 'System.OutOfMemoryException'  Error.
I have checked the space on teh server and there is still lots of space on the tempdb, msdb, report server and the db that the rpeorts are built on.

Can anyone help me with this please?
Regards,
Putoch
0
Comment
Question by:Putoch
  • 4
  • 3
7 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 33595580
what sql server 2005 do you have?
make sure it is fresh (sp3)
--
check event viewer \sql error log  errors from sql server (and where you push report)
and post here if you see some:
--
if it is not prod server and it is OK reboot it -> try to reboot it and try deploy report again
0
 

Author Comment

by:Putoch
ID: 33610628
Thanks Eugene,

I cheked the version, its actually SP2
''Microsoft SQL Server 2005 - 9.00.4053.00 (Intel X86)   May 26 2009 14:24:20   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2) ''

---
I also checked the Event viewer
This is what i found:
''Report Server (MSSQLSERVER) cannot connect to the report server database.''

''Report Server (MSSQLSERVER) cannot load the Report Server DocumentLibrary extension.''


--

I actually waited back one of the evenings when i knew no one was using it, and restarded the server, but this didnt do anything.

I believe its the size of the report? maybe i'm wrong. But it has 85 colunms on it.
which i'm sure not all are being used.
i've exported it sucessfully now as CSV as its half the size in this format.
Do you think this could be the problem.

Thanks,
putoch.
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 33612156
can you upload\add report via SSRS report admin as file?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 42

Expert Comment

by:EugeneZ
ID: 33612161
btw: after restart did you get "out of memory " errors?
0
 

Author Comment

by:Putoch
ID: 33616725
it seems to export and rendor fine when i export as CSV
its the EXCEL file format it has a problem with.
Its not even the biggest file size wise as i have thats saving ok all the time. however it is the widest (85 fields on teh report)

When you say ''can you upload\add report via SSRS report admin as file?''
do you mean can i export this file as EXCEL using SSRS visual studio.
or do you mean am i having any trouble uploading hte file from SSRS?

thanks,
putoch
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 33617843
--you can ignore my "upload comment" for now..
----
....let say - due to excel related problem (at least driver..)
can you tell to what excel \MS office version 98-2000-2003-2007-2010 your are exporting result, please?
can you check if the box (were SSRS is installed) needs to have some Office patches sp?
can export from another SSRS server the same report to Excel?
0
 

Author Closing Comment

by:Putoch
ID: 33771369
Seemed to be a space issue thanks Eugine
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

744 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

13 Experts available now in Live!

Get 1:1 Help Now