Persits Software, Inc. Knowledge Base Articles

BUG: Font filename could not be obtained / Access Denied error

Problem Description

When using AspPDF (a version prior to 1.0.0.3), the line of code

Set Font = Doc.Fonts("Arial")

generates the following error:

Persits.PdfManager.1 error '800a0018'

Font filename could not be obtained. Try adjusting permissions on the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts using regedt32. The error was: Access is denied .

Solution

This error is caused by a bug in AspPDF. The bug was fixed by Service Release 1.0.0.3. Download the latest version of AspPDF here.