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
- 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)
- Chrome returns “Bad Request – Request Too Long” when navigating to local IIS Express
- How to declare a global variable in C++
- ORA-12154 could not resolve the connect identifier specified
- Twilio TwilioRestClient does not contain a definition for SendSmsMessage
- Visual Studio doesn’t see Team Explorer
- Error :The remote server returned an error: (401) Unauthorized
- System.web.mvc missing
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- How to include bootstrap css and js in reactjs app?
- Can’t use System.Windows.Forms
- How do I remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
- Why Visual Studio 2015 can’t run exe file (ucrtbased.dll)?
- Error ‘2035’ (‘MQRC_NOT_AUTHORIZED’) While Connecting to MQ
- Url.Action parameters?
- Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226))
- Changing the width of Bootstrap popover
- ASP.NET DateTime Picker
- Cannot open Windows.h in Microsoft Visual Studio
- HTML.ActionLink method
- Set space between divs
- Connection string using Windows Authentication
- Are Visual Studio 2017 Build Tools still available for download?
- Placeholder Color Change in Bootstrap
- What is vshub.exe in the system tray?
- How to open a URL in a new Tab using JavaScript or jQuery?
- Preventing console window from closing on Visual Studio C/C++ Console application
- Bootstrap change carousel height
- Visual Studio Cannot Open File
- twitter bootstrap autocomplete dropdown / combobox with Knockoutjs
- C# Debug – cannot start debugging because the debug target is missing
- Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets
- How can I change the Bootstrap default font family using font from Google?
- Does WPF Work with C++?
- In a bootstrap responsive page how to center a div
- Using glyphicon-facebook from bootstrap 3
- How to make Bootstrap Panel body with fixed height
- Change navbar text color Bootstrap
- How to fix javascript .toFixed is not a Function error
- How can I rename a project folder from within Visual Studio?
- wordpress nav menu using twitter bootstrap
- Text symbols in the navigation menu
- Enqueue Child CSS to Load After Bootstrap CDN
- custom shortcode will not display the wrapped content
- WordPress \ Bootstrap 4 not building breadcrumbs correctly
- Make menu bootstrap compatible
- NavWalker Bootstrap Error (won’t dropdown)
- Shortcode for Twitter Bootstrap Collapse
- How do I get row padding in a post feed?
- How to have two menus using Bootstrap nav walker?
- Iframes inside bootstrap tab disappear when tab is shown
- WP_bootstrap_Navwalker_issue [closed]
- How to Output which matched meta_keys were found from custom_type_posts?
- Customizing the Widget content markup
- My website is not showing Footer section
- How to remove the gap on right side of webpage (using Bootstrap with WordPress)?
- All of my custom Bootstrap styles are not working in my child theme!
- Full width featured thumbnail
- Shortcode arguments to another shortcode
- Is there a way to multiply archive loop results sequentially?
- Problems with Bootstrap 3 Carousel Integration
- Why in this WordPress theme I can’t see the Main Menu?
- Search AJAX Filters – Multiple Query Loops Into One Loop (Optimization)
- porto theme pagination on woocommerce not working
- WordPress and Modal Popup – how to make the already loaded javascript assets available in modal?
- Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]
- Display WP Meta Details in Bootstrap Modal
- WordPress does not load jQuery
- Is it possible to display the Navigation Menu without using Walker_Nav Class
- Navbar is hidden behind carousel when using wp-boostrap-navwalker
- WordPress Loop with different Column sizes
- From php web to wordpress conversion, href changes only in URL
- making a search.php query
- Add row after three columns
- Glyphicons Dont Show in WordPress Plugin Only
- add bootstrap modal after login in wordpress
- How to display thumbnail if post is assigned one otherwise not
- How to echo a different field if another field is empty?
- Need to call this php function inside a modal window from text widget
- nav tag wrapping around dropdown