Click here to Skip to main content
15,351,867 members
Please Sign up or sign in to vote.
1.00/5 (1 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

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).
When installing fonts on a server, NEVER double click them to install, otherwise it only installs for the current user. Instead you should right click the font file and select "Install for all users". The font will then be available right away for use in your web application.
   
Comments
OriginalGriff 3-Mar-22 16:24pm
   
While I applaud your desire to help others, it's not a good idea to select 9 year old questions as it's unlikely that the OP has any interest and more.

And that's a problem because many will assume you are posting purely for rep points, particularly when your answer has little or no relevance to the actual problem. I'm going to ignore it this time, but if you do it again there is a high chance that the more trigger happy amongst us will assume malicious intent and start the process of kicking you off the site ...

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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900