Article ID: 274038 - View products that this article applies to.
When you browse an Active Server Pages (ASP) page, you may receive the following error message:
Server object error 'ASP 0177 : 8002801d'
/vdir/filename.asp, line xx
Library not registered.
The "Library not registered" detail string indicates that there is a problem with the registry information for this object. The registry entry may be missing or contain incorrect information, or the user may not have permission to read the registry entry. This article describes how to resolve the problem when the information in the registry is correct, but the user does not have permission to read it.
This problem can also occur when you install Crystal Reports 8. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/266621/EN-US/ )PRB: Error Message: "Library Not registered" Problem with Crystal Reports 8
(https://support.microsoft.com/kb/272693/EN-US/ )0x8004005 ASP Error Message Occurs When You Connect to a Database after Crystal Reports 8 Installation
To resolve this problem, give the Everyone group Read permission to the ClassID and TypeLib registry entries for the component that is failing.
NOTE: The ClassID and TypeLib registry entries are both long, hexadecimal numbers known as GUIDs (Globally Unique IDentifiers) or UUIDs (Universally Unique IDentifiers).
If the problem continues, you can also use the RegMon utility to determine which attempts to read the registry are failing. You may need to give the Everyone group Read permissions to other registry keys.
ClassIDImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
Find TypeLibExpand the ClassID entry from the preceding step 3, and locate the TypeLib entry beneath it. Record the UUID value, and then proceed to the "Change Permission for TypeLib" section.
If there is no TypeLib entry, perform the following steps:
Change Permission for TypeLib
Use the RegMon UtilityIf the problem continues after you change the permissions for ClassID and TypeLib, you can also use the RegMon utility to monitor registry activity while you run the failing line of code. The RegMon log shows if any attempts to read the registry fail. You can download RegMon from the following Sysinternals Web site:
http://technet.microsoft.com/en-us/sysinternals/default.aspxUnless you set a filter, RegMon logs all registry activity from all programs. For example, to capture all Microsoft Internet Information Server (IIS) activity, set the filter to "inetinfo*;dllhost*;mtx*". To further restrict the filter, select the Log Errors, Log Reads, and Log Other check boxes. In the log, look for "ACCDENIED" in the Results column, and review any keys with this result. You may need to give the Everyone group Read permissions to these keys.
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/259176/EN-US/ )PRB: Error 8002801d Occurs When You Create a CDONTS.NewMail
(https://support.microsoft.com/kb/266621/EN-US/ )PRB: "Library Not registered" Problem with Crystal Reports 8.0
(https://support.microsoft.com/kb/272693/EN-US/ )0x8004005 ASP Error Occurs with Crystal Reports 8
(https://support.microsoft.com/kb/268553/EN-US/ )PRB: Visual Studio Installation Problems if Crystal Reports 8 Is Installed
Article ID: 274038 - Last Review: June 19, 2014 - Revision: 2.0