Using the Report Viewer with .Net Core 8 and WiseJ.Net

Stimulsoft Reports.WEB discussion
Lech Kulikowski
Posts: 7693
Joined: Tue Mar 20, 2018 5:34 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by Lech Kulikowski »

Hello,

You are welcome.
nickysuwandi
Posts: 13
Joined: Mon Mar 13, 2023 2:28 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by nickysuwandi »

Dear Lech Kulikowski

I have upgrade to vs2026 and Wisej 4 and using .Net Core 10.

I am trying create tiny program to test Stimulsoft report using Html + simulsoft JS.
but i always get error
"stimulsoft.reports.js:28 Failed to load resource: the server responded with a status of 404 (Not Found)"

and
"stimulsoft.reports.js:28 File not Found ("Report/Report1.mrt") showError @ stimulsoft.reports.js:28"

In Startup.cs i had add code "app.UseFileServer();"

Is there something that i had missing?

Thanks


Lech Kulikowski wrote: Wed Mar 26, 2025 11:08 am Hello,

Please check the samples at the following link:
https://github.com/stimulsoft/Samples-R ... -Wisej.NET

Thank you.
Attachments
vs2026-1.png
vs2026-1.png (226.07 KiB) Viewed 3007 times
view.png
view.png (197.75 KiB) Viewed 3007 times
Lech Kulikowski
Posts: 7693
Joined: Tue Mar 20, 2018 5:34 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by Lech Kulikowski »

Hello,

The report file is not found.

Thank you.
nickysuwandi
Posts: 13
Joined: Mon Mar 13, 2023 2:28 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by nickysuwandi »

yes the report is not found,
i had put report in "Report/Report1.mrt"
and load in using report.loadFile("Report/Report1.mrt");

why still not found, is there missing command i must add in this project?

Thanks
Lech Kulikowski wrote: Wed Feb 04, 2026 7:54 pm Hello,

The report file is not found.

Thank you.
Lech Kulikowski
Posts: 7693
Joined: Tue Mar 20, 2018 5:34 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by Lech Kulikowski »

Hello,

Please send your project for analysis.

Thank you.
nickysuwandi
Posts: 13
Joined: Mon Mar 13, 2023 2:28 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by nickysuwandi »

Dear Lech Kulikowski

This the project

Thank you
Attachments
WisejWebApplication1.zip
(4.98 MiB) Downloaded 12 times
Lech Kulikowski
Posts: 7693
Joined: Tue Mar 20, 2018 5:34 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by Lech Kulikowski »

Hello,

You need to add a custom MIME mapping for .mrt so ASP.NET Core serves the report template as a static file instead of returning 404 for an unknown content type.

Thank you.
Attachments
Screenshot 2026-02-17 235342.png
Screenshot 2026-02-17 235342.png (366.56 KiB) Viewed 1697 times
nickysuwandi
Posts: 13
Joined: Mon Mar 13, 2023 2:28 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by nickysuwandi »

Dear Lech Kulikowski

Thanks for you help.
Its working.
Lech Kulikowski wrote: Tue Feb 17, 2026 10:53 pm Hello,

You need to add a custom MIME mapping for .mrt so ASP.NET Core serves the report template as a static file instead of returning 404 for an unknown content type.

Thank you.
Lech Kulikowski
Posts: 7693
Joined: Tue Mar 20, 2018 5:34 am

Re: Using the Report Viewer with .Net Core 8 and WiseJ.Net

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply