IIS8.5 Won't Serve Font Files

This issue seems to have fixed itself through the course of working on the project. Andrew Morton provided some excellent trouble shooting steps for anyone else having similar issues. I'll provide quick list:

  • Verify the correct MIME type is being used by the server. Using IIS Manager > Server > Project > MIME Types. Here are the list of MIME types that are working for me:

    • .eot = application/vnd.ms-fontobject
    • .svg = image/svg+xml
    • .ttf = application/octet-stream
    • .woff = application/x-font-woff
  • If That doesn't work verify the web server has permissions on the project folder and the folder storing the files. Following a tutorial will help a lot.

  • Futher debugging using a tool such as ProcessMonitor will help narrow down more stubborn server issues.

Hope this helps someone.

Tags:

Iis 8.5