Telerik Forums
Reporting Forum
2 answers
3.4K+ views

Hi Support,

We are tried to setup web application on new server

We have install the telerik reporting on new server but still we are getting the following error

"Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified."

For more error details please find the attached  snap

Please suggest/Guide

Thanks

Mahendra

 

Stef
Telerik team
 answered on 23 Mar 2017
5 answers
202 views

Hello,

I am using standalone report designer and I use this line of code to toggle culture based on parameter

 

Culture = IIf(Parameters.Language.Value = "en","en-US","fr-CA") in databinding

 

This works well for numbers currencies, and percentages on tabs, cross tabs etc but NOT charts.

Does charting library have a different initialization process? It seems that once chart is created, the culture remains static.

 

P.S. Culture of the Chart is (Default), setting value is not in bold font. 

 

Please advise

Thanks

Stef
Telerik team
 answered on 23 Mar 2017
7 answers
199 views

Hi,

I created report in telerik report designer R3 2016, where i added a table, the report is working fine but the exported file is giving missing edges.what should i do to resolve this?

I have attached an image of the same, please have a look.

Katia
Telerik team
 answered on 23 Mar 2017
2 answers
49 views
Please find the problematic file attached, The report is showing border edges correctly, but the exported file shows missing boundary edges. Please help to resolve it.
Katia
Telerik team
 answered on 23 Mar 2017
1 answer
131 views

My reports that I am using in an WPF application just to print directly to a printer have some issues after the upgrade. We also had an issues when we upgraded last year.

Here is where the report is called

      string orderIds = "153461,153567,153843,153845,153872,153942,153966,153985,154210,154252,154298,154363,154382,154411,154431,154437,154463,154471,154521,154538,154556,154560,154631,154650,154686,154687";  
var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

      var typeReportSource = new Telerik.Reporting.TypeReportSource();
      typeReportSource.TypeName = typeof(Accounting.Reports.RptPostedDeposits).AssemblyQualifiedName;
      typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumbers", orderIds));
      var px = new System.Drawing.Printing.PrinterSettings();
      reportProcessor.PrintReport(typeReportSource, px);

 

 

Then in my Needs_Datasource event of the report I have something like

      if (this.ReportParameters[0].Value.ToString() != "")
      {
        string sqlQuery = "Select O.OrderID, Case When D.PayorName = '' Then CAL.SubAccountName Else " +
          "SUBSTRING(CAL.SubAccountName, 0, 7) + '-' + D.PayorName End as Customer, D.EntryDate, D.PaymentNumber, D.PaymentTypeID, " +
          "D.TotalDeposit, D.AmountAppliedToInvoice, O.GrandTotal, D.PostedToCyma, ISNULL(O.PostedDate, ISNULL(O.ShipDate, GETDATE())) as PostedDate " +
        "From FCMDB.dbo.FcoOrders O " +
        "JOIN FCMDB.dbo.CustAccountLocations CAL ON CAL.AccountLocationsID = o.AccountLocationID " +
        "JOIN FCMDB.dbo.AcctDeposits D ON D.OrderID = O.OrderID " +
        "Where O.OrderID IN (" + ReportParameters[0].Value + ")";
        SqlConnection cn = new SqlConnection(MyConnection);
        cn.Open();
        SqlCommand cmdGet = new SqlCommand(sqlQuery, cn);
        DataTable dtGet = new DataTable();
        dtGet.Load(cmdGet.ExecuteReader());
        cmdGet.Dispose();
        cn.Dispose();

//This line we changed in 2016 because just setting the this.datasource would no longer reference the current report
        (sender as Telerik.Reporting.Processing.Report).DataSource = dtGet;
        //this.DataSource = dtGet;
      }

 

Now I need to access the parameter through the sender object. If I leave it the way it is currently the parameter is blank. Is this something that has been done intentionally? If so why isn't an email or something sent out about it or adding it into the whats new? 

Katia
Telerik team
 answered on 23 Mar 2017
1 answer
226 views
Hello

We use the Legacy ASP.NET Reportviewer (Q1 2015).

We are experiencing problems with low memory on the server due to large amount of reportviews/high user sessiontimeout.

Is it possible to set a ClientSessionTimeout for the legacy ASP.NET reportviewer? 
If not, is it possible to disable the reporting cache?

We do not wish to migrate to the HTML5 viewer just yet.

Regards
Mark
Katia
Telerik team
 answered on 23 Mar 2017
7 answers
450 views

Hi,

Having issues trying to remove time formatting from the x-axis 'category label format. Tried several formats but don't see a change on the outputted report - always showing my category dates as date WITH the time. STUPID! have already spent too much time on this & will take at least another day to get an answer, assuming no further info is required.

​

Shiwani
Top achievements
Rank 1
 answered on 23 Mar 2017
3 answers
306 views

Hi,

I created a report with table, in output the report is showing a line after table which is not expected, i tried to remove the line by setting the bottom edge of table "none" in detail sectionand and also by setting the 

top edge of page footer section= "None" , but by using both the way i am not getting my expected output on the report.

please refer the attached image.

Katia
Telerik team
 answered on 22 Mar 2017
3 answers
590 views
Hi everyone.

Can I export the report on the server programmatically?
I've read a KB below. It could export the report to pdf on client side.
http://www.telerik.com/support/kb/reporting/styling-and-formatting-reports/details/exporting-a-report-to-pdf-programmatically

My goal is sending an email with an attachment of pdf exported by a report programmatically.

Thanks in advance.
Stef
Telerik team
 answered on 22 Mar 2017
7 answers
1.4K+ views

Hi,

I'm implemented a ReportViewer HTML5 on my page, but some clients the report trigger a error.

 

1.Unable to get report parameters.
2.Client with ID - 'XXXXXX-XXXX' not found. Expired
3. 
4.and
5. 
6.Error creating report instance (Report = <Proyect>.<ReportName>, <Proyect>, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null).
7.Client with ID 'XXXXXX-XXXX' not found. Expired.

 

I found this post with same error but the user not post a solution: Getting Error Client with ID - 'XXXXXX-XXXX' not found. Expired 

I appreciate your prompt help

 

PD: I can't upload Screenshots for security restrictions on my work

 

Best regards

Stef
Telerik team
 answered on 22 Mar 2017
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?