This problem happens because IIS does not know about woff
and woff2
file mime types.
Solution 1:
Add these lines in your web.config project:
<system.webServer> ... </modules> <staticContent> <remove fileExtension=".woff" /> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff2" mimeType="font/woff2" /> </staticContent>
Solution 2:
On IIS project page:
Step 1: Go to your project IIS home page and double click on MIME Types
button:

Step 2: Click on Add
button from Actions
menu:
Step 3: In the middle of the screen appears a window and in this window you need to add the two lines from solution 1:
Related Posts:
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- Could not load file or assembly Exception from HRESULT: 0x80131040
- how to call jquery selector from outside kendo window?
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- A potentially dangerous Request.Form value was detected from the client
- How to add reference to System.Web.Optimization for MVC-3-converted-to-4 app
- What is ViewModel in MVC?
- What is the difference between ASP.NET and ASP.NET MVC?
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- Styles.Render in MVC4
- Could not load file or assembly ‘Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- There is no ViewData item of type ‘IEnumerable
‘ that has the key country - Cannot attach the file *.mdf as database
- The localhost page isn’t working. localhost redirected you too many times
- The name ‘ViewBag’ does not exist in the current context – Visual Studio 2015
- The required anti-forgery form field “__RequestVerificationToken” is not present Error in user Registration
- “The transaction log for database is full due to ‘LOG_BACKUP'” in a shared host
- HTTP Error 503, the service is unavailable
- Can I change Bootstrap button color?
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- What are the differences between Visual Studio Code and Visual Studio?
- JSON parsing error syntax error unexpected end of input
- What are the differences between Visual Studio Code and Visual Studio?
- How to download Visual Studio Community Edition 2017 (not 2019)
- How to download Visual Studio Community Edition 2015 (not 2017)
- How to resolve “Server Error in ‘/’ Application” error?
- Customize Bootstrap checkboxes
- Unresolved external symbol in object files
- Unresolved external symbol in object files
- Chrome returns “Bad Request – Request Too Long” when navigating to local IIS Express
- JQuery – $ is not defined
- Why the range of int is -32768 to 32767?
- JQuery – $ is not defined
- How to fix No connection could be made because the target machine actively refused it 127.0.0.1:64527
- What does ‘IISReset’ do?
- Error : Could not load file or assembly or one of it’s dependencies
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- Awesomium sdk download
- What does ‘IISReset’ do?
- ‘cannot find or open the pdb file’ Visual Studio C++ 2013
- What are the differences between Visual Studio Code and Visual Studio?
- How do you auto format code in Visual Studio?
- Unity OnTriggerEnter2D not registering
- What’s the difference between Visual Studio Community and other, paid versions?
- “Exception has been thrown by the target of an invocation” error (mscorlib)
- How to declare a global variable in C++
- ORA-12154 could not resolve the connect identifier specified
- failed to load resource: the server response with a status 500 (internal server error)
- Left align and right align within div in Bootstrap
- What are .ashx files in an ASP.NET application?
- What is “stdafx.h” used for in Visual Studio?
- ASP.NET 5 MVC: unable to connect to web server ‘IIS Express’
- Windows 7 exception code: 0xc0000409
- Configuration System Failed to Initialize
- What does purpose use #ifdef and #if in C++
- Does PHP supports MVP pattern?
- Vertical Align Center in Bootstrap
- Why is this code throwing an InvalidOperationException?
- Twilio TwilioRestClient does not contain a definition for SendSmsMessage
- How to add a default Default.aspx to a ASP.NET Web Application Project?
- Visual Studio doesn’t see Team Explorer
- Net 2.0 Framework Service Pack 2 Issue
- Installation of MySQL for Visual Studio 1.2.8 failed
- wntdll.pdb not loaded – Can’t see the exception
- Server.Transfer Vs. Response.Redirect
- wntdll.pdb not loaded – Can’t see the exception
- W3WP.EXE using 100% CPU – where to start?
- Visual Studio error “Object reference not set to an instance of an object” after install of ASP.NET and Web Tools 2015
- HTTP Error 403.14 – Forbidden – The Web server is configured to not list the contents of this directory
- Error :The remote server returned an error: (401) Unauthorized
- Visual Studio /**/ comment shortcut?
- Exception of type ‘System.OutOfMemoryException’ was thrown.
- How do I install a NuGet package .nupkg file locally?
- System.web.mvc missing
- Does bootstrap have builtin padding and margin classes?
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- Cannot read configuration file due to insufficient permissions
- Command to collapse all sections of code?
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- Compiler Error Message: The compiler failed with error code -2146232576
- Bootstrap Dropdown menu is not working
- Infinite Scrolling in Asp.Net MVC with jQuery / AJAX Issues
- What is sr-only in Bootstrap 3?
- Missing vc_runtimeminimum_x86.msi and installation won’t work
- What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?
- Cannot Connect to Server – A network-related or instance-specific error
- How to set up fixed width for
? - How to change btn color in Bootstrap
- ERROR: Cannot open source file ” “
- The #include
exists, but I get an error: identifier “cout” is undefined. Why? - Could not load file or assembly ‘Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’
- “Error while trying to run project: Unable to start program”. Can run program only once. Then VS needs restart
- How does the data-toggle attribute work? (What’s its API?)
- How to add hamburger menu in bootstrap
- How to Determine IUSR Password
- How can I secure passwords stored inside web.config?
- ASP.NET Why are sessions timing out, sessionstate timeout set
- Adding images to a Bootstrap Carousel with AJAX
- WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery(case-sensitive)