Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
Use XML Data Source for ReportViewer for UWP
Are there any examples of how to use an xml data source for ReportViewer for UWP?
SIGN IN To post a reply.
14 Replies
NK
Nanda Kumar Thangamani
Syncfusion Team
March 21, 2018 11:42 AM UTC
Hi Mark,
Thanks for your interest in Syncfusion Components.
Yes, you can use “Xml Data Source” and render the report in our UWP Report viewer. We have prepared sample based on this, it can be downloaded from below location.
Regards,
Nandakumar T
MW
Mark Wilson
March 21, 2018 10:01 PM UTC
Thank you for the response. The RDLReportSample you reference is a VS 2015 project using namespaces that have been deprecated. Do you have a current example that builds?
PR
Padmini Ramamurthy
Syncfusion Team
March 22, 2018 04:35 AM UTC
From: Mark Wilson
Sent: Wednesday, March 21, 2018 11:22 AM
To: Syncfusion Support <[email protected]>
Subject: RE: Syncfusion support community forum 136548, Use XML Data Source for ReportViewer for UWP, has been updated.
Sent: Wednesday, March 21, 2018 11:22 AM
To: Syncfusion Support <[email protected]>
Subject: RE: Syncfusion support community forum 136548, Use XML Data Source for ReportViewer for UWP, has been updated.
Kind Regards
Mark Wilson
NK
Nanda Kumar Thangamani
Syncfusion Team
March 22, 2018 01:03 PM UTC
Hi Mark,
Sorry for the inconvenience.
The previously shared application runs with locally installed assemblies, the error might be occurred due to the assemblies not installed locally. We have prepared a sample with nuget reference, rebuild your application to restore and run at your end. The application can be downloaded from below location.
Also, please find the below MSDN link for creating embedded XML datasource in report.
Regards,
Nandakumar T
MW
Mark Wilson
March 28, 2018 09:12 PM UTC
When I try to build the sample you refer to I get a number of nuget errors like this one:
Error NU1102 Unable to find package Syncfusion.SfReportViewer.UWP with version (>= 16.1.0.26)
- Found 1 version(s) in nuget.org [ Nearest version: 16.1.0.22 ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages
Does your sample pull nuget packages from a private source?
NK
Nanda Kumar Thangamani
Syncfusion Team
March 29, 2018 12:16 PM UTC
Hi Mark,
Sorry for the inconvenience.
In our previous update we have missed to share the nuget feed URL details. We request you to configure the nuget feed URL in the application to resolve this problem. Please refer the below link for configuring the nuget.
Regards,
Nandakumar T
MW
Mark Wilson
March 29, 2018 05:12 PM UTC
Thank you for your response. It seems the ups project can now find the nuget packages but the ReportServerSample cannot. There are 16 build errors. The first is
Error NuGet Package restore failed for project ReportServerSample_2015: Unable to find version '16.1.0.26' of package 'Syncfusion.AspNet.Mvc5.ReportViewer'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Syncfusion.AspNet.Mvc5.ReportViewer.16.1.0.26' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
https://api.nuget.org/v3/index.json: Package 'Syncfusion.AspNet.Mvc5.ReportViewer.16.1.0.26' is not found on source 'https://api.nuget.org/v3/index.json'.
http://nuget.syncfusion.com/nuget_universalwindows/nuget/getsyncfusionpackages/universalwindows: Failed to fetch results from V2 feed at 'http://nuget.syncfusion.com/nuget_universalwindows/nuget/getsyncfusionpackages/universalwindows/Packages(Id='Syncfusion.AspNet.Mvc5.ReportViewer',Version='16.1.0.26')' with following message : Response status code does not indicate success: 500 (Internal Server Error).
Response status code does not indicate success: 500 (Internal Server Error).
https://help.syncfusion.com/aspnet/nuget-packages#get-the-syncfusion-nuget-feed-url: Failed to fetch results from V2 feed at 'https://help.syncfusion.com/aspnet/nuget-packages#get-the-syncfusion-nuget-feed-url/Packages(Id='Syncfusion.AspNet.Mvc5.ReportViewer',Version='16.1.0.26')' with following message : Response status code does not indicate success: 406 (Not Acceptable).
Response status code does not indicate success: 406 (Not Acceptable).
VS
Vinoth Srinivasan
Syncfusion Team
March 30, 2018 05:01 AM UTC
Hi Mark,
We can see that you have used the help link URL as nuget feed for the ReportServerSample(WebAPI service sample), so we request you to use the below ASP.NET nuget feed URL to resolve the problem.
Also, we have prepared a modified sample for your reference please find the sample from the below location. Restore the nuget with feed URL to run the sample.
Regards,
Vinoth S.
MW
Mark Wilson
April 1, 2018 11:13 PM UTC
Thank you for the update. The project you refer to now builds on my dev machine. However when it runs MainPage shows "An error occurred while sending the request". No report displays. Screenshot attached
Attachment: SyncfusionReportSample_84fc4226.zip
Attachment: SyncfusionReportSample_84fc4226.zip
NK
Nanda Kumar Thangamani
Syncfusion Team
April 2, 2018 10:24 AM UTC
Hi Mark,
We have validated the shared application at our end and it running fine without any exception at our end. The error shows that the service is not running in your machine, please ensure whether both the viewer and service projects are set as startup project using multiple project and change the configuration to build and deploy as in below screen shot.
Set as startup project using multiple project:
Change the configuration to build and deploy
Regards,
Nandakumar T
MW
Mark Wilson
April 2, 2018 09:41 PM UTC
Thank you once again for your assistance but again the report runs with errors, in this case the webserver returns Forbidden. Please see attachment.
Attachment: Forbidden_905c8860.zip
Do Syncfusion reports require a webserver? We are an ISV and distribute our app through the Windows Store. We require a reporting tool that does not require a webserver.
Attachment: Forbidden_905c8860.zip
VS
Vinoth Srinivasan
Syncfusion Team
April 3, 2018 11:20 AM UTC
Hi Mark,
Our reportviewer requires the server side to process and render the RDL reports, so web api server is required to render the RDL reports. Your requirement is to render the reports without a web api service, so you can use RDLC reports with business object collection, data source to be given from application level to render the report. We have prepared a UWP report viewer sample to render RDLC report and it can be downloaded from the below location.
Regards,
Vinoth S.
MW
Mark Wilson
April 11, 2018 09:42 AM UTC
Many thanks for your help with this, it works fine. In the example you have a report of bike items, how did you design this report? Is there a report designer for UWP? Could you give us guidance on how we could design reports for UWP?
VS
Vinoth Srinivasan
Syncfusion Team
April 12, 2018 10:27 AM UTC
Hi Mark,
Currently, we don’t have report designer for UWP platform, use the Visual Studio Report Wizard tool for designing the RDLC report and view the report using UWP report viewer. Please refer the below MSDN link for more details regarding this.
Also, please refer the below KB article to create RDLC report in Visual Studio.
Regards,
Vinoth S.
SIGN IN To post a reply.
- 14 Replies
- 4 Participants
-
MW Mark Wilson
- Mar 20, 2018 06:03 AM UTC
- Apr 12, 2018 10:27 AM UTC