Telerik Forums
Reporting Forum
2 answers
245 views

Hello,

I had a report in my application that was working fine, but suddendly it started displaying the following message:

Unable to get report parameters. An error has occurred. Cannot read a document with the specified schema: http://schemas.telerik.com/reporting/2023/1.0. You might be using an older version of the product.

Does anyone has ever seen that?

Regards,

Alexandre

 

 

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 24 Jun 2023
1 answer
348 views

Hi,

I use the telerik reporting version: 15.2.21.1125 .NET Core 6 MVC.

The service is working correctly, but there are errors in the logs.

And sometimes when I click to generate a report, I get this error.

 

RequestPath: /TelerikReporting/Report/clients/f06d6c18a51/instances/d88f958a6a9/documents

Exception.StackTrace:

{
  "ClassName": "System.NullReferenceException",
  "Message": "Object reference not set to an instance of an object.",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "HResult": -2147467261,
  "HelpURL": null,
  "Depth": 0,
  "Source": "Telerik.Reporting",
  "StackTraceString": "   at Telerik.Reporting.Services.Engine.ReportEngine.CreateDocumentCore(ReportInstance instance, Refresh refresh, String format, Dictionary`2 deviceInfo, ReportDocumentState rds, String clientID)\n   at Telerik.Reporting.Services.Engine.ReportEngine.CreateDocument(String clientID, String instanceID, String format, Dictionary`2 deviceInfo, Boolean useCache, String baseDocumentID, String actionID)\n   at Telerik.Reporting.Services.AspNetCore.ReportsControllerBase.CreateDocument(String clientID, String instanceID, CreateDocumentArgs args)\n   at lambda_method473(Closure , Object , Object[] )\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"
}

I would be grateful for your assistance.

Dimitar
Telerik team
 answered on 22 Jun 2023
1 answer
138 views

Hi,

We already have a licence for the 2023 Telerik Reporting licence. However, since our application uses R3 2017 Telerik Reporting, I wanted to install that instead. However, it keeps on installing the 2023 version. Could you please tell me where the R3 2017 version is and the link to download this particular version. 

Iva
Telerik team
 answered on 21 Jun 2023
1 answer
145 views

We have a report which has a List element in it.

The whole report is bound to a .NET list of a data-class. The class has a property which is .NET list of a different data-class. 

For some reason, this List is adding extra "empty" items at the end of our actual data.

For example,

