Telerik Forums
Reporting Forum
0 answers
128 views

Hi, in my Angular 13 Projet I add the ReportViewer. Work well with the "online" Telerik REST service like with the CLI provided demo.

But on my .Net Core Rest service I got a 404 not found on :


 

If I use the clientId received by the viewer and try the same POST in Postman, I got no error and the response got Parameters [] (I test with Barcodes report that do not have anay parameters.

Why the viewer got a 404 Not found in the network tab?

In the viewer the error is:


Unable to get report parameters.
Report 'Barcodes%20Report.trbp' cannot be resolved.

 

EDIT:

Testing directly in the CLI Telerik Demo and I got the same error. Using the Telerik Demo and online REST Telerik service:

 

<tr-viewer #viewer1 
    [containerStyle]="viewerContainerStyle"
    [serviceUrl]="'https://demos.telerik.com/reporting/api/reports/'"
    [reportSource]="{
        report: 'Barcodes Report.trbp',
        parameters: {}
    }"
    [viewMode]="'INTERACTIVE'"
    [scaleMode]="'SPECIFIC'"
    [scale]="1.0"
    [ready]="ready"
    [viewerToolTipOpening]="viewerToolTipOpening"
    [enableAccessibility]="false">
</tr-viewer>

Pierre
Top achievements
Rank 2
Iron
Iron
 updated question on 01 Dec 2021
0 answers
507 views

Error loading the report viewer's templates. (templateUrl = 'domain-name/api/reports/resources/templates/telerikReportViewerTemplate-15.2.21.915.html/').

Facing this issue , application is in angular and .net 

Amit
Top achievements
Rank 1
 asked on 01 Dec 2021
1 answer
155 views

Hi

I have an old license 2017 telerik reporting can i use it with Blazor ?

Regards

1 answer
390 views

I have attached the screenshot of the code and error after upgrading to the new report version "Reporting_R3_2021_SP1_15_2_21_1110"

I am not sure if there is a new syntax that need to be changed with .Net6.0 and the new version of Telerik report?

 

Thanks

Todor
Telerik team
 answered on 01 Dec 2021
1 answer
490 views

Goodmorning i have a site developed in .NET 5 that renderize some .trdp report, i compile that report using a stored procedure in my database, actually i pass it my connectionstringstring using the file appsetting.json of my website, but i need to dinamically pass the connectionstring to my SQL DataSource item in my report (maybe using a report parameter?), how can i do that?

i leave you some screen for better explanation.

This is the SQLDataSoruce of my report

this is the appsetting.json file of my website

this is how i pass parameters from a webPage to the report

let me nknow if i was clear or if it possible do what i ask.

Best regards

1 answer
199 views

I don't understand the issue please guide some one here is pdf link please check it

https://drive.google.com/file/d/1XHSSO4x8yQop2z2V8tpzoJl02zK-LMd6/view?usp=sharing

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 26 Nov 2021
1 answer
1.2K+ views

I have names. I want to set unique name as:  (name + ', ' + name + ', ' + ....) for text box value. This sql query work in my machine, but not work in telerik report designer, error message: 

The variable name '@myParameter' has already been declared. Variable names must be unique within a query batch or stored procedure.

 

DECLARE @myParameter VARCHAR(max)

SELECT @myParameter = COALESCE(@myParameter + ',', '') + g.[Name]
FROM [dbo].[NotificationEX] AS n
LEFT JOIN [dbo].[NotificationEXPurchaseMetods] AS m ON m.[ID] = n.[PurchaseMetod]
LEFT JOIN [dbo].[NotificationEXPurchaseMetodGroup] AS g ON g.[ID] = m.[Group]
WHERE [Placer] = 76875 AND [Status] IN (4, 14) AND [PublishedDate] >= GETDATE() - 365
GROUP BY g.[Name]

SELECT @myParameter 

 

This not help for my script: https://docs.telerik.com/reporting/knowledge-base/how-to-use-local-variables-in-a-sql-query-used-by-the-sqldatasource-component

Dimitar
Telerik team
 answered on 26 Nov 2021
1 answer
703 views

Hi,

Web Service Data Source has parameters as you can see from the picture below. We can define design-time value for the parameters. The design-time values help us during designing our report (for example, we can see selected properties from standalone & web report designer). In our case, we also need to modify some report programmatically, we need to create new web service data source or update existed one. 

  The question is how to set design-time value for a parameter of web service data source programmatically? 

Dimitar
Telerik team
 answered on 25 Nov 2021
1 answer
504 views

Hi,

We have upgraded our Telerik reporting version to 15.1.21.616 and we are using the Upgrade Wizard to update all the telerik assemblies in the project. When we called /api/reports/formats, below error occurs:

 

"ExceptionMessage": "Multiple actions were found that match the request:  Formats on type WebApi.Controllers.ReportsController GetClientsSessionTimeoutSeconds on type WebApi.Controllers.ReportsController", "ExceptionType": "System.InvalidOperationException",
"StackTrace": "   at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.Controllers.ApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"

 

Once we downgrade back to 15.0.21.224, the error gone.

Please help. Thank you.

 

 

Dimitar
Telerik team
 answered on 25 Nov 2021
0 answers
399 views

Good morning
I have to print a report already created with telerik report designer through a c # application, I looked at the guides but I can't print using the ReportProcessor.PrintReport method.
also is it possible to pass a json file when I start printing with the various data?
Mattia
Top achievements
Rank 1
 asked on 25 Nov 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?