Hi,
I am using Telerik Reporting that is working in Development environment (VS 2008). When I deploy my application in IIS7.0 + windows server 2008 it stopped working and I
am getting the following error
The http handler needed by the Report Viewer has not been registered in the application's web.config file. Add <add verb="*"path="Telerik.ReportViewer.axd" type ="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" /> to the system.web/httpHandlerssection of the configuration file.
Please guide me to resolve this.
Hi,
I have created a UserControl (ascx) with the Report Viewer. I am creating instances of my report classes dynamically. My Report viewer code looks like this:
if (!Page.IsPostBack) |
{ |
if (!string.IsNullOrEmpty(_reportName)) |
{ |
PageManagementDataContext db = new PageManagementDataContext(); |
var rec = db.ReportGetByReportIDAndLCID(Convert.ToInt32(_reportName), "is-IS").FirstOrDefault(); |
if (rec != null) |
{ |
Object obj = Activator.CreateInstance(Type.GetType("Orbit.Benjamin.Reports." + rec.systemname)); |
Telerik.Reporting.Report rpt = (Telerik.Reporting.Report)obj; |
ReportViewer1.Report = rpt; |
ReportViewer1.ZoomMode = Telerik.ReportViewer.WebForms.ZoomMode.Percent; |
ReportViewer1.ZoomPercent = 100; |
ReportViewer1.Style["height"] = "30cm"; |
} |
} |
} |
} |
protected object GetNewType(string classname) |
{ |
Type type = Type.GetType(classname, true); |
object newInstance = Activator.CreateInstance(type); |
return newInstance; |
} |
var enterpr = db.EnterprisesAndDivisionsGetAll().Where(d => d.partyroleid != 4); |
var parameter = this.ReportParameters["Company"]; |
parameter.UI.AvailableValues.DataSource = enterpr.Select(o => o.partyname); |
parameter.Value = enterpr.Select(o => o.id); |
Hi guys,
I am working on an application which uses Telerik Reports to generate reports using the PDF rendering extension. The reporting logic in the application allows the users to schedule the reports generation. Because of performance and scalability reasons, the reports are generated (rendered to PDF) each on a different thread.
Now, imagine that different users schedule the same report but with different parameters to run at the same time. We would then have multiple calls to the Telerik.Reporting.Processing.ReportProcessor.Render method from different threads, passing to each call a different instance of the same Telerik.Reporting.Report class. It seems that there are some problems with this scenario. The reports will be rendered, but some of them with errors like "An error has occured while processing TextBox 'TextBox1': Index was outside the bounds of the array.".
I believe that thread safety is a very important functionality, therefore I hope you have a workaround for this or at least consider fixing it as soon as possible.
Regards,
Daniel