Cannot download certain files types (.run file) after the Upgrade to Umbraco 10
Hi All,
Recently, we upgraded Umbraco from version 8 to 10. However, following the upgrade, we've encountered an issue with downloading .run files from the website. Our IIS is version 10.
The Umbraco logs show that the .run file is protected media and that the user has permission to download it.
When I attempt to change the .run extension to .exe or .zip, I am able to download the file without any issues. It seems that the .run extension is being blocked, resulting in a 404 error, but I'm uncertain where this blockage is occurring.
I have already tried the .run extension to the IIS MIME Types with the configuration as follows:
Extension: .run
MIME Type: application/octet-stream
I've tested this after restarting both the IIS web app and the app pool. However, the problem persists despite these efforts.
Any assistance on this matter would be greatly appreciated.
Cannot download certain files types (.run file) after the Upgrade to Umbraco 10
Hi All, Recently, we upgraded Umbraco from version 8 to 10. However, following the upgrade, we've encountered an issue with downloading .run files from the website. Our IIS is version 10.
The Umbraco logs show that the .run file is protected media and that the user has permission to download it.
When I attempt to change the .run extension to .exe or .zip, I am able to download the file without any issues. It seems that the .run extension is being blocked, resulting in a 404 error, but I'm uncertain where this blockage is occurring.
I have already tried the .run extension to the IIS MIME Types with the configuration as follows: Extension: .run MIME Type: application/octet-stream
I've tested this after restarting both the IIS web app and the app pool. However, the problem persists despite these efforts.
Any assistance on this matter would be greatly appreciated.
Many Thanks Anton
This issue has been fixed by adding the following lines to the Startup.cs
However, after this addition, MediaProtect is broken. I guess I am missing something.
If anyone encounters a similar problem, place the code after
section in the Startup.cs file.
Thanks Anton
is working on a reply...