Solved

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

Posted on 2010-09-03
7
395 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
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 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

813 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

11 Experts available now in Live!

Get 1:1 Help Now