or

the following code gives a null reference exception object reference not set to the instance of an object.
I have also tried:
TelRpt.ReportParamenters["txtContract"].value = cheader.ContractNum;
gives the same error.
cheader.ContractNum has a value.
If I take out this line the report converst to docx with no problem excet the contract number does not appear.
((TelRptContract)TelRpt).ReportParameters["txtContract"].Value = cheader.ContractNum;
rpt.DataSource = new Select() .From(EP_Main.ContractHeader.Schema) .Where("ContractID") .IsEqualTo(cheader.ContractID) .ExecuteDataSet().Tables[0].Copy(); rpt.Run();TelRpt.Run //This is the telerik report and only gives isinruntimemodeA sorry error is generated when trying to export some of our new reports. It appears to be tied to there being a large amount of data in the export. We are able to reproduce this when there was a search criteria on 439 records. We were able to export this report to pdf when doing so directly from the web server. Has anyone else run across this error and if so how did you resolve it?
reportViewer1.ExportReport("DOC", new Hashtable()); // BADreportViewer1.ExportReport("XLS", new Hashtable()); // OK
reportViewer1.ExportReport("PDF", new Hashtable()); // OK