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.
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
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?
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
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[]."
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.]
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,
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,