or
Telerik.Reporting.Processing.ReportProcessor TelContractrp = new Telerik.Reporting.Processing.ReportProcessor();System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();Telerik.Reporting.InstanceReportSource TelContractirs = new Telerik.Reporting.InstanceReportSource();TelContractirs.ReportDocument = currRpt;Telerik.Reporting.Processing.RenderingResult result = TelContractrp.RenderReport("DOCX", TelContractirs,deviceInfo); string dContract = DateTime.Now.ToString().Replace("/", ""); dContract = dContract.Substring(0, 12); dContract = dContract.Replace(":", ""); string fileName2 = result.DocumentName + "_" + dContract + "." + result.Extension; string filePath2 = System.IO.Path.Combine(saveLocation, fileName2); FileStream fs = new FileStream(filePath2, FileMode.Create); fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); fs.Close(); System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.UseShellExecute = true; p.StartInfo.FileName = filePath2; p.Start();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. |
|
We have a report that needs to be modified. It was developed by a person who is no longer with the company.
When we bring up the page with the report on it we get the following error in the visual designer in Visual Studio:
Error Creating Control - ReportViewer1Failed to create designer 'Telerik.ReportViewer.WebForms.ReportViewer,
Telerik.ReportViewer.WebForms, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'
This is the definition in the .ASCX file:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ctrlBuyerInvoice.ascx.vb" Inherits="ctrlBuyerInvoice" %><%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %><%@ Register assembly="Telerik.ReportViewer.WebForms" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %><telerik:ReportViewer ID="ReportViewer1" runat="server" Height="600px" Skin="Default" Width="775px"></telerik:ReportViewer>
What do we need to install to be able to edit this report?
Thanks