Article ID: 274038 - Last Review: December 26, 2006 - Revision: 1.4 PRB: ASP Error 8002801d "Library Not Registered"This article was previously published under Q274038 On This PageSYMPTOMS
When you browse an Active Server Pages (ASP) page, you may receive the following error message:
Server object error 'ASP 0177 : 8002801d' Server.CreateObject Failed /vdir/filename.asp, line xx Library not registered. CAUSE
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: 266621
(http://support.microsoft.com/kb/266621/EN-US/
)
PRB: Error Message: "Library Not registered" Problem with Crystal Reports 8
272693
(http://support.microsoft.com/kb/272693/EN-US/
)
0x8004005 ASP Error Message Occurs When You Connect to a Database after Crystal Reports 8 Installation
RESOLUTION
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:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
TypeLibFind 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.aspx
(http://technet.microsoft.com/en-us/sysinternals/default.aspx)
Unless 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. REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
259176
(http://support.microsoft.com/kb/259176/EN-US/
)
PRB: Error 8002801d Occurs When You Create a CDONTS.NewMail
266621
(http://support.microsoft.com/kb/266621/EN-US/
)
PRB: "Library Not registered" Problem with Crystal Reports 8.0
272693
(http://support.microsoft.com/kb/272693/EN-US/
)
0x8004005 ASP Error Occurs with Crystal Reports 8
268553
(http://support.microsoft.com/kb/268553/EN-US/
)
PRB: Visual Studio Installation Problems if Crystal Reports 8 Is Installed
| Article Translations
|
Back to the top
