Telerik Forums
Reporting Forum
1 answer
222 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
933 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
496 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
753 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
808 views
with `<TargetFramework>netcoreapp3.1</TargetFramework>`?
raresky
Top achievements
Rank 1
 answered on 20 Apr 2021
1 answer
100 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
113 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.5K+ 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
5 answers
796 views

Hello,

In our company, we have a lot of Telerik reporting templates, created with the visual studio designer tool and used for generating PDF.

These reports contain several cultures support (localization) and images. We also have custom c# code in several events (ex: NeedDataSource event)

We are migrating to .net core all our projects.

I’ve tried a fist attempt to migrate to .net core, but I faced several issues:
-The designer doesn’t work, but it’s “normal” as noted here…: https://docs.telerik.com/reporting/ui-report-designer
-Localization doesn’t work. Surely linked to resource management change in .net core.
-I had to remove images from the report template to avoid exception at runtime (because the designer embeds them into resx file)

Before digging in more, Which is the best recommended way to migrate legacy report to .NET Core ? (And still have localization and custom code on events)

When the .net core designer will be available?

Thanks in advance,

Neli
Telerik team
 answered on 16 Apr 2021
4 answers
1.1K+ views

Hi everyone,

I have a value with format: <div> Hello world! Just bonus some special chars: < > & ! </div>

Expected result: Hello world! Just bonus some special chars: < > & ! 

I've tried to use the HtmlEncode but it displays as "<div> Hello world! Just bonus some special chars: < > & ! </div>"

Can you guys support this issue?

Using Telerik Report Designer and programming language C#

Thanks,

 

Hung
Top achievements
Rank 1
 answered on 16 Apr 2021
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?