Click here to Skip to main content
14,486,942 members
Rate this:
Please Sign up or sign in to vote.
See more: , +
Why IIS server is not taking downloaded for a web application ? In my local IIS server its fine. I just copied the new font under C:/wINDOWS/Fonts/.But in IIS server it isn't taking that font. I tried in a sample html page also in IIS but isn't working. Same issue for a crystal report.Crystal Report Version is 10.0 and VS 2005 and asp.net.
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

Your web pages are displayed on the CLIENT machine, not on the SERVER (with the IIS). So fonts installed on the server are could be unknown for the client.
If you want to use a specific font on your web page you may use web font or embed it or use CSS3 technique...
   
Comments
Rahul 105 20-Jan-14 22:49pm
   
Its displayed on the client machine from the server machine where IIS is set. Its a web application and not a windows application. So installation should be done in IIS naa. I checked with an html page but the server machine isn't accessing the new font.
Kornfeld Eliyahu Peter 21-Jan-14 2:23am
   
Again! By installing font files on your IIS machine you do nothing.
By default you will use the font-family (CSS2) attribute to utilize the font, but that will look for the font on the client machine, where it isn't.
If you use other techniques, like @type-face (CSS3) you have to ensure that you have the woff wrapper (http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp) and also that IIS can handle the mime type of woff (http://www.iis.net/configreference/system.webserver/staticcontent/mimemap).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100