This is a migrated thread and some comments may be shown as answers.

RendererNotAvailableException: PDF rendering format is not available

1 Answer 413 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christopher Ronak
Top achievements
Rank 1
Christopher Ronak asked on 04 Jan 2011, 08:43 PM
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

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Jan 2011, 03:12 PM
Hi Christopher,

I've just tested this with modified version of the project from the Using Telerik Web ReportViewer in ASP.NET MVC application code library project that exports the report programmatically using RenderReport() and it worked just fine. My suspicion is that you're missing the Telerik.Reporting assembly in your bin folder - take a look at the Deploying Web Site help article for instructions.

All the best,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Christopher Ronak
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or