AspNetCore.Reporting not working on linux machine? - asp.net-core

I am working with report in ASP.Net Core using AspNetCore.Reporting to create report. When I executed the report in windows machine it work fine. However if i executed on linux machine I got this error.
An error occurred during local report processing.;The definition of the report '/var/task/Reports/Report.rdlc' is invalid. An unexpected error occurred in Report Processing. Unable to load shared library 'kernel32.dll' or one of its dependencies.
Note: I deploy the application using serverless in AWS and aspnetcore as the runtime.
Can anyone help to solve my problem?

It doesn't work on linux and that package hasn't received an update since 2018.
There are other alternatives such as syncfusion pdf (paid) or Rotativa that creates pdf files from MVC views, rotativa uses wkhtmltopdf (open source and cross-platform).

At the end I use Itext/Itextsharp as alternative to create PDF. The functionality to create PDF is open source

Related

SQL Server 2016 CTRP3.2 Report Viewer is missing a JavaScript method

Using SQL Server 2016 CTP3.2 Report Viewer (13.0.800.111), only the toolbar is shown.
It looks like a Power BI method is missing.
Also, will there be a NuGet for Report Viewer?
Just ran across this thread. The question: "will there be a NuGet for Report Viewer?" -- Yes, look out for a NuGet version of 2016 based report viewer controls this month (September).
Note that the controls will not expose the PowerBI method described here.
To overcome broken report viewer you have to purge its files v.13.0.1601.5 from GAC and use updated ones from nuget package: Microsoft.ReportingServices.ReportViewerControl.WebForms.Preview (version 130.1700.305, published 2016-09-20).
Make sure you have the latest version of SQL Server Data Tools installed. Earlier versions incorrectly GAC'ed certain libraries that will cause issues.
The Report Viewer Control is designed to be included in projects via nuget. It's not a good idea to add the libraries to the GAC.
If deploying the control on an intranet site make sure that the page is targeting HTML5.
More info at this page: https://github.com/Microsoft/Reporting-Services/blob/master/Docs/Get-Started-With-RVC.md#next-steps---read
It works:
Sample of the missing javascript method "OnPowerBIFeaturesRelease" in localmode
Was able to avoid this script error with the 2016 Report Viewer. Try adding these missing references before the Report Viewer definition.
Note: This will only work if your Report Server is on the same domain as your Website. You can also manually copy the files into your project and then serve them locally if your on a separate domain.

TFS error: when I'm giving checkin in my project one Rotativa.dll bug

I am using ASP .NET MVC 4 with Entity Framework 4.5
I downloaded the nuget something to be able to export my data pro PDF and found one called RotativaW7. The project is working normal but I try to check in the project to publish to TFS and is giving the following error message:
ERROR: Multiple errors occurred during the operation, the first of which is displayed below. A full error list is available in the Output Window.
..\packages\RotativaW7.1.5.4\RotativaW7.1.5.4.nupkg: Unable to write data to the transport connection: The cancellation of an existing connection was forced by the remote host.
nuget:
Install-Package RotativaW7 -Version 1.5.4
Could anyone help me solve this problem?
The nuget package contains an .exe, are you sure TFS allows you to check in executable files?

RazorPDF not working on build server

I'm creating an application which uses the RazorPDF nuget package for creating PDF document. When using this on a local development pc everything works fine but when I deploy on a server, I always get the standard error: "Error. An error occurred while processing your request."
Do I need to change properties in my project to make the nuget package work on a server except the normal way to deploy or has any one got experience with this?

The dependent tool 'svcutil.exe' is not found

I compile a new WCF application and upon running gave the error
"The dependent tool 'svcutil.exe' is
not found. "
Could any one tell me what to do??
To solve this problem install the Windows SDK .Net 3.5 Here the link to download it from. Install that and the WCF Test Client should run without error.

rsRenderingExtensionNotFound error using SSRS 2005

I am trying to use the Sharp-shooter Silverlight report viewer control.
This control has a server side component that renders the reports as XAML for displaying in the client side control. I have tried manually installing the rendering extension, according to the instructions on their website, and also the instructions on MSDN.
I have basically copied the dll's into the reporting services bin folder and added the following line to rsreportserver.config file:
<Extension Name="XAML" Type="PerpetuumSoft.ReportingService.XamlRendering.XamlRenderer,PerpetuumSoft.ReportingService.XamlRendering"/>
I've also added a line into the rssrvpolicy.config file as specified on their site.
After I made these changes I went into windows services and restarted the Reporting Services services but I get the following error when I try to run reports:
rsRenderingExtensionNotFound: An
attempt has been made to use a
rendering extension that is not
registered for this report server
Is there anything else that I need to do to use a custom rendering extension within SSRS 2005?
Turns out it was a problem with the dll, after much to-ing and fro-ing with the guys at Perpetuum software they figured out the bug and put out another release.