Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
404 error for a file which exists
Message
 
 
À
27/02/2015 13:20:05
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01615918
Message ID:
01615944
Vues:
10
>>>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>
>>>
>>
>>That code was already in web config. I just need the same for extension woff2.
>
>Then you just need to duplicate it and add some '2''s ?

That's what I did. The only question is what should I use for mimeType. I originally tried using woff2 there too and got a different message. So trying without 2 in the mimeType now.

UPDATE. Seems to be working now.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform