Telerik Forums
Reporting Forum
6 answers
227 views
I am using Visual Studio 2008(framework 3.5). I tried instaling Telerik Reporting Q2 2010. It is installing and I am able to get option in toolbox, but not showing any options in the toolbox like the charttypes or button or textbox etc. I got only ReportBook control, ReportViewer and Pointer. I tried uninstalling and reinstalling again. I closed the Visual Studio while installing. But it didn't work. I even tried adding the dll by right click on the telerik reporting option in tool box, chhose items, browse to get TelerikReporting.dll. It didn't work. 
Any help would be appreciated.
Thanks in Advance.
Its urgent.
Rahel
Top achievements
Rank 1
 answered on 07 Jan 2011
1 answer
141 views
Hello All. I have build and deployed a Telerik web project to a Windows 2003 Standard server. I have used the Telerik's Report Viewer and loading a Report in it. All parameter generate some data. No possible query ever comes empty. Other reports without charts are working properly. Only Reports with charts are failing in a similar manner. Here is the whole exception output:

-----------------------------------------------------------------------------
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
   System.Drawing.Gdip.GdipSaveImageToStream(HandleRef image, IStream stream, Guid& classId, HandleRef encoderParams) +0
   System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams) +276
   System.Drawing.Image.Save(Stream stream, ImageFormat format) +36
   Telerik.Reporting.HtmlRendering.ChartRenderer.SaveImageInStream(HtmlRenderingContext context, Image image, String mimeType) +86
   Telerik.Reporting.HtmlRendering.ChartRenderer.RenderInternal(ProcessingElement processingElement, HtmlRenderingContext context) +64
   Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ProcessingElement processingElement, RenderingContext context) +233
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +50
   Telerik.Reporting.HtmlRendering.Matrix.RenderInternal(HtmlRenderingContext context) +3486
   Telerik.Reporting.HtmlRendering.Matrix.Render(HtmlRenderingContext context) +42
   Telerik.Reporting.HtmlRendering.ReportSectionBaseRenderer.RenderInternal(ProcessingElement processingElement, HtmlRenderingContext context) +69
   Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ProcessingElement processingElement, RenderingContext context) +233
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +50
   Telerik.Reporting.HtmlRendering.HtmlPage.RenderReportSections(HtmlWriter bodyWriter) +563
   Telerik.Reporting.HtmlRendering.HtmlPage.RenderBody(HtmlWriter bodyWriter) +323
   Telerik.Reporting.HtmlRendering.HtmlPage.Render(HtmlTextWriter primaryWriter, HtmlRenderingContext renderingContext) +118
   Telerik.Reporting.HtmlRendering.HtmlReport.Render(HtmlTextWriter writer) +331
   Telerik.Reporting.HtmlRendering.HtmlRenderingExtension.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +134
   Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +730
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +377
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +462
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +119
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +164
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209
-----------------------------------------------------------------------------

I dont know why this is happening at all and I have tried whatever solution I could find from the internet. Only one other similar post exists and that is a WinApp on a virtual server so it is not me scenario.

Kindly respond on urgent basis.
Steve
Telerik team
 answered on 07 Jan 2011
1 answer
284 views
Hi,

My application show weird characters in a TextBox with expression when the value contains special Brazilian characters like "ç, ã, etc...".

Ex.: Empresa: Homologa??o

I'm using mixed pages from ASP 3.0 and ASP.Net 4.0.

In attached file I send two samples, first sample (correct.png) is a 100% ASP.Net 4.0 page and the characters shows correct;
In second sample (wrong.png) the pages are 50% in ASP 3.0 and 50% in ASP.Net 4.0 and the characters don't show correct.
        This pages are a frameset. The Top page "Monitor de Operações" developed in ASP 3.0, the Middle page is developed in ASP.Net 4.0 with Telerik Reports and the Bottom page Controls (Listar, Enviar, etc...) is developed with ASP 3.0.

Sorry, but my English is no good!

Thx,

Leandro 
Steve
Telerik team
 answered on 07 Jan 2011
3 answers
99 views
hey ...
i need to set the max size of bars in RadChart with BarSeriesDefinition because when the number of elements in mapped list is small the bars looks so wide and not suitable
thanks..

										
Evgeni "Zammy" Petrov
Telerik team
 answered on 07 Jan 2011
