Setting Telerik report in Mac OS.

0 Answers 541 Views
Report Viewer - ASP.NET
WoorimartDEV
Top achievements
Rank 1
Iron
Iron
WoorimartDEV asked on 04 Aug 2022, 06:59 AM

Hello.
Windows uses it as a Report RestApiServer
I changed my work environment to MacOS.
So when I tried to use it, I got the following message.

Unable to get report parameters. An error has occurred. Type: Telerik.Reporting.ReportSerialization.Current.ReportSerializable`1[Telerik.Reporting.Report]

As a result of testing with api/reports/forms,
The output is as follows:

[{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLSX","localizedName":"Excel Worksheet"},{"name":"PPTX","localizedName":"PowerPoint Presentation"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"DOCX","localizedName":"Word Document"}]

 

https://docs.telerik.com/reporting/getting-started/installation/dot-net-core-support

Referring to the Deployment on macOS part of the above site, I installed it, but there was a problem during the installation process, or the part that worked in Windows is not currently working. I want you to tell me the solution.

Neli
Telerik team
commented on 04 Aug 2022, 12:28 PM

Hi Doyeong,

Please, make sure that you have installed the libgdiplus library. 

If that is the case and you need further assistance on the issue, please do the following:

WoorimartDEV
Top achievements
Rank 1
Iron
Iron
commented on 05 Aug 2022, 01:24 AM

Hi,

brew install mono-libgdiplus

in command,

Warning: mono-libgdiplus 6.1_1 is already installed and up-to-date.

 

And then this is the link.

https://jam.getfiddler.com/sessions/0be0180f-4898-432c-9c5b-f2562f79b6da?t=ad624750f0c64fa99c29c1ceb018030021e5b867e050705d2a9af1b52b801e2f0f18e00b98482c439c5bf2562f79b6da

 

Thanks

 

Neli
Telerik team
commented on 08 Aug 2022, 10:20 AM

Hi Doyeong,

Thank you for the provided JAM file.

I am afraid that the log might not be full because the error is missing. Can you please also provide the log after attaching Trace Listener?

Can you test if the problem is reproducible with our demos?

I will be looking forward to receiving an update from you.

 

WoorimartDEV
Top achievements
Rank 1
Iron
Iron
commented on 08 Aug 2022, 11:53 AM | edited

Hi,

Thanks you for your answer.

I apologize for the lack of provision.

I capture again.

https://jam.getfiddler.com/sessions/9a057c5d-e297-4563-bc35-299ff39778b3?t=67a2fde7e7e04fadee5f278ff4e9ce441170d1ce373b85a8759548a30c3fd7105d7c059a97e26345bc35299ff39778b3

And if you don't mind, where can I find the C# project that works on MacOS? Is it okay to run an example from the Progress folder inside the C drive Program Files in Windows from MacOS?

Neli
Telerik team
commented on 11 Aug 2022, 11:42 AM

Hi Doyeong,

Thank you for the new JAM file. If you installed the product on Windows, you can find the folder with examples in the installation folder. 

Can you please let me know which version of .NET Core use and have you tested reproducing the problem with other reports? YOu can also consider attaching a sample project that reproduces the problem, so I can inspect it locally.

WoorimartDEV
Top achievements
Rank 1
Iron
Iron
commented on 12 Aug 2022, 05:09 AM | edited

Hi, support

My project .Net Core Version is 6.0

I get the project from windows which is in [C:\Program Files (x86)\Progress\Telerik Reporting {Version}\Examples\CSharp\.NET 6\ReportingRestServiceCorsDemo\CSharp.Net6.ReportingRestServiceCorsDemo]

And then put reports and reports folder but it shows the same error.

Is there any way check my dev environment correctly to show report viewer? or not report viewer just print view that when I push the print button.

[Print View]

i change the [viewMode: telerikReportViewer.ViewModes.INTERACTIVE,] to [viewMode: telerikReportViewer.ViewModes.PRINT_VIEW,]

but nothing happened in windows.
How to correct set viewMode?

Neli
Telerik team
commented on 29 Aug 2022, 05:28 PM

Hi Doyeong,

To set the viewMode to be Print Preview, you need the following piece of code:

 viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW,

I attached a sample report that you can use for testing.

No answers yet. Maybe you can help?

Tags
Report Viewer - ASP.NET
Asked by
WoorimartDEV
Top achievements
Rank 1
Iron
Iron
Share this question
or