Telerik Forums
Reporting Forum
2 answers
223 views

Any suggestions on how to figure out why a report will never finish processing when deployed to a web farm, but works great on my local machine?

When the c# web app with the Telerik REST service setup with it runs on the web server there are no errors displayed. In Fiddler the ReportViewer keeps waiting for the report to finish processing and just returns the 202 Accepted response nonstop. On my localhost it will return 200 OK and render the report catalog properly.

GET  /api/reports/clients/{clientId}/instances/{instanceId}/documents/{documentId}/info

http://docs.telerik.com/reporting/telerik-reporting-rest-documents-api-get-document-info

http://docs.telerik.com/reporting/t-telerik-reporting-cache-mssqlserverstorage

 

Lucas Boshoff-James
Top achievements
Rank 1
 answered on 29 Jan 2018
1 answer
131 views

Here is our scenario:

 - We have a report .trdp that the HTML5 viewer requests

 - The report data source is an ObjectDatasource with a single method GetData(ParamType1 Param1, ParamType2 Param2, etc.)

 - When we view a report in the HTML5 viewer, our GetData method gets hit many times.  The data should only need to be retrieved once.

 - We think part of the problem is that we have Report Parameters where the AvailableValues are set the the ReportResults ObjectDataSource.

 - After hours of investigation we have not found how to fetch the data once, and use that data to populate the report DataItems and Parameter Filter Values.

 

Consider this data set: 

{ createdBy: "McKay", result: "Satisfactory", team: "Pacific" },

{ createdBy: "Johnny", result: "Satisfactory", team: "Arctic"},

{ createdBy: "McKay", result: "Unsatisfactory", team: "Antarctic"}

 

Our rendered report shows all of the above data items,

And the filter section next to the rendered report shows all permutations of the parameters based on our data source: 

 

CreatedBy:

    McKay

    Johnny

Result:

    Satisfactory

    Unsatisfactory

Team:

    Pacific

    Arctic

    Antarctic

 

Is there a way we can achieve this same result without hitting the database more than once?

Todor
Telerik team
 answered on 29 Jan 2018
2 answers
568 views

Hello,

Is there any way by which we can apply validations on report parameter.

Like Start date should be less than End Date.

Length of a string type parameter should not be greater than 8.

 

Thanks

Vasudha

 

 

 

Kulasegaran
Top achievements
Rank 1
 answered on 29 Jan 2018
3 answers
250 views
Our services are authenticated via an auth cookie that must be sent on every request. How can I attach the cookie to the http requests coming from the WPF report viewer?
Todor
Telerik team
 answered on 26 Jan 2018
1 answer
189 views

I want to know if there is a way to format all decimals without making changes in reports and selecting every other textboxes?

Thanks in advence!

Silviya
Telerik team
 answered on 26 Jan 2018
1 answer
141 views

I am attempting to add an EntityDataSource for a DbContext that lives in an assembly outside of the one the report resides in.

I get the following error during the "Choose a context (DbContext or ObjectContext)" step of the wizard:

"Unable to resolve the context. Try to restart Visual Studio and check you data model".

Is it possible to add an EntityDataSource for a context in another assembly?

Todor
Telerik team
 answered on 25 Jan 2018
5 answers
213 views

I have used the deprecated reportviewer in web forms in the past and it has been great. When I tried to create my first HTML5 Web Forms Report Viewer I followed the instructions here http://www.telerik.com/help/reporting/webforms-report-viewer-controls-embedding.html using the  Telerik HTML5 Web Forms Report Viewer item template.

However there were some errors reported in the log when the page was created. See attached screen shot.

Error: No class implementing System.Web.HttpApplication is available
Error: Fail to register Global.asax routes.​

I am not sure how to fix this.

Thanks.

 

Nasko
Telerik team
 answered on 25 Jan 2018
3 answers
534 views

I am migrating our solution to the new Visual Studio 2017 environment and also want to use source control in Visual Studio Team Services.

Building locally on my machine works fine. The build solution can be zipped and deployed to our clients server, but I want to make use of the VSTS deployment feature.

If I put my solution in VSTS and do a build I keep getting errors like:

licenses.licxlicenses.licx(1,0): Error LC0003: Unable to resolve type 'Telerik.Reporting.TextBox, Telerik.Reporting, Version=11.1.17.614, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'

And for some other controls as well.

.NET Framework 4.5.2

MVC 5

Terlerik Reporting 11.1.17.614

Al already added the referenced files for Teleri.Reporting to the project and set Copy Local to true.

 

Tom
Top achievements
Rank 1
 answered on 23 Jan 2018
5 answers
1.9K+ views
Dear Telerik Support,

  I have a problem with a table inside my reports. I have some data, that should be formatted in a table. First I used a lot of textboxes with no space between them and set the appropriate border properties to get a rectangle around the table and row separation inside it.

By doing it this way, I got the same problems like Jim on this Post. So I tried the suggested solution from Steve, but with no success (See attached picture image1.png). If I remove the horizontal borders (top and bottom), the vertical lines are rendered correct (see attached picture image2.png).

This behavior occurs in printing only (even paper or pdf). The Preview looks ok.

I use Telerik.Reporting Q2 2010 (4.1.10.714) on VS 2010 and Windows 7 Ultimate 64Bit .

Greetings
  Thomas
Nilima
Top achievements
Rank 1
 answered on 23 Jan 2018
1 answer
208 views

I have multiple reports that have boolean parameters where I use a binding to show/hide certain items on my reports.  

For example:  I have a boolean parameter called 'Hide Actions' that will show/hide a text box.  The binding on visibility is =IIf(Parameters.HideActions.Value = True, True, False).  

This has always worked for me.  But I recently upgraded to Reporting 2018 R2 and I am getting an error.

exceptionMessage:"An error has occurred while executing function GetData(). Check InnerException for further information."
exceptionType:"Telerik.Reporting.Expressions.InvalidExpressionException"
message:"An error has occurred."

I know this parameter is the issue because when I remove the parameter and binding on the text box, the report will work.  Is this a known behavior?

Your help is appreciated.

Katia
Telerik team
 answered on 23 Jan 2018
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?