Solved

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

Posted on 2010-09-03
7
399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 42

Expert Comment

by:Eugene Z
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:Eugene Z
ID: 33612156
can you upload\add report via SSRS report admin as file?
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 42

Expert Comment

by:Eugene Z
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:
Eugene Z 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

749 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