Telerik Forums
Reporting Forum
1 answer
117 views
Hello,

I currently am using the trial version of Telerik Reporting. I am able to view the website on my local machine and the reports look great; however, when I moved everything to the web server, and try to view a report, the "Generating Report" message is displayed but when it is done, the screen just goes blank where the report would normally show up. I am able to select options along the top of the report viewer like Next Page, Print, and even Export. When I export the report to PDF it shows up just fine, so I'm not sure why it won't show normally.

Any ideas as to why would be amazing!

Thanks,
Casey
Steve
Telerik team
 answered on 26 Aug 2010
2 answers
184 views

Hi,

I am developing a project with using Microsoft Visual Studio 2010, Telerik Rad Components and Oracle 11g. I used latest version (2010.2.714.40) of Telerik Rad ajax for my project. One month ago there was an error about telerik list view and we took a hot fix from telerik support team about this error. Now, our Telerik version is 2010.2.722.40.

I have an error on my reporting process but I do not know if this error is depending on version differences.

Firstly, I added new report class under the App_Code folder. Then, I clicked report wizard and I created a data source with my connection string which had been written in webconfig file. I created a query with query builder and then I tested this query. The result of the test was successful and I saw all data according to my defined query. When I finished the creation of the report, I clicked preview button but I couldn't see report or data. Then I tried to run my report with report viewer item. I add report viewer to the default.aspx page and I wrote the code which is shown below into the code page

ReportViewer1.Report = new Report1();

When I build the web site I got this error:

Could not find file 'App_Code.h5t8kano.resources'.

Error was given in

this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); row in Report1.cs page.

What can I do about this error? What is the reason of this error?

 


Thanks in advance.

bt_86
Top achievements
Rank 1
 answered on 26 Aug 2010
0 answers
216 views
Hi,

   I'm getting two exception only in server. I do not get it in my local. Any idea for the cause?


Error : System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(MemoryStream stream)
   at System.Drawing.ImageConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
   at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
   at Telerik.Reporting.Pdf.PdfImageInfo.ComputeHash()
   at Telerik.Reporting.Pdf.PdfImageInfo..ctor(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImage(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.Drawing.PdfGraphics.DrawImage(Image image, RectangleF destRect, RectangleF srcRect)
   at Telerik.Reporting.ImageRendering.CanvasPdf.DrawImage(Image image, RectangleF destRectMm, RectangleF srcRectPx)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image image, RectangleF destRect)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImageOnPage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.Chart.Render()
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(CompositionBase composition, RenderingElement renderingReport, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(Report report, CompositionBase composition, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo)
   at SHAPe.Report.ExportToPDF(Report reportToExport, String name)
   at SHAPe.Report.btnReport_Click(Object sender, EventArgs e)
 
 
Error : System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Drawing.SafeNativeMethods.Gdip.GdipDrawImagePointRectI(HandleRef graphics, HandleRef image, Int32 x, Int32 y, Int32 srcx, Int32 srcy, Int32 srcwidth, Int32 srcheight, Int32 srcunit)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Rectangle srcRect, GraphicsUnit srcUnit)
   at Telerik.Reporting.Pdf.Drawing.PdfImage.InitializeDrawingImage()
   at Telerik.Reporting.Pdf.Drawing.PdfImage..ctor(PdfImageInfo info)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImageDictionary(PdfImageInfo info)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImage(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.Drawing.PdfGraphics.DrawImage(Image image, RectangleF destRect, RectangleF srcRect)
   at Telerik.Reporting.ImageRendering.CanvasPdf.DrawImage(Image image, RectangleF destRectMm, RectangleF srcRectPx)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image image, RectangleF destRect)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImageOnPage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.Chart.Render()
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(CompositionBase composition, RenderingElement renderingReport, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(Report report, CompositionBase composition, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo)
   at SHAPe.Report.ExportToPDF(Report reportToExport, String name)
   at SHAPe.Report.btnReport_Click(Object sender, EventArgs e)

Any solution to fix this issue?

Thanks,
Sivam
Top achievements
Rank 1
 asked on 26 Aug 2010
1 answer
221 views
Hello,
 Could you please let me know how to hide complete tool bar in report viewer for silverlight.

FYI :- The namespace I am using is:-
 xmlns:reportViewer="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"

Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
225 views
Hello all,

I have a windows form with a grid that displays items that can be selected by the user using check boxes. Each item has zero or more sub-items attached to them. I would like to let the user select the main items from the grid then have a report that displays all the sub-items that were attached to the selected items.

I have tried creating an ObjectDataSource using the Report Designer with no success. I have tried to manually data bind the report by programmatically setting the DataSource of the report to an IEnumerable<SubItem> that I have created. In this case I set the expressions for the textboxes in the report to [=Property1] where Property1 is a public property of the SubItem class. This gives me a row for each item in the IEnumerable<SubItem> list but instead of displaying the value of the properties it prints [=Property1].

Is it possible to use the reports in this way? If so how? Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
2 answers
150 views
Hi..
How can I suppress  "$0.00"  so it shows up as blank?

Most of my fields are based on calculations..... like...
 
=Fields.inv_sale -  Fields.sale_paid


thanks again
Jon
Top achievements
Rank 1
 answered on 25 Aug 2010
3 answers
149 views
Hello

I have two parameters that hava a datasourse. The second one has a filter on the selected ID on the first parameter.
When I run the report in a browser with reportviewer and select a value on report parameter 1. The report seems to do a posback and all parametersfields dissapear.

I run Q1 2010 SP1
C# 4
Integrated mode.

This worked in previus versions of report viewver. Eiter way its the c# 4 uppgrade or the upgrade of the telerik reporting to q1 that is causing this problem.

Any ideas?
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
116 views

Hello,

I use the silverlight chart control to display charts with several stacked bars and simple bars, for example 6 stacked bars grouped in 2 bars (3 series on 1 bar, the others 3 on the second bar) using the property XCategory to group the series. I want to print this chart using the reporting but I haven't found the equivalent of the property 'XCategory', In the report, all the stacked series appears on the same bar. What can I do to group the series like in the silverlight chart control ?

Ves
Telerik team
 answered on 25 Aug 2010
2 answers
91 views
Hi,

I've spent hours trying to designate fields to a reporting chart's x and y axis but until now I can't figure out how to do it.
I am using Telerik Reporting Q2 2009 and Visual Studio 2005.

Thank you in advance.
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
97 views
Hi,

I am working on adding Telerik Reporting for Silverlight to an application. I need to add some logic to secure the reports, and I would like to inject an attribute onto the Telerik Reporting service to do this (so I can reuse the existing code). The goal here is to inject my logic into the WCF call stack before it reaches the Telerik code.

I was able to do this by adding a custom attribute to the service method in my code where I add a custom invoker to each service method. Is there a way I can do the same with the Telerik service? All the examples I see show a declarative solution to adding the Telerik service.

If not, is there a way to add logic (once) to the reporting service to limit access to the code?

I have special logic because we have two methods of authentication that we have to support simultaneously.

Thank you,
Gary Klesczewski
Northeast Utilities
Steve
Telerik team
 answered on 25 Aug 2010
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?