I have a problem with export to PDF from a report server. When exporting to PDF from the report viewer control in a ASP.Net web site written in VS2010 and C# for a certain report in the general case it works fine. However, with certain parameters passed to this same report it outputs a corrupted PDF file.
One peculiarity is that this parameter combination that corrupts the PDF file is the one that outputs the most amount of data. All other render formats work fine in all scenarios.
Thanks so much for your help.
I was using Adobe PDF Viewer - latest version. Turns out the issue is fixed in Cumulative Update 6 of SSRS 2008 R2. Installing Service Pack 2 fixed the problem.
Related
I'm writing a custom webbrowser based on CefSharp 90.6.7. I have a problem with opening PDF files. I'd like these files to be opened in the Chromium built in PDF viewer. Instead of this I just get a white screen with an error "The PDF cannot be loaded" message. There I have the possibility do download the PDF file and after downloading this gets displayed in the default PDF viewer.
Unfortunately I don't know how the web application is serving the PDF files (it's a SAP UI5 ABAP something), but when I try this in latest nightly Chromium, MS Edge or other Chromium based browsers, these correctly display the PDF file in the build in viewer.
Can you point me what do I miss? Is it somehow necessary to handle these PDF files? I tried to google for an example, but haven't found anything.
Thanks in advance!
I faced an issue like that: When I running source aspx in Local machine and export Report by crystal report, everything look good. but when publish this source to Server, this report export pdf has Hidden all space charracter like this:
All space look like hidden and can see somthing like dot character below each space hidden.
Anyone know this issue please give me a help.
Thanks.
p/s: I using Microsoft visual studio 2008
Check font permissions for user context of the server process.
Also, does the font you use on the server include embeddability permissions?
You can check that via properties of the font.
Open the two reports (the good one and the bad one) in Crystal Designer. Go to File, Page Setup...
Compare the printer assigned. Most likely the bad report is assigned a bad printer (doesn't exist on the server, bad driver, or some other problem).
I have a program to churn through some data that uses 3 reports.. recently our network admin upgrade a server to Win 2012 R2. That server is a slightly newer version of crystal reports. My program uses Version=13.0.2000.0.
Since the upgrade to the new server, my 3rd report, which relies on user entered parameter values no longer prompts the user for the values and shows a blank crystal report viewer. The report works fine locally on my machine.
Curious if anyone has run into this problem? Hopefully. Any ideas / Solutions?
Thanks.
Well after 2 days of searching a co-worker pointed me to this blog post -->
https://adilmca.wordpress.com/2013/04/08/visual-studio-2012-crystal-report-not-working-on-windows-server-2012-0x800a1391-javascript-runtime-error-bobj-is-undefined/
Add the report viewer folder to the project and copy in that bit to the webconfig to point to the new folder. I would like to know why this occured, and I will continue digging to figure it out - but for now the problem is solved. Hope this helps someone else.
Thanks.
I have a report that I run in an ASP.NET application using the ReportViewer.Common and ReportViewer.Webforms. With the 2005 version (8.0.0.0) of the RDL file (renamed to RDLC), it worked fine in my ASP.NET web app. After upgrading the report to 2008 (10.0.0.0), my report no longer works.
Error is quite extensive, but ends with:
at Microsoft.ReportingServices.OnDemandProcessing.OnDemandProcessingContext.AbortHelper.ThrowAbortException(String reportUniqueName)
at Microsoft.ReportingServices.OnDemandProcessing.OnDemandProcessingContext.CheckAndThrowIfAborted()
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.FetchData(Boolean mergeTran
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.PrefetchData(ReportInstance reportInstance, ParameterInfoCollection parameters, Boolean mergeTran)
What I have done:
I have checked and all parameters for the report are being set.
I set all the data sources with valid DataTable objects. I've checked all the columns are present in my DataTable.
I have a SubReportProcessing event handler setup. The processing steps into this function and I set the necessary DataTable in that function with valid data. This works for each call to the subreport.
Unfortunately, the Report with subreport works fine in the BI Dev Studio. Go figure.
I can .LocalReport.Render() and get an Exception thrown, but the error is really deep in the .NET reporting engine, as described above.
I realize most would say I am missing a parameter. I could be.
How can I debug this report AFTER the subreport datasets have been supplied? Is there some level of tracing I can enable to get more out of the rendering engine?
Another question is: Is there a way to control the timeout of the SubReport Render? I have set the report script manager to 900 seconds (way high).
Thank you in advance for any guidance you might have on debugging this problem.
Dan
Dan.Zemmels#zcsi.net
hey guys,
i am running into an issue here -
my crystal report library embedded in my asp.net web application is crashing out if a large image (>1.5 mb jpeg) file is embedded to it.
i'm trying to find the image file size threshold for that ... so far i do not have much luck on google - any thoughts on that? (if you had run into similar problems before)