NetworkError: 404 Not Found, networkerror404
The website is implemented using the BootStrap framework. When the website is published to the Server (Windows Server 2008 R2) IIS, the following exception is displayed:
Insus. NET runs under the relevant directory to check whether these font files exist.
Why? It reminds Insus. NET of the days before, to solve the problem of video PM4 "enable MP4 in IIS" http://www.cnblogs.com/insus/p/5507493.html is certainly the reason why IIS does not have MIME Type:
Original web. config Configuration:
<System. webServer> <staticContent> <remove fileExtension = ". woff "/> <mimeMap fileExtension = ". woff "mimeType =" application/x-font-woff "/> <remove fileExtension = ". woff2 "/> <mimeMap fileExtension = ". woff2 "mimeType =" application/x-font-woff2 "/> <remove fileExtension = ". ttf "/> <mimeMap fileExtension = ". ttf "mimeType =" application/x-font-truetype "/> <remove fileExtension = ". svg "/> <mimeMap fileExtension = ". svg "mimeType =" image/svg + xml "/> <remove fileExtension = ". otf "/> <mimeMap fileExtension = ". otf "mimeType =" application/x-font-opentype "/> <remove fileExtension = ". eot "/> <mimeMap fileExtension = ". eot "mimeType =" application/vnd. ms-fontobject "/> </staticContent> </system. webServer>Source Code