Html 5 deployment to IIS, using .NET Core and MCV 5

I try to deploy HTML 5 export into IIS server. I’m using .NET Core and MVC 5.
I add mime maps manually to IIS manager and also add them to webconfig file.

<staticContent>
      <mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
      <mimeMap fileExtension=".data" mimeType="application/octet-stream" />
      <mimeMap fileExtension=".memgz" mimeType="application/octet-stream" />
      <mimeMap fileExtension=".datagz" mimeType="application/octet-stream" />
      <mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" />
      <mimeMap fileExtension=".jsgz" mimeType="application/x-javascript; charset=UTF-8" />
    </staticContent>

I’m getting this error. I tried othe browsers.

What is missing?
Thanks for help.

  • Is this happening on a newly created blank project when you package it for HTML5 and upload it the same exact way?
  • Is this only occurring on 4.12, have you tried 4.11 or 4.13?

Here are a few links that I believe may help you with the error you’re running in to:

  • [AnswerHub: HTML5 Error][1]
  • [Emscripten Error in Chrome][2]

Looking forward to hearing back from you, thanks!

With HTML5 projects I get an error when trying to launch game from website - Platform & Builds - Epic Developer Community Forums
[2]: Memory initialization default setting is 1 · Issue #3032 · emscripten-core/emscripten · GitHub

Hey

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!