Persits Software, Inc. Knowledge Base Articles

Library not registered error

Problem Description

When trying to create an instance of the AspJpeg component, the line of code

Set Upload = Server.CreateObject("Persits.Jpeg")

generates the following error:

Server object error 'ASP 0177 : 8002801d'
Server.CreateObject Failed
Library not registered.

Solution

This error usually occurs because of tight security settings in the HKEY_CLASSES_ROOT section of the registry. To fix the error, run regedt32 and select the key HKEY_CLASSES_ROOT\TypeLib\{FC7A96A1-4DEC-11D4-9C83-0080ADA78DDF} . From the Security menu, select Permissions. Add Everyone to the permission list and assign Full Control to the Everyone account. Make sure the setting propagates to the sub-keys as well.