We have this image reference
<img src="/Files/Templates/Designs/espresso/assets/img/lighthouse-logo.svg" alt="Lighthouse">
served from a 9.1.6 it throws a 500 Internal Server Error
served from 9.1.4 it works :)
We have this image reference
<img src="/Files/Templates/Designs/espresso/assets/img/lighthouse-logo.svg" alt="Lighthouse">
served from a 9.1.6 it throws a 500 Internal Server Error
served from 9.1.4 it works :)
Hi kevin
I think it is because of this "fix" in web.config, see dump. Can you try to remove that and see if it works again?
BR Nicolai
Hi Nicolai,
By removing this section - it works again, thanks!
<location path="Files" allowOverride="false">
<appSettings>
<clear />
<add key="webpages:Enabled" value="false" />
</appSettings>
<system.webServer>
<staticContent>
<remove fileExtension=".cshtml" />
<mimeMap fileExtension=".cshtml" mimeType="text/plain" />
<remove fileExtension=".vbhtml" />
<mimeMap fileExtension=".vbhtml" mimeType="text/plain" />
<remove fileExtension=".aspx" />
<mimeMap fileExtension=".aspx" mimeType="text/plain" />
</staticContent>
<handlers>
<clear />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule" resourceType="File" requireAccess="Read" />
</handlers>
</system.webServer>
</location>
ok, thanks
Will look into fixing the issue in the standard build.
BR Nicolai
Hi Kevin
We looked at this and cannot reproduce the issue internally. How come you got a 500 on static file?
Do you maybe have something else in your iis/web config that could cause this?
BR Nicolai
You must be logged in to post in the forum