Telerik Forums
Reporting Forum
3 answers
1.2K+ views
Hi,

I have a problem with some reports that I generate through ASP.NET using Telerik Reporting. The size of reports are way too big, I have searched on the previous threads started here and have tried what they suggested but no real gain was noticed.

I have a main report with various sub reports.

In total the PDF is about 18 - 20 pages, containing mostly text, with the exception of about 12 images.

I already added code in the ASP.NET application to reduce the size of the images before it gets saved to the SQL Server.

I also dont embed the fonts as per some of the previous questions asked here.

However I still have reports that range from 8 - 14 Megabytes.

I need this much much smaller.

I am using Q2 2013 SP1 version for reporting.

Todor
Telerik team
 answered on 21 Apr 2021
1 answer
412 views

Hello!

I am migrating reports from .Net Framework 4.5.2 to .Net Core 3.1. I've been having issues with the report designer within Visual Studio as it seems not to work. I've been trying for a while, with different libraries/dlls but no success. The reports do work on Core, the only problem seems to be the VS Designer. We really don't wanna switch to some other designer to edit out existing reports so if possible we'd like to use it the same way that we've been using it till now. The image with the error is attached. How would we go about fixing this? Is it even possible? Thank you for answer in advance!

Best regards,
Denis

Todor
Telerik team
 answered on 21 Apr 2021
1 answer
270 views

Visual studio 19 throws error “Error HRESULT E_FAIL has been returned from a call to a COM component” on adding reference in web forms project.

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 21 Apr 2021
2 answers
1.0K+ views

Hi All,

I follows  this link https://docs.telerik.com/reporting/telerik-reporting-rest-service-aspnetcore-net5 to try

hosting Hosting Telerik report ( 2021 R1) in Net 5  but have error

" CS0117: ReportServiceConfiguration does not  contained a definition for ''ReportingEngineConfiguration "

when Configure dependencies for ReportsController. in Startup.cs file :

public void ConfigureServices(IServiceCollection services)
{

........

            services.TryAddSingleton<IReportServiceConfiguration>(sp =>
                new ReportServiceConfiguration
                {
                    ReportingEngineConfiguration = ConfigurationHelper.ResolveConfiguration(sp.GetService<IWebHostEnvironment>()),
                    HostAppId = "Net5RestServiceWithCors",
                    Storage = new FileStorage(),
                    ReportSourceResolver = new UriReportSourceResolver(
                        System.IO.Path.Combine(sp.GetService<IWebHostEnvironment>().ContentRootPath, "Reports"))
                });

}

Please help me to fixed this !

Ths

Tuan
Top achievements
Rank 1
 answered on 21 Apr 2021
6 answers
567 views

I'm using external style sheets in my reports. Report designer uses style sheet file with absolute path. See the example of external style sheet from report xml definition below.

  <ExternalStyleSheets>
    <ExternalStyleSheet Kind="Absolute" Path="D:\Shared\2020R1\Marvin's Vision Reports\StyleSheet.xml" />
  </ExternalStyleSheets>

I import the reports in our project and then I store style sheet file beside the report file. When I run and show a report, external style sheet file may not be found because it's using absolute path as you see from the example above. 

How can I programmatically change my report(running report)'s ExternalStyleSheet to set Url kind to relative path instead of absolute path? and how to reset Path attribute to just file name programmatically?

Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 21 Apr 2021
3 answers
805 views

Hi,

 We are running Telerik Reporting R1 2017. The report viewer takes around 10 minutes to render the processed report data by using ObjectDatasource with around 70000 rows even if we use paging. So we are trying to reduce the rendering time.
 
Is that possible to reduce the rendering time? If yes, How do we do that?

Thanks

Neli
Telerik team
 answered on 20 Apr 2021
8 answers
875 views
with `<TargetFramework>netcoreapp3.1</TargetFramework>`?
raresky
Top achievements
Rank 1
 answered on 20 Apr 2021
1 answer
133 views
We started to have a very large volume simultaneously to generate the same report and this is causing an increase in the CPU. Would I have some way to better manage orders?
Todor
Telerik team
 answered on 20 Apr 2021
1 answer
146 views

I have two report parameters, one for date, another for Sales Rep. They are visible, and I am using them to filter the report. I can add the first date filter to the Crosstab, but when I add the second filter to the Crosstab, I get an error for the operator. I changed to from "=" to "Like", because it is a string, but that did not resolve the issue. What I am doing wrong?

Error: "An error has occurred while processing Table 'Cosstab1': Cannot perform '=' operation on System.String and System.Object[]."

Michael
Top achievements
Rank 1
Iron
Iron
 answered on 19 Apr 2021
2 answers
3.7K+ views

Hi,

 

We have a issue when generate a report in the report viewer with a timout, see below. I have tried to set multiple timout settings in IIS and Web.config but nothing helps. The strange thing is the query in the SQL database doesn't take more then a minute, so it seems like a connection issue between the application server and the database server. It is quite a lot of data, so maybe that is the issue?

 

 

Request timed out.
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: System.Web.HttpException: Request timed out.

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:

[HttpException (0x80004005): Request timed out.]

Todor
Telerik team
 answered on 19 Apr 2021
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?