Hello
1) The first time the document map appears Ok but when I change the filter and update the data in reportViewer the document map is not updated.
2) I dont know why not appear image in header when in designer appear Ok.
|
Issue |
Details |
|
The first time the document map appears Ok but when I change the filter and update the data in reportViewer the document map is not updated. |
Could you please share your issue report with us. Its helpful for our further validation . Could you please confirm how you change the filter value and update data? Is possible to share the issue reproducible sample with us. Its helpful for our further validation. |
|
I dont know why not appear image in header when in designer appear Ok. |
Could you please share the issue report and console error details. Its helpful for our further validation.
If any unsupported media type error occurs in console. Please refer the below documentation for resolve this, https://help.boldreports.com/embedded-reporting/how-to/resolve-unsupported-media-type-error-on-loading-image-in-asp.net-core/ https://help.boldreports.com/embedded-reporting/how-to/resolve-the-image-render-and-export-issue-with-asp.net-core-authentication/ |
OK. Thank you.
Problem solved
Hello,
I have a similar challenge with displaying an image (Embedded) in blazor (both Server and WebAssembly) in production using Docker.
In development, all images display perfectly, but do not show when deployed into production.
To reproduce,
Thank you.
It works now.
Hi,
Im running .net core 7 blazor server app on ubuntu 22.04, and having same issue.
Image is not loading; I have fixed API with [AllowAnonymous] and installed dependencies as follows
## install System.Drawing native dependencies
sudo apt-get update
sudo apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev
sudo rm -rf /var/lib/apt/lists/*
when I try to load image only from url ../
api/ServiceRequestReport/GetResource/?key=null&resourcetype=sfimg&isPrint=false
{"version":"1.1","content":{"headers":[]},"statusCode":404,"reasonPhrase":"Not Found","headers":[],"trailingHeaders":[],"requestMessage":null,"isSuccessStatusCode":false}
Please let me know how to fix this.
Ashimaz, To resolve the issue, we suggest you to set the EnableUnixSupport property to true to draw images in your application. Please refer to the below documentation for your reference.
Link reference saying that this switch is only available in .NET 6 and was removed in .NET 7.
Since I am using .net 7, not sure this will work.
Is there any alternative to fix this?
Ashimaz, The suggestion in the previous update will also resolve the reported image issue in.NET 7. Please follow the below steps to resolve the reported issue. We have prepared and attached the sample application for your reference.
Step 1: Create JSON file with the file name as runtimeconfig.template.json and then add the below code
|
{ "configProperties": { "System.Drawing.EnableUnixSupport": true } } |
Step 2: Add the below code in the docker file.
|
## install System.Drawing native dependencies RUN apt-get update \ && apt-get install -y --allow-unauthenticated \ libc6-dev \ libgdiplus \ libx11-dev \ && rm -rf /var/lib/apt/lists/* |
Step 3: Build and run the application, The image is rendered as shown in the below snap.
Thank you for this post. I was also having problems with the no-image display in.NET 7.
However, this direction really fixed the issue when publishing to Docker.
Thanks.
Gerald
You’re welcome, Gerald
We are glad to hear that the reported issue has been resolved on your end. If you face any other issues, we suggest you open a new ticket using your account.
Thank you, this solved my issue. :))
Ashimaz,
You’re welcome, we are glad to know that the reported issue is resolved at your end.