Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • The Dummy Programmer Robot
    • Overview
    • Version history & downloads
    • Tutorials
      • TDP Robot – The basics
      • A simple SQL Server backup solution
      • A simple SQL Server backup solution – A next step
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Failed to decode downloaded font: (your web application address)

Posted on June 10, 2019June 11, 2019 By

Suppose your web application gives this error message in you web browser console: “Failed to decode downloaded font”, followed by the address of the font with the problem.

This is something similar to error messages you see in the image below. What you can do?Failed to decode downloaded fontSearching the internet about this problem you can find several solutions, some of which related to the configuration of the mime types in IIS.

They are all correct, but today I want to tell you my story…

In our case the browser displayed correctly the fonts when connected to development and test server, but the same client failed to load the fonts when connected to the production server.

How can this be possibile?

It turned out that the installation of the software in the production environment, was made using a configuration control system, something like SVN.

This configuration control system corrupted all files with extension “otf”, “eot”, “ttf”, “woff”, “woff2” because it was configured to treat them as ascii files instead of binary files.

Once the configuration has been corrected, and files have been copied again, the problem was solved!

Hope it can help! 🙂

ASP.NET, Web fonts, Web programming

Post navigation

Previous Post: Plesk panel update error on Linux CentOS 7: The GPG keys listed for the “dell-system-update_dependent” repository are already installed but they are not correct for this package
Next Post: Improving SQL Server cursor performance

Related Posts

Telerik RadGrid’s pagination hangs ASP.NET
HTTP 500 – Internal server error in an ASP.NET application ASP.NET
System.Net.Sockets.SocketException (0x80004005): No such host is known ASP.NET
Put an ASP.NET website under maintenance ASP.NET
NPOI and Excel found unreadable content in ‘[filename].xls’ ASP.NET
Telerik RadGrid rendering problems with IE11 in compatibility mode ASP.NET

Search

Related posts

  • Run an old Apache ASP web application in Ubuntu 20.04
  • What's my IP address
  • Visual Studio 2019 error: Failed to create an editor. Value…
  • Configure access permission to a folder for an IIS…

Categories

  • .NET 6 (1)
  • AJAX (1)
  • Android (2)
  • Apache (4)
  • ASP.NET (9)
  • ASP.NET MVC (3)
  • Avalonia UI (1)
  • BCP (1)
  • Bitlocker (2)
  • C# (14)
  • CentOS (4)
  • ClosedXML (1)
  • CLR (1)
  • DNS (1)
  • Encryption (3)
  • Excel (2)
  • FuelPHP (3)
  • Games (2)
  • Google Chrome (1)
  • GSuite (1)
  • HTML (1)
  • Imagick (2)
  • Javascript (1)
  • Kindle (1)
  • LAMP (3)
  • Linux (6)
  • MariaDB (2)
  • Mathematics (2)
  • MySql (4)
  • NPOI (1)
  • Office 365 (1)
  • Perl (1)
  • PHP (6)
  • Programming (1)
  • Remote desktop (1)
  • SFTP (2)
  • Sockets (3)
  • Sql Server (18)
  • Sql Server 2016 (14)
  • Sql Server 2019 (1)
  • SSL (4)
  • Task scheduler (1)
  • Telerik ASP.NET AJAX (2)
  • The Dummy Programmer Chat (2)
  • The Dummy Programmer Robot (6)
  • Threading (5)
  • Tools (1)
  • TPL (3)
  • TypeScript (3)
  • Ubuntu (4)
  • Virtualization software (3)
  • Visual Studio (1)
  • Visual Studio Code (2)
  • Web fonts (1)
  • Web programming (6)
  • Windows (12)
  • Windows 10 (15)
  • Windows Forms (1)
  • Windows Server (6)

Copyright © 2023 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark