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.

ArchMetalGames,

  • 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:

Looking forward to hearing back from you, thanks!

Hey ArchMetalGames,

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!