Telerik Forums
Reporting Forum
1 answer
830 views

Hi.

I have a problem with Telerik Reporting.

Everything works fine when working under a Visual Studio instance, but when I make a deploy to my IIS Server it sends me the error that the parameters cannot be obtained. I install on my server Telerik Report Designer R2 2017 and Fiddler to catch the error.

{"message":"","exceptionMessage":"Report '%7B%22ReportType%22%3A1%2C%22Id%22%3A%22c5c93e92f97d409a8c73fd0dd7eef3cc%22%7D' cannot be resolved.","exceptionType":"Telerik.Reporting.Services.Engine.InvalidReportException","stackTrace":"   in Telerik.Reporting.Services.Engine.ReportEngine.ResolveReportSource(String report)\r\n   in Telerik.Reporting.Services.Engine.ReportEngine.GetParameters(String clientID, String report, Dictionary`2 parameterValues)\r\n   in Telerik.Reporting.Services.WebApi.ReportsControllerBase.GetParameters(String clientID, ClientReportSource reportSource)\r\n   in lambda_method(Closure , Object , Object[] )\r\n   in System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)\r\n   in System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   in System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n   in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   in System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()"}
Dimitar
Telerik team
 answered on 13 Nov 2020
1 answer
178 views

Hello Admin,

 

I would like to install Telerik Reporting in silent mode without user intervention, i did search through the documentation and help but was not able to find it.

Is there any noninstall i.e. zip file which can used to install the same and other steps that needs to be performed once the zip has been extracted.

 

Thanks

Piyush

 

Neli
Telerik team
 answered on 13 Nov 2020
1 answer
615 views

Error: Incorrect version. The target project is using different Telerik Reporting version. Before adding this the project should be upgraded with the Upgrade Wizard or you should choose item template for the correct Telerik Reporting version

I have followed all the suggestions.  I have used the upgrade wizard.  I've made sure the .vbproj file has the correct version which is 14.2.20.916 by the way.  I have made sure the config file is correct.  

I understand wasting time when I can't figure something out, but this stupid stuff drive me nuts.  There is no reason for it.  No one seems to be able to get reports and report viewers right.  Microsoft's is a heaping pile of misery, and I'm about to throw Telerik's right on top of it on the pile. 

Todor
Telerik team
 answered on 10 Nov 2020
2 answers
111 views

Hello,

MyMasterReport contains 3 subreport
in the report Master I have MyMasterReport.Datasource = MyModelClass

I wold like to have this:

subreport1.Datasource = MyModelClass.List1  //List1 is a property of my class MyModelClass and is a List<myObject1>
subreport2.Datasource = MyModelClass.List2  //List2 is a property of my class MyModelClass and is a List<myObject2>
subreport3.Datasource = MyModelClass.List3  //List3 is a property of my class MyModelClass and is a List<myObject3>

so, I create MyModelClass with a lot of property, one for each datasource

I send MyModelClass  to master report, and it works:

-----------------------------

MyModelClass my_datasource_master = new MyModelClass();

master_report = new Reports.MyMasterReport();
master_report.Datasource = my_datasource_master;

--------------------------

 

How can I add MyModelClass.List1 to subreport1, etc... ?

In subreport1 I have just datasource, is myObject1 (and every subreport has indipendent datasource)

My problem is to link  MyModelClass property List1 to my subreport1 datasource.

As you suggest in your post "https://www.telerik.com/forums/set-subreport-datasource-programmatically", in MyMasterReport I create binding has the follow image, but the subreport items are empty

And after the InitializeComponent() how can I do? Can I passing a List of Object as Parameters?
------------
Help me please,
Thank you

Denis
Top achievements
Rank 1
 answered on 10 Nov 2020
1 answer
265 views

Hello,

I have a problem to add the Telerik report to existing MVC 5 web app.  Now the error is ReportAccts:1 Uncaught (in promise) Invalid clientID. I did try different approaches like scaffolding type of app, the manual one, with API and just regular MVC5 controllers but without success.

