Backoffice not loading after upgrading from Umbraco 13 → 16 (MIME type “text/plain” for app.element.mjs)

,

Hi all,

I’ve upgraded a large multi-project Umbraco solution from v13.10.1 to v16.0.
Everything builds and runs without runtime errors, but when accessing /umbraco, the backoffice is completely blank.

Screenshots attached:

  1. Network tab – shows app.element.mjs being served as MIME type text/plain.

  2. Console tab – shows Loading module from ... was blocked because of a disallowed MIME type ("text/plain").

Has anyone run into this same issue?

Usually when you have a disallowed mime type, it is because it’s missing in the server configuration. IIS for instance will only serve mime types it knows. In the past, I would usually have to add woff3 to the mime types, otherwise it wouldn’t return the file.

What are you hosting Umbraco on?

Thank you for your answer, I will attempt to change the configuration.

At a later point this will be hosted on Umbraco Cloud, but as of now I am working locally, using Visual Studios IIS Express.

In case it could be of use to anyone, the error was caused because I hadn’t been thorough enough in cleaning om the old backoffice files. So I had a .Core project that still contained traces of the old backoffice and this seemed to cause the interruption. #RookieMistake

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.