Use the code given in the link:
<system.webServer>
<staticContent>
<remove fileExtension=".woff" /> <!-- In case IIS already has this mime type -->
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
</staticContent>
</system.webServer>
>We already have it for woff, do I need to have this
>
><remove fileExtension=".woff2"/>
> <mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2"/>
>
>>Do it in web.config - better than configuring via IIS manager
>>
>>>Update. Found this
http://stackoverflow.com/questions/4015816/why-is-font-face-throwing-a-404-error-on-woff-files so looking in various ideas from this right now.
>>>
>>>Hi everybody,
>>>
>>>I am getting this error:
>>>
>>>Failed to load resource: the server responded with a status of 404 (Not Found) showing this file
>>>
>>>
http://localhost:5525/Content/macadmintheme/fonts/fontawesome-webfont.woff2?v=4.3.0>>>
>>>This error is shown in the Dev. Tools when I just open my menu.
>>>
>>>The file is indeed in the project and that location, so I am wondering why I am getting this error.
>>>
>>>Thanks a lot in advance.