Here is the link to 7z archive which will be active for 7 days: https://fil.email/gmmr1MNl

This is simple MVC5 web project but without packages because the size of them is too big. I not found a similar one in the demo. When you run it please use the link: http://localhost:58810/Report/ReportAccts

Could you please help?

Andrey
Top achievements
Rank 1
Veteran
 answered on 09 Nov 2020
1 answer
135 views

Hi all 

 

am getting this log error but not extra information but seems to be within telereik 

 

Message :Object reference not set to an instance of an object. Stack Trace :   at Telerik.Reporting.Writing.TextLineWriter.WriteContent(DocumentWriter writer, VisualElement element, ElementPageInfo pageInfo, IPageClip pageClip)     at Telerik.Reporting.Writing.ContentItemWriter.Write(DocumentWriter writer, VisualElement element, ElementPageInfo pageInfo)     at Telerik.Reporting.Processing.ProcessingElementVisitor.Visit(LayoutElement element)     at Telerik.Reporting.Writing.DocumentWriter.Telerik.Reporting.Writing.IWriter.WriteStartElement(VisualElement element, ElementPageInfo pageInfo)     at Telerik.Reporting.Paging.PageElementLayer.AddToPage(IPageHandler handler)     at Telerik.Reporting.Paging.PageElementManager.AddToPage(IPageHandler handler)     at Telerik.Reporting.Paging.PageCompositionBase.SendPhysicalPages()     at Telerik.Reporting.Paging.PageCompositionBase.OutputPage()     at Telerik.Reporting.Paging.PageCompositionBase.CreatePages()     at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)     at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)     at Telerik.ReportViewer.WebForms.ReportExportOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)     at Telerik.ReportViewer.WebForms.ReportExportOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext)     at Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride()     at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0()     at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 06 Nov 2020
5 answers
453 views

Their is multiple textbox whose vertical spacing remove and set border to some textbox for show some space in between two  then below text is cutoff.

and  I do not want to remove that boarder or want some space in between two how can I solve it ? and If some textboxes are visible false the donot want that empty space on report. Please Help me to solved it.

 

 

Mads
Telerik team
 answered on 06 Nov 2020
2 answers
332 views

I am looking to execute a stored procedure after a report has finished rendering. 

Scenrio:

Using HTML5 Report Viewer and dynamically passing the report to open in the viewer. Not all reports will execute a stored proc after report completes rendering.

If familiar with Oracle Reports this would mimic the functionality of an After Report Trigger..

Is there anyway using .net core C# code to do this in a library ?

Michael
Top achievements
Rank 1
 answered on 06 Nov 2020
2 answers
1.0K+ views

Hi,

In my angular program, I am using kendo-angular-upload to allow user upload multiple PDF files or images then uploaded file details (file name, extension, size, content type, file content) are save into database. The file contents are saved in byte array format.

I need a "Print All Files" button to combine all uploaded documents (can be combination of PDF files / images) then user can download / print in one click. So I am thinking to generate all uploaded document in one Telerik Report and user can view / download / print from there.

Below are my questions:

> Is there any way I can generate report from byte array? If can, kindly provide example.

> Is there any way I can combine multiple records of byte array into 1 report? If can, kindly provide example.

Thank you.

Todor
Telerik team
 answered on 06 Nov 2020
5 answers
262 views

Stand Alone Q2 2016

We need to include a value from the first data set record in the page header of reports.  In other report writers (Crystal) you siply put the field into the header and the value in the first record shows up file.

In Telerik it looks like we need to use pageExec and reference a scope.  I am using the following expression in a text field in the header and it is showing up in the report fine.  The scope "ReportHeaderName" is the label of another text field located in the table that is in our detail section. 

[=pageExec("ReportHeaderName",first(Fields.ReportHeaderName))]

The problem I am having is that the field does not get exported to Excel. 

How do I resolve the problem?

Neli
Telerik team
 answered on 06 Nov 2020
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?