Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
404 error for a file which exists
Message
 
 
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01615918
Message ID:
01616093
Views:
24
>>>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 ?

In addition to web.config we have web.Release.config and web.Debug.config. Should I apply similar changes there as well?

UPDATE. Never mind, I don't think these two are used at all - they don't seem to contain correct info anyway.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform