Telerik Forums
Reporting Forum
0 answers
268 views

I am using the stand alone report designer with embedded connection string. Works fine.

I have a QA database and a Prod database, based on a QA bit report parameter I would like to use one or the other in the report, is that possible?

If not I believe I will need two identical reports, one QA one Prod with only a different connecting string.

I also know I can have the connection string external and presumably set it to what I want prior to loading the report file in a customer report resolver, but would that mean I cannot preview the reports in the stand alone designer (since there will be no embedded connection string)?

1 answer
564 views

Hello,

i have table in a report, the table has a row with data and an another row below, that is empty. I want to set the height of this row with expression, but i become an error: "Property value is not valid". 

Is there any solution?

Regards

Dimitar
Telerik team
 answered on 02 Jun 2022
0 answers
110 views

Hello,

getting error below; cannot find duplicate controller name? aby suggestion.

<Message>An error has occurred.</Message>
<ExceptionMessage>Multiple types were found that match the controller named 'reports'. This can happen if the route that services this request ('api/{controller}/{action}') found multiple controllers defined with the same name but differing namespaces, which is not supported. The request for 'reports' has found the following matching controllers: craigr_BPLACE.ReportsController craigr_BPLACE1.ReportsController</ExceptionMessage>
<ExceptionType>System.InvalidOperationException</ExceptionType>
<StackTrace> at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.SelectController(HttpRequestMessage request) at System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsyncInternal(HttpRequestMessage request, CancellationToken cancellationToken) at System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)</StackTrace>

 

 

Craig Roberts
Top achievements
Rank 1
 asked on 02 Jun 2022
0 answers
577 views

Hi, 

Currently working with Telerik reporting . how to Bind the MongoDB database collection to the Telerik Reporting ?

 


Thanks,
vrushali

vrushali
Top achievements
Rank 1
 asked on 01 Jun 2022
0 answers
581 views

We use Web service data source in a report which has long OData query. 
After adding filters, the OData query becomes too long. That's why it causes 404.15 error.

This is probably due to the limitation of maximum Url length in browsers. It is about 2048 characters (for IE). So there different limits for different browsers and web servers. https://www.geeksforgeeks.org/maximum-length-of-a-url-in-different-browsers/

To solve the issue probably we can use POST method in the web service data source instead of GET method. 

I have  "@url", "$select", "$expand" and "$filter" parameters set in the data source. How to use those parameters in body of the post request? And is it good solution?

As a sample report you can use attached report (TestProductReport.zip). The sample report has web service data source. The query in Service URL is short in this case, but we have long query in other report.

Getting error 400 when previewing the sample report. Any idea to fix this issue?

Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 01 Jun 2022
1 answer
370 views

Following the instructions on the the web site and the video for building a ASP ,NET CORE 5 app to host Telerik reporting using VS 2022.

When I paste in the block:

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"))
            });

I get: The name  ConfigurationHelper does not exist in the current context.

The suggested fixes do not seem right.  What do I need to include in the project  to use this?

Dimitar
Telerik team
 answered on 30 May 2022
0 answers
862 views

I have Telerik report created from visual studio report designer (.net v4.0). Now i want to convert it to .trdp file where I'm going to reuse it in different project.

but i was unable to convert it using telerik report designer.

when i use open option next button and finish button is disabled in import report wizard.

when i try to use new report option it does not have proper option to select from .net class library dll.

does anyone have any idea how to convert .net class library report to .trdp?

Mohanjana
Top achievements
Rank 1
 asked on 30 May 2022
1 answer
166 views

Just installed reporting, in VS 2022 vb..net I add a new item Telerik Report R2 2022 (Blank) and the designer opens with the "To prevent possible data loss...' message.

Value cannot be null. Parameter name instance

How do I resolve this error?

 

Kenneth
Top achievements
Rank 2
Iron
 answered on 28 May 2022
0 answers
153 views

Hello,

I have a report bound to a remote SQL Server, and when I try to run it from my developer machine I always get the same error:

I have tried to increase the timeout limit in the database connection but it made no difference.

Also, I am not being able to change connection strings from developer to production at runtime, wich could avoid this situation.

How should I proceed?

Alexandre

 

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 25 May 2022
0 answers
583 views

Hello,

I am trying to create a report with multi line text on a pre printed sheet of paper.

The problem is that I cannot set the line height of text and the result is not good (see the attached screenshot). If I increase the font to match the printed dot lines it looks enormous and still not good.

I tried the htmlTextBox but it does not seem to support style="line-height:1cm"

What are my options?

plig
Top achievements
Rank 1
 asked on 25 May 2022
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?