1 answer
584 views
Hello, 
I'm having the issue where the report rendering is working fine in dev, but when I publish to the live site, I get the above RendererNotAvailableException. I'm sure I'm simply missing a dll or an entry in my web.config, but I've copied all the dlls provided in the Telerik Reporting bin directory up to the site and it's still not going. 
I'd be grateful for any help. I've copied the stack trace below.

Thanks,


Server Error in '/' Application.

PDF rendering format is not available.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Telerik.Reporting.Processing.RendererNotAvailableException: PDF rendering format is not available.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[RendererNotAvailableException: PDF rendering format is not available.]
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +621
   Telerik.Reporting.Processing.ReportProcessor.RenderReportStateless(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +47
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo) +133
   J.J.Controllers.JController.ExportPdfReport(String reportName, Report report, IEnumerable`1 models) +92
   J.J.Controllers.Project.ProjectAnalyzerController.ExportPdf(Int32 projectId, DateTime fromDate, DateTime toDate) +104
   lambda_method(ExecutionScope , ControllerBase , Object[] ) +198
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +178
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +24
   System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +52
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +254
   System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +19
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +192
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +314
   System.Web.Mvc.Controller.ExecuteCore() +105
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +39
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +34
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +12
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +59
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +44
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +7
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8679470
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Steve
Telerik team
 answered on 07 Jan 2011
3 answers
401 views
Is there a way to replace the standard true/false text with some custom text. when using 'Boolean' type of report parameters?

Thanks
Sunil
Peter
Telerik team
 answered on 07 Jan 2011
3 answers
115 views
When exporting data from a Report to CSV or Excel format, we would like to transform the display data into internal data representation. For example, we will display a User friendly descriptive name on the report, but when exporting data we would like export internal DB equivalent instead (see below). Similarly, we would like to export additional columns during export if appropriate. Let me know if this is possible to do.

Report display
Loan #     Field Name
2       From Date
2       To Date
2       Buyer Amount


Exported Data
loan_id   uad_audit_field_name
2   l901_from_dt
2   l901_to_dt
2   l901_buyer_amt
Peter
Telerik team
 answered on 07 Jan 2011
0 answers
77 views
Hello,

I am using Telerik Reporting Q3 2009 and I have a user function defined.

When I use it inside my code it works fine but when I call it from the report it does not return the expected value.
Here is the code in VB.Net:

GetResourceValue("Txt:Days", "CoreFunctions")

which returns : Days

Inside the report in a table field I use the following expression:

=TelerikReports.modCommon.GetResourceValue("Txt:Days", "CoreFunctions")

which returns" Txt:Days"

Here is my function:

 

  Public Function GetResourceValue(ByVal sKey As String, ByVal sAppName As String) As String
        Try
            Dim ds As New DataSet
            ds.ReadXml(System.Web.HttpContext.Current.Server.MapPath(".") & "\..\ResourceFiles\" & sAppName & "." & LANGUAGE & ".resx")
            Dim rows() As DataRow = ds.Tables("data").Select("name = '" & sKey & "'")
            If rows.Length > 0 Then
                Return rows(0)("value")
            Else
                Return sKey
            End If
        Catch ex As Exception
            Return sKey
        End Try
    End Function

 

Any idea ?

Thanks in advance

Viviane
Top achievements
Rank 1
 asked on 06 Jan 2011
2 answers
94 views
Hi,
I am using Telerik Reporting Q3 2009 and evey time I drag and drop Table wizard or crosstab wizard to my report the wizard opens and when it asks to choose a Data Source I get this message:
An unexpected error ocurred.
Error Message: Object reference not set to an instance of an object.

Does someone have any idea how to solve that ?

Thanks in advance.
Viviane
Top achievements
Rank 1
 answered on 06 Jan 2011
1 answer
96 views
The Label is a problem in DefaultLabelValue in properties ChartSeries Collection Editor. So 
I put the value for the type percent, he returns me to the type percent, and no other value to 
currency or any other work. I have already changed the values for #% # Y {P}, etc.. 
No work! 
Keeps returning value of type integer. As in figure below (grafico1.jpg).

In the second figure (grafico2.jpg) should be so graphic, as shown in visual studio. 
But once the report is generated is as good as the first figure (grafico1.jpg).


Help me, please!

Att.

Matheus Ribeiro.




Anthonio Matheus
Top achievements
Rank 1
 answered on 06 Jan 2011
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?