In the above screenshot, the list to which the List is bound, has only 4 items (the red arrow is where i'm putting out the dataList.Count).

Yet you can see that after putting out the 4 valid data items, it then added two additional empty items with no data in them ($0 by 1/1/1).
Why it is adding extra items that are NOT in the dataList, and how do we get it to stop that? Those last two items should just be empty, nothing there, no text. So the List SHOULD be generating an output that looks like this:

Momchil
Telerik team
 answered on 21 Jun 2023
1 answer
117 views

In SSRS, I can give names to my expressions to help developers find what they're looking for. Instead of showing "Expr=blahblah," I can change the label to something like "GrandTotal" while working on the design.

I'm wondering if there's a similar option in the Telerik Visual Studio designer. We're thinking of moving 70 reports to Telerik, but if the design view only displays the expression and sometimes only partial context, like "[=Count(" for example, it could cause a big problem for development.

Thank you,
Evan

Dimitar
Telerik team
 answered on 20 Jun 2023
1 answer
190 views

Hi,
 I am working on a ASP.NET Core (.NET 6) web application with the main report UI using the HTML 5 viewer, working from the REST service controller.

We also require automated report exporting to run at scheduled times with predefined parameters (to be stored and emailed). SQL datasource(s) and engine settings will be the same as used in the reports controller.

Please can you advise on the best approach to process and output export files from the server-side application code.

It looks like I need to use the ReportProcessor class, but not sure how to make use of "engine" config...

 

Further application detail and problem encountered:

I have implemented the EF Core based report storage example and have a custom function assembly, used in most reports.

The IReportSourceResolver is provided along with the engine configuration - connections strings and custom function assembly reference - in a ReportServiceConfiguration instance for the ReportsController.


I believe that ReportProcessor does not somehow obtain the IReportServiceConfiguration the REST controller has injected.

There is no issue running code in a background job (eg. Quartz.NET):

  • loading a report instance with the IReportSourceResolver implementation
  • using code based on this example to set SQL datasource connection strings
  • using ReportProcessor.RenderReport().

This has worked fine for a little while, but the ReportProcessor seems to no longer find and load the custom assembly - though I'm sure it is output to the build location (and has had no recent changes).

Thanks.



1 answer
541 views

We have  reports designed in Telerik web report designer . Report will be displayed in HTML5 report viewer.  Report can be exported to excel. Issue is, while exporting, some cells in the excel are getting merged automatically.

Is there any way to prevent this?

Following is a sample report exported as excel from viewer. It has a header section and data populated in the detail section using table wizard. But in excel the marked cells seems like merged. Each table column need to fit in one column. Anything to do while designing reports?

Nikolay
Telerik team
 answered on 19 Jun 2023
1 answer
333 views

Hi,

I use the telerik reporting for our GIS platform.

I define two items:

  • on my GIS textarea(regular text) and editor(save HTML code) -  see in_editor.png file
  • on Telerik report designer I insert HTML text box and Texty box, culture=he   -  see in_Telerik Report Designer.png file

You can see results in result.png file.

I suggest culture=he does not work for HTML text box.

By the way, I see in the fields where I saved values I look

  • textarea  - "אאאאאאאאאאאאאא 100 בבבבבבבבבבבבב"
  • HTML  - "<p style="text-align:right;">אאאאאאאאאאאאאא 100 בבבבבבבבבבבבב</p>"

Pay attention, in HTML text box blanks disappeared.

Without numbers HTML text box works fine !!! See result_ok.png

I hope somebody helps me?

Thanks

Yuri

 

 

 

Dimitar
Telerik team
 answered on 16 Jun 2023
1 answer
225 views

I'm pretty new to Telerik Report Designer, and I could use some help. Let me also preface this by saying, I'm looking for a solution that doesn't require code, and only uses the tools available in Telerik itself (if such a solution even exists).

I'm working on a report to calculate the number of vacant beds in living spaces. To do so, I'm getting the difference between the total number of beds and the number of residents.

The problem is, the data for getting the number of beds and the data for getting the number of residents are in two different Data Sources... so, I can't use an expression to calculate the difference, as I can only use the Data Source that's bound to the report for expressions. I have been able to use tables to display both values, but the fact remains, I can't calculate the difference between them.

I know I can set one of the values as an invisible parameter, but the problem with that is, that value becomes fixed, and is the same for every living space in the report, when I need it to be different for each one.

Does anyone know of a solution to this? Again, one that doesn't require code.

Thanks in advance.

2 answers
944 views

i have website built with telerik tools when i deploy it in azure service it work fine , but when i built my own server with windows server 2019 all website work well except report viewer not showing reports. i use Fiddler jam to trace the problem but can't understand the output the following link https://jam.getfiddler.com/sessions/9f5a7b05-843b-4af5-98b5-c03114e3f700?t=587433717443c9c10eeb06fb6e2c60644c8065cecb4332d81c2e8853c619228b057b5a9f3b84f54a98b5c03114e3f700

the other ver which run in Azure service make deffiernt output in Fiddler jam : 

https://jam.getfiddler.com/sessions/16b8e346-d884-4a87-b9db-512619933502?t=6d25ac1629c9c2481948bea862f1f9bb4faeeae1bd0f881c8f0a5668b91373a046e3b81684d8874ab9db512619933502

i hope you can help me in this issue

khaled
Top achievements
Rank 1
Iron
 answered on 10 Jun 2023
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?