Home All Groups Group Topic Archive Search About

IIS ActiveX Component - No fonts creatable

Author
12 May 2005 10:19 AM
Jens Bohlmann
Hy all

we have an iis active x control hosted on IIS 5.0 (W2K). One function
renders grafics into a temporary dc to build some custom images. We create
some special true-type-fonts with

ENV: WTL 7.1 -AX-Control build on VC++.NET 2003 without MFC

But except default fonts like Courier or Arial they wont be created.

Then replacement-fonts are substituted. On XP or W2003 server (development
environment it works, but not on the productive server (W2K, all SP,
IIS-Lockdown, Baseline Security Anlayser etc....)

Font is installed correctly. Native sample programs on productive machine
works but not in IIS loaded from a component

Could it be a security issue or something else to configure in IIS???

Any help is welcome!!

Jens

Author
13 May 2005 5:45 PM
Peter
"Jens Bohlmann" <jens.bohlm***@bytemee.de> wrote in
news:ORhcSwtVFHA.3152@TK2MSFTNGP12.phx.gbl:

>
> Font is installed correctly. Native sample programs on productive
> machine works but not in IIS loaded from a component
>
> Could it be a security issue or something else to configure in IIS???
>

Try giving the IUSR account needs Read and Execute permissions on the
fonts. I may be wrong.
Author
13 May 2005 6:37 PM
Jens Bohlmann
Hy thank you for your hint, but everything on rights were the same like
other fonts.

Who knows why, but simply restarting the server solves the problem
(Restarting IIS not!). There must exists a "Installed Fonts Cache" by
the system, which is cleared for all users at startup (or somthing
else). EnumFonts works for all fonts for logged-in users and NOT for the
new ones in IIS (the IUSR_...-Account)


Jens

*** Sent via Developersdex http://www.developersdex.com ***