I have configured Asp.NET Core 5 IReportServiceConfiguration in DI for ReportsControllerBase with ReportServiceConfiguration.ReportingEngineConfiguration set to IConfiguration with custom IConfigurationProvider providing ConnectionStrings which can change in runtime so the provider notifies about configuration changes via IChangeToken.
But the updated ConnectionStrings are not propagated to the service.
To fix it, I have made this hack:
reportEngineConfigurationChange = engineConfiguration.OnChange(() =>
{
telerikConfigurationManagerReset();
configuration.ReportingEngineConfiguration = engineConfiguration;
});which listens to IConfiguration changes and calls TelerikConfigurationManager.Reset (via reflection) and sets configuration again.
It would be nice if this would be implemented on Your side, please.
Hello
I have problem with visual studio auto close when I'm working in reporting designer.
When I'm working in reporting designer and do about 5 changes, Visual studio freezes and after few monents is restarted and I loose all my work.
It is really frequented problem and I can hardly work with reporting designer.
In Windows Event Viewer I everytime find this exception that referes to problem in GetAggregateFunctions().
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Server stack trace:
at Telerik.Reporting.Processing.AggregateFunctionHelper.GetAggregateFunctions(IServiceProvider provider)
at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.<GetAggregates>d__1b.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.FillAggregates(Category funcCategory, IServiceProvider provider)
at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.CreateHierarchy(IServiceProvider provider, Boolean isFieldsTreeVisible)
at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.LoadCategories(IServiceProvider provider)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef)
at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog+LoadCategoriesDelegate.EndInvoke(System.IAsyncResult)
at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.OnLoadCategoriesComplete(System.IAsyncResult)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
The SVG image is not rendered correctly. A sample report and the SVG can be found attached.
The designer outputs as on the picture below which is not correct:
Background:
I create an ASP.NET Web Application - Empty. I add to it a Telerik HTML Report Viewer page. The wizard creates a new REST service with a sample report. Inside the Html5ReportViewer.html file is the line
<!--If Kendo is used it should be added before the report viewer.-->
<script src="/api/reports/resources/js/telerikReportViewer-15.0.21.326.min.js/"></script>
with a trailing / in the src attribute. This works perfectly.
Problem:
I have a ASP.NET Webforms website that displays reports from the Reporting web application. Pages that display a report also have this script tag. However, any time there is an update for the Reporting toolkit, if I use the Reporting Upgrade Wizard, (Visual Studio 2019 "Extensions" menu -> Telerik -> Reporting -> Upgrade Wizard) the script tags get updated with the latest version, but the trailing / in the src attribute is no longer there and the page breaks because the Javascript library is not loaded. Adding in the / fixes the problem. Is this intended behavior or a bug in the upgrade wizard?
1. Open report in the EUD.
2. Click "Export Template".
3. Select the open report and click "Next" and "Finish" to complete the wizard. The newly created template is visible in the User Templates as expected.
4. Click "Export Template".
5. Select the open report and click "Next" and "Finish" to complete the wizard. Warning is shown that this template exists. https://gyazo.com/91cac78640a551411c67df4abaecce78
6. Click "Yes" so that the template is replaced.
Internal Server Error. The operation was canceled is thrown in the viewert when the SVG contains
<?xml version="1.0" encoding="UTF-8"?>We pass Report Parameters as Strings and later convert them to Floats in the Report. This works fine on our production systems in Switzerland but fails on dev machines that use different system locales.
Hello,
I am receiving the TypeError: $kendoHtmlEncode error in an Angular Report Viewer with the SystemJS. I am also using a .NET Framework (4.6.2) WebApi based Reporting REST Service. See the following screenshot of the error.
Additionally, the Report Viewer UI is loading until the error is thrown and the report never loads as shown in the following screenshot.
Note that I am also using a separate process for running each project.
For additional reference, I have attached a sample that reproduces the error. See the following steps to run the sample locally.
Please let me know if you need any additional information. Thank you.
Dear Telerik,
We use Azure App Services to host the reporting engine API.
Azure App Services validate all incoming requests to ensure they come in with valid Bearer JWT tokens. Your suggested workaround of validating the tokens only on some requests in the application would require us to turn off built-in Azure validation, which elevates security risks.
Can you please ensure [authenticationToken] is added to ALL requests from the Angular tr-viewer to the API, not just some requests?
Please redesign the viewer to authenticate all its requests to the backend service. Including but not limited to the requests report viewer makes to download generated report documents as attachments by performing get document requests through window.open() or any other methods.
We appreciate your efforts to obfuscate such requests; however, these efforts need to be in addition and not instead of industry standard security practices.
Thank you very much,
Sergey Nosov
Sr. Integrator/Developer,
Calpine Energy Solutions
Not sure if you are aware of this but the new property SkipBlankPages in 2021/R1 will result in a corrupt (unopenable) PDF/XLS if the report contains no data.
The output used to be a blank report.
This behaviour is fixed by setting the Value to 'False' but this now requires the developer to remember to set this value on each new report. Perhaps the default should have stayed as 'False' and those who wish to remove blank pages could set it to true.
We are aware the property is set to true by default.
We have now had to modify (and subsequently retest) > 100 reports.
The generator should probably not create a 'corrupt' file in these cases.
Kind regards
When a textbox cannot fit on the current page and its Style.VerticalAlign is not set to Top, the textbox is pushed to the next page, although its KeepTogether property is set to false and its Value is null or empty.
This scenario usually happens when a textbox in a table grows vertically because the table contents also grow - it might be another nested table or any other data item. The solution is to either set the visibility of the textbox to false or set its Style.VerticalAlign to Top.
Currently, when using the Search widget in the WPF Report Preview the results highlight all of the text in the textbox that holds the matching search text. Although helpful, in cases where there is a long block of text it is less so.
It would be even more helpful if the search results highlighted only the text being searched, as can be seen in other apps, like browsers and document viewers.
The attached picture shows the current search widget, the interaction with the results and a report, and my requested change.