SSRS 2012 SP2 - Windows 2008R2 - Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+
Hi,
I have built new SQL 2012 SSRS SP2 with Windows 2008R2 and BAR reports are not showing (just "x" mark in the left corner).
Following is the log file information. I have gone through other forums and all are with windows 8 or windows 2012. Your help is much appreciated.
library!ReportServer_0-15!d7c!08/13/2014-10:52:17:: i INFO: RenderForNewSession('/ProductionReporting/PlantProduction')
reportrendering!ReportServer_0-15!d7c!08/13/2014-10:52:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred
in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
--- End of inner exception stack trace ---;
Thanks,
Vel
Vel Thavasi
Hi Vel,
According to the error message, the issue is related to GDI+. Based on my research, it is a known issue that the GDI+ need to be updated on Windows Server 2008 R2. If we want to know what version of GDI+, we can do a file search for Gdiplus.dll.
To fix this issue, please install the hotfix for your Windows Server 2008 R2 from the following kb:
http://support.microsoft.com/kb/2495074
There following thread about the similar issue is for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/50c071db-b4fc-4a2e-a9f4-e10e833c97d2/report-not-rendering-charts-in-pdf-a-generic-error-occurred-in-gdi?forum=sqlreportingservices
If there are any other questions, please let me know freely.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
Hi, We are migrating SSRS 2008 R2 reports to SSRS 2012 SP2. (PS. SSRS 2012 SP2 has been applied.) Everything went smooth expect some reports which were using reporting services. These reports have some drilin-through actions and was passing in a huge
xml parameter. I referred to some other posts in which there were also some similar issues like "The Uri string is too long." but they're different. My reports can be opened and the error only occurred when accessing the drill-through actions.
As I know, Microsoft has provided the fix for the known issue "The Uri string is too long." in sp1 but it looks it can't cover this kind of situation since I have installed the SSRS SP 2. Is there any solution? In addition, there's no such
issue on SSRS 2008 R2.
Thanks,
onizgaHi onizga,
According to your description that you are migrating SSRS 2008 R2 reports to SSRS 2012 SP2, after migration you got some error like “The Uri string is too long” which only occurred when accessing the drill-through actions, right?
Usually, the issue can be caused when you try to pass some parameters that cause the URL length to exceed 65,520 characters for a Microsoft SQL Server 2012 Reporting Services (SSRS 2012), you cannot render the report, and you may receive the following error
message:
The value of parameter 'param' is not valid. (rsInvalidParameter).Invalid URI: The Uri string is too long.
This is an known issue and already have the hotfix SQL Server 2012 Service Pack1 Cumulative Update 9 (CU9) as you know, you can try to reinstall this hotfix to fixed this issue:
http://support.microsoft.com/kb/2916827 .Any issue after applying the update, please post it on the following thread or you can submit an feedback:
http://connect.microsoft.com/SQLServer/feedback/details/788964/ssrs-2012-invalid-uri-the-uri-string-is-too-long
Similar threads for your reference:
SSRS - The value of parameter 'param' is
not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long.
Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
The value of parameter 'pSetOfScopes' is not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long
If you still have any question, please feel free to ask
Regards
Vicky Liu
If you have any feedback on our support, please click here -
I have a server running SSRS 2012 SP2, in Native / Report Manager mode. The server, reports, desktop etc are all set to en-AU.
Using IE, date parameters show as expected in DD/MM/YYYY format. However using Chrome or Firefox, they show in US format MM/DD/YYYY.
Does anyone know how to fix this?Hi Jiri,
Thanks for that speedy tip - that has solved it for Chrome.
I followed a similar path to get it fixed for Firefox - Settings / Content / Languages / add English/Australia [en-au] / Move Up to top spot.
Mike -
GroupWise 2012 SP2 Windows Client - Windows 8.1 x64
I have installed GroupWise 2012 SP2 Windows Client on a Windows 8.1 x64 laptop.
I can run GW for the first time, and it works fine.
When I close GW, and then reopen it I get the following error:
GroupWise is not properly installed. The GroupWise components could not be initialized. Please run GroupWise setup, or contact your system administrator.
A reboot will not fix the problem. If I completely remove GW and then reinstall it works fine, however once you close GW and then reopen it, you get the above message again.
Does anyone have any ideas?
Thank to everyone in advance.
Cheers,
Anthony Hill
Network Administrator
Mount Alvernia CollegeOriginally Posted by konecnya
In article <[email protected]>, Anthonywhill
wrote:
> Yes I have the entire Office 2013 suite installed. Maybe Outlook is the
> problem?
>
Possibly, which was installed first?
Both Outlook and GroupWise use MAPI, and the files Outlook places are the
newer one, but it doesn't always do so if the older ones are in place.
Andy of
KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!
Hi,
I have the same problem.
You resolve your ? -
Issues connecting to SSRS 2012 SP2 through SharePoint 2013 SP1 Central Admin
When trying to open "system settings" for the SSRS Service application in Central Admin, I get the error "The remote server returned an error: (500) Internal Server Error."
Also, when trying to create a new Report Builder Report within SharePoint, I get an error "403 Forbidden".
The ULS log entry for this is:
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ProtocolException: The content type text/html of the response message does not
match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>500 - Internal server error.</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px
10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet
MS", Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;} --> </style> </head> <body>
<div id="header"><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> '. ---> System.Net.WebException: The remote server
returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedServiceProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Any ideas on what might be the issue would be greatly appreciated.Hi Joshua.Arenz,
As per my understanding, you configured SSRS 2012 of SharePoint mode, when you click system setting in Central Admin, you got the error message.
According to the error message, the Reporting Services service application is not configured correctly. Please make sure you created service application correctly by following steps:
In SharePoint Central Administration, in the Application Management group, click Manage Service Applications.
In the SharePoint toolbar, click the New button.
In the New menu, click SQL Server Reporting Services Service Application.
In the Create SQL Server Reporting Services Service Application page, enter a name for the application.
In Application Pool section, create a new application pool for the application (recommended). Then select or create a managed account for the application pool.
In the Database Server, you can use the current server or choose a different SQL Server.
In Database Name the default value is ReportingService_<guid>, which is a unique database name. If you type a new value, type a unique value.
In Database Authentication, the default is Windows Authentication.
In the Web Application Association section, select the Web Application to be provisioned for access by the current Reporting Services Service Application.
Click OK.
For more information about Creating a new Reporting Services Service Application, please refer to the following document:
http://niftit.com/how-to-install-configure-reporting-services-sharepoint-2013/
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
GroupWise Client 2012 SP2 & Windows 8.1 64bit & addressbook
Hello.
On one Win 8.1 Prof. 64bit worksation I've got several problem with GW Client 2012 SP2 Build 115186.
Under Tools -> Options -> Security I've error messages from WMS "No version of serviceprovider of the personal Groupwse addressbook available (Sorry for that worse translation, the german version is installed).
The addressbook don't have access to the personal and the Systemaddressbook
Some HTML-messages don't work (Page not found)
Links in E-Mails don't work (No application found)
On the machine also MSO 2010 Prof. 32bit is installed (Outlook included)
I suppose,that the WMS isn't installed on the machine. Reparing the programs not solved the problem.
Any ideas to solve the failures?
Thanks in advance for your answers.
Best regards.
Dirk EmmermacherAm 14.10.2014 10:16, schrieb Emmermacher:
>
> Hello.
>
> On one Win 8.1 Prof. 64bit worksation I've got several problem with GW
> Client 2012 SP2 Build *115186*.
> Under Tools -> Options -> Security I've error messages from WMS "No
> version of serviceprovider of the personal Groupwse addressbook
> available (Sorry for that worse translation, the german version is
> installed).
> The addressbook don't have access to the personal and the
> Systemaddressbook
> Some HTML-messages don't work (Page not found)
> Links in E-Mails don't work (No application found)
>
> On the machine also MSO 2010 Prof. 32bit is installed (Outlook
> included)
> I suppose,that the WMS isn't installed on the machine. Reparing the
> programs not solved the problem.
>
> Any ideas to solve the failures?
> Thanks in advance for your answers.
Some basics.
1. Under no circumstances should wms.exe from groupwise be installed on
a machine that has Outlok installed. Sometimes this can happen
nevertheless, and cause havoc to both programs.
2. If you install Outlook and Groupwise on the same machine, Outlook has
to be installed first.
This, however should have no influence on your HTML issues. Can you give
more details?
CU,
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de -
Hi,
One of our main windows 2008 r2 file servers (HP Proliant ML350 G6) seems to have a dirty d: drive.
After every reboot, chkdsk runs on drive "d:" and stops with an unspecified error
(696e647863686b2e dee) when checking indexes. After the error it continues to boot and start normally into windows. The d: drive looks ok, but when I run chkdsk in windows the chkdsk runs and stops at the same point without
warning or anything else. The gui stops and exits, period. No message nothing.
When I check the d: drive with "fsutil dirty query d:", the disk is marked as "dirty" ....
The HP advanced Proliant diagnostic tools did not show any problems with the hardisks, I'm running latest HP drivers and firmwares on the server. Last but not least I don't have any special warnings/errors etc in the event viewer.
Here is the output of chkdsk f.ex. in safe mode I did a few hours ago, the output/error is always identical:
C:\>chkdsk d: /R /F /X
The type of the file system is NTFS.
Volume label is DATA.
CHKDSK is verifying files (stage 1 of 5)...
184832 file records processed.
File verification completed.
15624 large file records processed.
0 bad file records processed.
0 EA records processed.
5 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 5)...
10 percent complete. (182686 of 212928 index entries processed)
An unspecified error occurred (696e647863686b2e dee).
As of now, I have disabled the boot-time check on drive d: (with "chkntfs d: /x"), but I would prefer to restore it when the problem is fixed.
I tried a lot of chkdsk and safe mode combinations, nothing helped. I don't have any clues ... so your help is really welcome.
Thanks a lot!
KInd regards,
DidierHi,
There are multiple cause for the issue such as an improper shutdown sequence, or a more serious hardware problem that can indicate a failing drive.
On NTFS volumes, the dirty bit is typically set only if the file system has detected potential corruption. In this case, an event is logged in the System event log. Please check the System event log for more information.
Please refer to this kb article for more and detail information:
http://support.microsoft.com/kb/322275/en-us
Meanwhile, I am not sure if this is a harddisk issue, so i would suggest you could ask for the HP support.
Thanks for your understanding.
Regards.
If you have any feedback on our support, please click
here
Vivian Wang -
Windows 2008r2 server got abruptly rebooted with Bugcheck error.
Today our 2008r2 server got abruptly rebooted, what we found out in event viewer was something like this "The computer has rebooted from a bugcheck". The bugcheck was: 0x0000001a (0x000xxxxxxxxx). Also a .dmp was created which i got analyzed,
it looks something like this
Windows 7 Kernel Version 7600 MP (10 procs) Free x64
Product: Server, suite: Enterprise TerminalServer
Built by: 7600.16385.amd64fre.win7_rtm.090713-1255
Machine Name:
Kernel base = 0xfffff800`01e0a000 PsLoadedModuleList = 0xfffff800`02047e50
Debug session time: Wed Mar 18 07:03:28.450 2015 (UTC - 4:00)
System Uptime: 4 days 2:03:47.198
* Bugcheck Analysis *
MEMORY_MANAGEMENT (1a)
# Any other values for parameter 1 must be individually examined.
Arguments:
Arg1: 0000000000061940, A PDE has been unexpectedly invalidated.
Arg2: 00000000695ec000
Arg3: 0000000000000000
Arg4: 0000000000000000
Debugging Details:
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2
BUGCHECK_STR: 0x1a_61940
DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT_SERVER
PROCESS_NAME: EXCEL.EXE
CURRENT_IRQL: 0
LAST_CONTROL_TRANSFER: from fffff80001e29e99 to fffff80001e7bf00
STACK_TEXT:
fffff880`195bf778 fffff800`01e29e99 : 00000000`0000001a 00000000`00061940 00000000`695ec000 00000000`00000000 : nt!KeBugCheckEx
fffff880`195bf780 fffff800`01e979b2 : 00000000`00000acf 00000000`694a1001 fffff700`01080000 00000000`0000014c : nt! ?? ::FNODOBFM::`string'+0x1fda3
fffff880`195bf7e0 fffff800`01ea29cd : 00000000`0000e4b1 00000000`00000000 00000000`00000000 fffff8a0`3a6d2900 : nt!MiUpdateWsle+0xd2
fffff880`195bf840 fffff800`01ea2353 : 4b100003`572fa025 00000003`572fa121 00000000`00000000 fffff880`195bfc60 : nt!MiCompleteProtoPteFault+0x2cd
fffff880`195bf8d0 fffff800`01e97d9e : 00000000`00000000 00000000`694a17ee fffff680`0034a508 fffffa81`8ea0f588 : nt!MiResolveProtoPteFault+0x1d3
fffff880`195bf970 fffff800`01e95f23 : 00000000`00000000 00000000`694a17ee 00000000`00000000 00000000`00000000 : nt!MiDispatchFault+0x1de
fffff880`195bfa80 fffff800`01e79fee : 00000000`00000000 00000000`69e74701 00000000`00000001 00000000`049b8de8 : nt!MmAccessFault+0x343
fffff880`195bfbe0 00000000`68ffd742 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiPageFault+0x16e
00000000`00269724 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x68ffd742
STACK_COMMAND: kb
FOLLOWUP_IP:
nt! ?? ::FNODOBFM::`string'+1fda3
fffff800`01e29e99 cc int 3
SYMBOL_STACK_INDEX: 1
SYMBOL_NAME: nt! ?? ::FNODOBFM::`string'+1fda3
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: nt
IMAGE_NAME: ntkrnlmp.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 4a5bc600
FAILURE_BUCKET_ID: X64_0x1a_61940_nt!_??_::FNODOBFM::_string_+1fda3
BUCKET_ID: X64_0x1a_61940_nt!_??_::FNODOBFM::_string_+1fda3
Followup: MachineOwner
I can see Excel.exe as possible reason for this but cant make out if excel is the one which is causing the entire problem. Am new to this so its quiet confusing any help would really be appreciated.
Thanks,
Amol SBug Check Code 0x1A: https://msdn.microsoft.com/en-us/library/windows/hardware/ff557391%28v=vs.85%29.aspx
I would recommend that you start with checking that your RAM is okay using memtest86+. If an error was reported then I would recommend replacing the faulty RAM.
If this does not help then please try to temporary disable the security software running on your server and check again.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
SSRS 2012 Excel Rendering Error
Hi
I need help
Platform
Sharepoint 2013
SSRS 2012 integrated in sharePoint 2013
I've no problem when I export my report (25000 records) to EXCELOPENXML format, but each time I try to export it with 140 000 records i've always the error described below , however I can export it to csv format
at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream
createAndRegisterStream)
at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
--- End of inner exception stack trace ---;
w3wp!library!1b!02/25/2014-12:18:44:: e ERROR: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.Threading.ThreadAbortException: Thread was being aborted.
at System.AppDomain.GetId()
at System.Threading.Thread.GetCurrentCultureNoAppX()
at Go17(RegexRunner )
at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout)
at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
at System.Text.RegularExpressions.Regex.Match(String input)
at Microsoft.ReportingServices.ReportProcessing.Validator.ValidateColor(String color, Color& c, Boolean allowTransparency)
at Microsoft.ReportingServices.OnDemandReportRendering.ReportColor..ctor(String color, Boolean allowTransparency)
at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.OpenXmlGenerator.AddColor(String colorString)
at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.ItemInfo.FillBorders(RPLStyleProps style, Boolean omitBorderTop, Boolean omitBorderBottom, IExcelGenerator excel)
at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.RenderNewItem(IRowItemStruct item, Int32 top, Int32 topRow, IExcelGenerator excel, String pageContentKey, Dictionary`2 sharedBorderCache, Dictionary`2 sharedImageCache,
Boolean& autosizableGrow, Boolean& autosizableShrink)
at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.RenderPageToExcel(IExcelGenerator excel, String key, Dictionary`2 sharedBorderCache, Dictionary`2 sharedImageCache)
at Microsoft.ReportingServices.Rendering.ExcelRenderer.MainEngine.RenderRPLPage(RPLReport report, Boolean headerInBody, Boolean suppressOutlines)
at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream
createAndRegisterStream)
at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
at Microsoft.ReportingServices.Library.RenderFromSnapshot.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
w3wp!wcfruntime!1b!02/25/2014-12:18:44:: e ERROR: Reporting Services fault exception System.ServiceModel.FaultException`1[Microsoft.ReportingServices.ServiceContract.RsExceptionInfo]: An unexpected error occurred in Report Processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
An unexpected error occurred in Report Processing. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo).
Any solutionsHi Vichu,
According to your description, you encountered the timeout issue when rendering your report. Right?
In Reporting Services, sometimes this issue happens when rendering big report, and it exceed the default Query Timeout time. Generally, we increase the Query Timeout and Session Timeout so that it will have more time to retrieving data.
In this scenario, since you have done this adjustment and the issue still exists randomly. We suggest you optimize the performance of your report. Please refer to the articles below:
Processing large reports:
http://technet.microsoft.com/en-us/library/ms159638.aspx
Performance (Reporting Services):
http://technet.microsoft.com/en-us/library/bb522786.aspx
Improving report performance with caching:
http://technet.microsoft.com/en-us/library/ms155927.aspx
Report performance optimization tips:
http://blogs.msdn.com/b/robertbruckner/archive/2009/01/08/report-performance-optimization-tips-subreports-drilldown.aspx
In addition, we recommend you install the Updates for SSRS 2012:
http://sqlserverbuilds.blogspot.com/
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
SSRS 2012 Reports freeze after first run in IE 11
Hello,
We have just recently upgraded/migrated from SSRS 2008R2 to SSRS 2012 sp2 (Windows 2012 R1).
We have found one report so far when using IE 11 that after the first run from the client side Internet Explorer freezes. The report normally takes 4-5 seconds to run. I have waited an hour and the report has not resolved.
The same report runs fine in Firefox or Chrome, even after multiple runs. It also continues to run fine from our SSRS 2008R2 server from IE 11.
I have tried private browsing and it still only runs once and will not run again. I have tried compatability mode and it will not run either. I have also noted that it will crash our ERP system (java based) when it is running at the same time
in IE as when I run this report. Other reports seem to work fine.
The report is simple, it is just a report of subscriptions from ReportServer. There is some XML parsing in there though. It is the only difference that I can see in all the other reports on the system. Oh, the report runs fine from
Visual Studio 2012. I have redeployed, and no luck yet.
Here is my query
WITH [EMAIL]([SubscriptionID], [EmailLine]) AS
SELECT I.[SubscriptionID],
I1.rows.value('Value [1]', 'VARCHAR(MAX)') AS [EmailLine]
FROM (
--if the Subscription is an e-mail, get the XML fragment which contains the Email line
SELECT S.[SubscriptionID],
--add a "root" element to create well-formed XML to the "ExtensionSettings"
--(in case it's NULL)
CONVERT(XML, N'<Root>' + CONVERT(NVARCHAR(MAX), S.[ExtensionSettings]) + N'</Root>') AS [ExtensionSettings]
FROM ReportServer.dbo.[Subscriptions] S WITH (NOLOCK)
WHERE --only get e-mail subscriptions
S.[DeliveryExtension] = 'Report Server Email'
) I CROSS APPLY
--pull out elements in the "ParameterValues/ParameterValue" hierarchy
I.ExtensionSettings.nodes('/Root/ParameterValues/ParameterValue') AS I1(rows)
WHERE --only get the Subject field
--I1.rows.value('Name [1]', 'VARCHAR(100)') = 'Subject'
I1.rows.value('Name [1]', 'VARCHAR(100)') IN ('TO', 'BCC','CC')
--get subscription data for all users
SELECT replace([EMAIL].[EmailLine], '@plu.edu','') email_line,
--internally put-together description of subscription
-- S.[Description],
--user-friendly message for what happened the last time the subscription ran
--which may be "New Subscription"
--report path and name
C.[Path], C.[Name],
--start date and end date for schedule
SC.[StartDate], SC.[EndDate],
--when the subscription was modified
S.[ModifiedDate]
FROM --actual subscriptions
ReportServer.dbo.[Subscriptions] S WITH (NOLOCK) LEFT OUTER JOIN
--report details from Catalog
ReportServer.dbo.[Catalog] C WITH (NOLOCK) ON
S.[Report_OID] = C.[ItemID] LEFT OUTER JOIN
--Users (owner)
ReportServer.dbo.[Users] [U1] WITH (NOLOCK) ON
S.[OwnerID] = [U1].[UserID] LEFT OUTER JOIN
--Users (modified by)
ReportServer.dbo.[Users] [U2] WITH (NOLOCK) ON
S.[ModifiedByID] = [U2].[UserID] LEFT OUTER JOIN
--Subscription Schedules
ReportServer.dbo.[ReportSchedule] RS WITH (NOLOCK) ON
S.[SubscriptionID] = RS.[SubscriptionID] LEFT OUTER JOIN
--Schedules
ReportServer.dbo.[Schedule] SC WITH (NOLOCK) ON
RS.[ScheduleID] = SC.[ScheduleID] LEFT OUTER JOIN
--Subjects CTE from e-mail subscriptions
[EMAIL] ON
S.[SubscriptionID] = [EMAIL].[SubscriptionID]
WHERE EmailLine is not null
and EmailLine like '%' + @Email + '%'
and C.[Path] like '%' + @Path + '%'
order by C.[Path]
The other observation that I have is that my CPU utilization goes up from 25% to over 50% when I kick this off. So, it is definitely getting confused about something...
Thank you for your feedback,
ChrisBrad,
I am not sure how to attach the rdl, so here it is inline.
The one thing that is strange is that my test SSRS 2012 SP2 server (Windows 2008R2) the report works. However, their is a difference in the OS. The production server is Windows 2012
The report works in Visual Studio, it works in Firefox, it works in Chrome. Just not in SSRS 2012 SP2 on Windows 2012.
Thanks
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="table1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>4.125in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.75in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.625in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.83333in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.83333in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.83333in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.18in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Email Addresses</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox1</rd:DefaultName>
<ZIndex>11</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Path</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox2</rd:DefaultName>
<ZIndex>10</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Name</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox3</rd:DefaultName>
<ZIndex>9</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Start Date</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox4</rd:DefaultName>
<ZIndex>8</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>End Date</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox10</rd:DefaultName>
<ZIndex>7</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox13">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Modified Date</Value>
<Style>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<TextDecoration>Underline</TextDecoration>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox13</rd:DefaultName>
<ZIndex>6</ZIndex>
<Style>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<BackgroundColor>White</BackgroundColor>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.18in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="email_line">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!email_line.Value</Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>email_line</rd:DefaultName>
<ZIndex>5</ZIndex>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Path">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Path.Value</Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Path</rd:DefaultName>
<ZIndex>4</ZIndex>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Name">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Name.Value</Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Name</rd:DefaultName>
<ZIndex>3</ZIndex>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="StartDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!StartDate.Value</Value>
<Style>
<FontSize>8pt</FontSize>
<Format>d</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>StartDate</rd:DefaultName>
<ZIndex>2</ZIndex>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EndDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EndDate.Value</Value>
<Style>
<FontSize>8pt</FontSize>
<Format>d</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EndDate</rd:DefaultName>
<ZIndex>1</ZIndex>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ModifiedDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ModifiedDate.Value</Value>
<Style>
<FontSize>8pt</FontSize>
<Format>d</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ModifiedDate</rd:DefaultName>
<Style>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Group Name="table1_Details_Group">
<DataElementName>Detail</DataElementName>
</Group>
<TablixMembers>
<TablixMember />
</TablixMembers>
<DataElementName>Detail_Collection</DataElementName>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>email</DataSetName>
<Height>0.36in</Height>
<Width>11.99999in</Width>
<Style />
</Tablix>
</ReportItems>
<Height>0.36in</Height>
<Style />
</Body>
<Width>12in</Width>
<Page>
<PageFooter>
<Height>0.25in</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="textbox8">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Globals!ReportFolder & "/" & Globals!ReportName & "/" & User!UserID</Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Left>8in</Left>
<Height>0.25in</Height>
<Width>4in</Width>
<Style>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Style />
</PageFooter>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="SQL_ReportServer">
<DataSourceReference>SQL_ReportServer</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>77e94914-07c8-421a-b785-a126cad0d6ac</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="email">
<Query>
<DataSourceName>SQL_ReportServer</DataSourceName>
<QueryParameters>
<QueryParameter Name="@Email">
<Value>=Parameters!Email.Value</Value>
</QueryParameter>
<QueryParameter Name="@Path">
<Value>=Parameters!Path.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>WITH [EMAIL]([SubscriptionID], [EmailLine]) AS
SELECT I.[SubscriptionID],
I1.rows.value('Value [1]', 'VARCHAR(MAX)') AS [EmailLine]
FROM (
--if the Subscription is an e-mail, get the XML fragment which contains the Email line
SELECT S.[SubscriptionID],
--add a "root" element to create well-formed XML to the "ExtensionSettings"
--(in case it's NULL)
CONVERT(XML, N'<Root>' + CONVERT(NVARCHAR(MAX), S.[ExtensionSettings]) + N'</Root>') AS [ExtensionSettings]
FROM ReportServer.dbo.[Subscriptions] S WITH (NOLOCK)
WHERE --only get e-mail subscriptions
S.[DeliveryExtension] = 'Report Server Email'
) I CROSS APPLY
--pull out elements in the "ParameterValues/ParameterValue" hierarchy
I.ExtensionSettings.nodes('/Root/ParameterValues/ParameterValue') AS I1(rows)
WHERE --only get the Subject field
--I1.rows.value('Name [1]', 'VARCHAR(100)') = 'Subject'
I1.rows.value('Name [1]', 'VARCHAR(100)') IN ('TO', 'BCC','CC')
--get subscription data for all users
SELECT replace([EMAIL].[EmailLine], '@plu.edu','') email_line,
--internally put-together description of subscription
-- S.[Description],
--user-friendly message for what happened the last time the subscription ran
--which may be "New Subscription"
--report path and name
C.[Path], C.[Name],
--start date and end date for schedule
SC.[StartDate], SC.[EndDate],
--when the subscription was modified
S.[ModifiedDate]
FROM --actual subscriptions
ReportServer.dbo.[Subscriptions] S WITH (NOLOCK) LEFT OUTER JOIN
--report details from Catalog
ReportServer.dbo.[Catalog] C WITH (NOLOCK) ON
S.[Report_OID] = C.[ItemID] LEFT OUTER JOIN
--Users (owner)
ReportServer.dbo.[Users] [U1] WITH (NOLOCK) ON
S.[OwnerID] = [U1].[UserID] LEFT OUTER JOIN
--Users (modified by)
ReportServer.dbo.[Users] [U2] WITH (NOLOCK) ON
S.[ModifiedByID] = [U2].[UserID] LEFT OUTER JOIN
--Subscription Schedules
ReportServer.dbo.[ReportSchedule] RS WITH (NOLOCK) ON
S.[SubscriptionID] = RS.[SubscriptionID] LEFT OUTER JOIN
--Schedules
ReportServer.dbo.[Schedule] SC WITH (NOLOCK) ON
RS.[ScheduleID] = SC.[ScheduleID] LEFT OUTER JOIN
--Subjects CTE from e-mail subscriptions
[EMAIL] ON
S.[SubscriptionID] = [EMAIL].[SubscriptionID]
WHERE EmailLine is not null
and EmailLine like '%' + @Email + '%'
and C.[Path] like '%' + @Path + '%'
order by C.[Path]</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="email_line">
<DataField>email_line</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Path">
<DataField>Path</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Name">
<DataField>Name</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="StartDate">
<DataField>StartDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="EndDate">
<DataField>EndDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="ModifiedDate">
<DataField>ModifiedDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="Email">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Email Like (e.g allen):</Prompt>
</ReportParameter>
<ReportParameter Name="Path">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>%</Value>
</Values>
</DefaultValue>
<Prompt>Path like (e.g Advancement):</Prompt>
</ReportParameter>
<ReportParameter Name="Report_Parameter_2">
<DataType>Boolean</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Parameter OK?</Prompt>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>811078db-33dd-4670-9df4-be748e9ec2ef</rd:ReportID>
</Report> -
SSRS 2012 Print Error w/ Win 8.1 IE11 (0x80004005)
I'm having an issue printing SSRS 2012 reports from Win 8.1/IE11. When I print I get "An error occurred trying to render the report. (0x80004005)" See below for SSRS Log. This happens when trying to print any reports from this
server on a win 8.1 machine. I've checked on Win8/IE10 and Win7/IE11 and they both work fine. When I change the "User agent string" in F12/Emulation to IE10 instead of default it also works fine. These reports are in compatibility mode
by default due to the "Dispaly intranet sites in Compatibility View" being checked by default. If I uncheck this box the reports will not even run. They display an error message of "Value cannot be null. Parameter name: String"
which is very similar looking to the error in the log below.
TIA for any help
Tommy
The error log from SSRS is
webserver!ReportServer_0-15!14cc!06/11/2014-09:59:40:: e ERROR: Internal error: System.ArgumentNullException: Value cannot be null.
Parameter name: String
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Web.Configuration.HttpCapabilitiesBase.get_MajorVersion()
at Microsoft.ReportingServices.Diagnostics.Utilities.BrowserDetectionUtility.GetBrowserInfoFromRequest(HttpRequest request)
at Microsoft.ReportingServices.WebServer.HttpRequestContext.get_BrowserCapabilities()
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpRequestWrapper.get_BrowserCapabilities()
at Microsoft.ReportingServices.Library.StreamRequestHandler.PopulateRSRequestParameters()
at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)
at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)
at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
library!ReportServer_0-15!14cc!06/11/2014-09:59:40:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeException: ArgumentException is encountered. Check inner exception for details., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeException:
An error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-15-130469329522201322. Most likely, the HTTP request contains an unsupported verb or invalid syntax. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: String
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Web.Configuration.HttpCapabilitiesBase.get_MajorVersion()
at Microsoft.ReportingServices.Diagnostics.Utilities.BrowserDetectionUtility.GetBrowserInfoFromRequest(HttpRequest request)
at Microsoft.ReportingServices.WebServer.HttpRequestContext.get_BrowserCapabilities()
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpRequestWrapper.get_BrowserCapabilities()
at Microsoft.ReportingServices.Library.StreamRequestHandler.PopulateRSRequestParameters()
at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)
at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)
at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
--- End of inner exception stack trace ---;
ui!ReportManager_0-16!3cc!06/11/2014-09:59:40:: i INFO: Unhandled exception: Microsoft.Reporting.WebForms.ReportServerException: An error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-15-130469329522201322. Most likely,
the HTTP request contains an unsupported verb or invalid syntax. (rsHttpRuntimeError) ---> Microsoft.Reporting.WebForms.ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote
errors
--- End of inner exception stack trace ---
at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream,
String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension)
at Microsoft.Reporting.WebForms.ServerModeSession.RenderReportForPrint(String deviceInfo, NameValueCollection additonalParams, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Hi Joshua.Arenz,
As per my understanding, you configured SSRS 2012 of SharePoint mode, when you click system setting in Central Admin, you got the error message.
According to the error message, the Reporting Services service application is not configured correctly. Please make sure you created service application correctly by following steps:
In SharePoint Central Administration, in the Application Management group, click Manage Service Applications.
In the SharePoint toolbar, click the New button.
In the New menu, click SQL Server Reporting Services Service Application.
In the Create SQL Server Reporting Services Service Application page, enter a name for the application.
In Application Pool section, create a new application pool for the application (recommended). Then select or create a managed account for the application pool.
In the Database Server, you can use the current server or choose a different SQL Server.
In Database Name the default value is ReportingService_<guid>, which is a unique database name. If you type a new value, type a unique value.
In Database Authentication, the default is Windows Authentication.
In the Web Application Association section, select the Web Application to be provisioned for access by the current Reporting Services Service Application.
Click OK.
For more information about Creating a new Reporting Services Service Application, please refer to the following document:
http://niftit.com/how-to-install-configure-reporting-services-sharepoint-2013/
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
SSRS 2012 Session Expired Error..
We have reporting environment with SSRS 2012 configured with forms authentication…
When users taking reports we are getting following errors randomly. We increased the valued of Query Timeout and Session Timeout in WebConfig. But still the error is persisting…Any one help us to resolve this issue?
microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database.;
session!ReportServer_0-9!1070!08/11/2014-03:08:58:: e ERROR: Error in getting session data: Invalid or Expired Session: e3z2csibgn4kmbum1wm2cs2bHi Vichu,
According to your description, you encountered the timeout issue when rendering your report. Right?
In Reporting Services, sometimes this issue happens when rendering big report, and it exceed the default Query Timeout time. Generally, we increase the Query Timeout and Session Timeout so that it will have more time to retrieving data.
In this scenario, since you have done this adjustment and the issue still exists randomly. We suggest you optimize the performance of your report. Please refer to the articles below:
Processing large reports:
http://technet.microsoft.com/en-us/library/ms159638.aspx
Performance (Reporting Services):
http://technet.microsoft.com/en-us/library/bb522786.aspx
Improving report performance with caching:
http://technet.microsoft.com/en-us/library/ms155927.aspx
Report performance optimization tips:
http://blogs.msdn.com/b/robertbruckner/archive/2009/01/08/report-performance-optimization-tips-subreports-drilldown.aspx
In addition, we recommend you install the Updates for SSRS 2012:
http://sqlserverbuilds.blogspot.com/
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
hello all,
Actually , i had raised this quetion in past but had not satisfied with the answers.
explaining in brief this time so , can get actual cause of this.
I have two reports subscriptions on same time ..
subscriptions executed fine on some day and throws error sometimes ..
have a look at log files..
---events started .... imporatant events status as per my understanding
library!WindowsService_1!8d0!02/07/2015-10:30:04:: i INFO: RenderForNewSession('/EDP_Reports/HR And Admin/HR_yesterday_Missing_Punch_Report_005')
library!WindowsService_1!ab0!02/07/2015-10:30:04:: i INFO: RenderForNewSession('/EDP_Reports/Sales/SA_Stagewise_Completed_Files_Report-002')
setting default values Configuarions..
---library!WindowsService_1!ab0!02/07/2015-10:30:05:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
library!WindowsService_1!8d0!02/07/2015-10:30:06:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
library!WindowsService_1!ab0!02/07/2015-10:30:09:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
library!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure,
timeout or low disk condition within the database.;
emailextension!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Error sending email. Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be due to a connection
failure, timeout or low disk condition within the database.
---> System.Data.SqlClient.SqlException: Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
notification!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Error occured processing subscription 2dc49fc1-f7e2-4bd6-a0b9-5ee846db6906: Failure sending mail: An error occurred within the report server database. This may be due to a connection
failure, timeout or low disk condition within the database.Mail will not be resent.
please, explain me the cause why this is happening is it deadlock or what??
and are my default value stated above are effiecient to perform tasks ..
i.e. SessionTimeout to '600' second(s) etc.
help must appreciated ..
Dilip Patil..Hi Dilip,
The error message "An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database", the issue can be caused by many factors, usually occurs due to large size
or bad rows of some tables in the ReportServerTempDB database.
If we view the script of the CleanExpiredSessions stored procedure of the ReportServer database, we can see that it first grabs 20 records from the ReportServerTempDB.dbo.SessionData table and then removes those from the ReportServerTempDB.dbo.SessionLock
table. If there are bad rows in the SessionData table, the CleanExpiredSessions functionality may encounter an issue. Here, I suggest that you clean the SessionData table as well as the SessionLock table, and check the issue again.
Please also try to apply the latest service pack according to your SQL Server Reporting Services version.
Did the subscription failed many times? If possible, please also try to recreate the subscription.
Similar thread for your reference:
SSRS 2008: connection failure, timeout or low disk
condition within the database. (rsReportServerDatabaseError)
Inconsistent EMail Subscription
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support -
SSRS 2012 - Windows Server 2012 R2 issue with OLEDB Connection String
Hoping someone can help. As stated above, we are running SQL Server 2012 with SP1 on Windows Server 2012 R2. When I create a Data Source as follows in Reporting Services, I receive the following error message. Any thoughts on why this fails? The same data
source works on Windows Server 2008 R2 Enterprise SQL Server 2008 R2.
Data Source type: OLE DB
Connection string: Provider=Microsoft.ACE.OLEDB.12.0;Data Source="\\networknamehere\CSVFiles";Mode=Read;Extended Properties="text;HDR=YES;FMT=CSVDelimited"
ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CSV_Datasource'. ---> System.Data.OleDb.OleDbException:
Unspecified error
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at Microsoft.ReportingServices.DataExtensions.ConnectionExtension.Open()
at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.OpenConnection(IProcessingDataSource dataSourceObj, DataSourceInfo dataSourceInfo, IDbConnection conn)
--- End of inner exception stack trace ---;Hi ABAA101,
According to your description, when you use csv file as data source in SSRS 2012 report, you got the error message.
I tested the issue in my local machine, due to some policy restrictions, I could not install Access in my local machine. To workaround the issue, we can use the connection string like below:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\report;
Extended Properties="text;HDR=Yes;FMT=Delimited"
The csv file is stored in report folder in C driver.
In Query text box in the dataset, we can use the query like below:
Select * from new.csv
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
SSRS 2008 R2/SSRS 2012 Tab Delimited setup is not working correctly in Report Designer
I have changed a RSReportDesigner.config to add a tab delimited option for report export, but it is not working correctly in vs2008/vs2010 report designer. I get a duplicate of CSV (comma delimited) in the export dropdown list.
I have tested SSRS 2008 R2/SSRS 2012 on Windows 7 64 bit professional.
It is working correctly in the report manager.
<Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
<OverrideNames>
<Name Language="en-US">TAB delimited</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<FieldDelimiter xml:space="preserve">	</FieldDelimiter>
<Encoding>ASCII</Encoding>
<UseFormattedValues>False</UseFormattedValues>
<NoHeader>False</NoHeader>
<FileExtension>TXT</FileExtension>
</DeviceInfo>
</Configuration>
</Extension>Hi Dave0323,
According to your description, you want to export your report into TXT file and change the delimiter to be a Tab. Right?
In Reporting Services, when exporting to a CSV file, we can change the default field delimiter to any character that we want, including TAB, by changing the device information settings in the configuration file. For example, to use TAB,
update the FieldDelimiter setting to <FieldDelimiter xml:space="preserve">[TAB]</FieldDelimiter>. And we can change the FileExtension to be TXT if we want to export it into a TXT file. So in this scenario, we just need to modify the configuration
file like below:
The result looks like below:
Reference:
CSV Device Information Settings
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
Maybe you are looking for
-
My Samba server stopped working and I have no idea why.
I set up a samba server once I got arch installed and it was working like a boss for about a month. Then one day (i think the machine may have rebooted) it just stopped working. I can't access my samba share from any of my other machines (all running
-
How to trace an application which is not in the current directory?
Hi, When I use simple example 'Trace' to trace my application in current directory, it works well. But I cannot trace the applications which are in different directory or in an .jar file. Even I've already add it to the classpath. The following is my
-
Nokia N93 Speaker Problem Please help!
Hello guys, i have bought a n93 because my Qtek 8300 was damaged severly, alright so i get the n93 and i cant use it becuase of a big problem. When i make calls on the recieivng side of when ppl c all there is a flickering noise (the speaker where pp
-
Will I be able to update when I install CS4 DP on Windows 8.1?
Hi, My notebook was stolen. It had CS4 Design Premium installed on Windows 7 Pro 64-bit. I bought a new notebook, but it comes with Windows 8.1 Pro 64-bit. Will I be able to download updates after installing from the DVD? I'm on a TLP license from th
-
BMP in WebLogic workshop 8.1
Could anyone help me in deploying a Bean Managed Persistence(BMP) on weblogic workshop 8.1? thanks -sheshi