Telerik Forums
Reporting Forum
1 answer
638 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
424 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
137 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
95 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
109 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
108 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
2 answers
130 views
I have a one parameter report that uses a drop down to select a report parameter before processing. If the display settings are 1024 X 768 then I get a scroll bar (Only in IE) which the parameter ends up being just about hidden and is unselectable. Under the same 1024 x 768 display settings Firefox and Chrome work fine.

Any ideas on how to get this to work correctly in IE?

<%

@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

 


<

 

telerik:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="500px">

 

 

</telerik:ReportViewer>

 

Dwayne Starkey
Top achievements
Rank 1
 answered on 06 Jan 2011
1 answer
71 views
I created a Report1 and it code behind added this code after InitializeComponent():

            // create and populate an array of Coffee objects
            Coffee[] coffees = new Coffee[]
            {
            new Coffee("Latte", 1),
            new Coffee("Mocha", 2),
            new Coffee("Dark Roast", 3)
            };
            // assign the array to the DataSource
            this.DataSource = coffees;

and added this class:
    public class Coffee
        {
            private string _name;
            private int _id;
            public Coffee (string name, int id)
            {
                _name = name;
                _id = id;
            }
            public string Name
            {
                get
                {
                    return _name;
                }
                set
                {
                    _name = value;
                }
            }
            public int ID
            {
                get
                {
                    return _id;
                }
                set
                {
                    _id = value;
                }
            }
        }

I added two textboxes to Report1.  One uses the expression =id  and the other uses =name.  When I add Report1 to a web page using a ReportViewer, it only creates 2 records, both show id = 1, and name = Latte.
Richard M
Top achievements
Rank 1
 answered on 05 Jan 2011
2 answers
337 views
Hi,

I currently have a System that can create, view and export (PDF) Telerik Reports dynamically.  I have it set up so the user can choose which reports to be exported, or they can also export ALL of the reports that apply. For both the "Selected Reports" and "ALL Reports" areas of my project I would also like to add Print functionality but am unsure of a way to do this proggramatically.

Is it possible to print multiple Telerik Reports in C#? and if so, how?  (Preferably with a Preview if possible)

Best Regards,

Landon
Landon
Top achievements
Rank 2
 answered on 05 Jan 2011
4 answers
270 views
I'm creating a simple list report with columns and rows.
I don't use Table object because I need paging in html view in ReportWriter
I add ID, First Name, Last Name, Phone to the detail band in the report.
Per your docs I set Dock = Left to each item.  (they all align nicely)
Now I need to insert Middle Initial between First Name and Last Name
I select Last Name and Phone and set Dock = None, i move them to the right to make room for Middle Initial
I add Middle Initial field and insert it between First and Last Name.  My field order looks like ID, First Name, Middle Initial, Last Name, Phone

Here's the problem:
When I select all fields and set Dock = Left.  Middle Initial is moved to end!  ID, First Name, Last Name, Phone, Middle Initial.

When dock = left is set, it appears the designer aligns based on the order in which you add the field.  How do i change that behavior? 
Steve
Telerik team
 answered on 05 Jan 2011
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?