MOD2000: "An Error Occurred While Registering the File Msado21.tlb" Error Message When You Install Package (253662)
The information in this article applies to:
- Microsoft Office 2000 Developer
This article was previously published under Q253662 SYMPTOMS
After you create an Access solution with the Package and Deployment Wizard on a computer that is running Microsoft Windows 2000 Professional, when you try to install the package on another computer, you may receive the following error message:
An error occurred while registering the file 'C:\WINDOWS\SYSTEM32\msado21.tlb'
CAUSE
Your Access solution contains a Visual Basic for Applications project that has a reference to the Microsoft ActiveX Data Objects 2.1 Library.
RESOLUTION
To resolve this problem, obtain Microsoft Office 2000 Developer Service Release 1 (SR-1).
To obtain SR-1, click the article number below to view the article in the Microsoft Knowledge Base:
253566 MOD2000: How to Obtain and Install Microsoft Office 2000 Developer Service Release 1 (SR-1)
To temporarily work around this problem, follow these steps:
-
In Windows Explorer, open the following folder:
C:\Program Files\Microsoft Office\ODETools\V9\PDWizard
NOTE: This folder may be in a different location, depending on where you installed Microsoft Office 2000 Developer.
-
Click the ODEdep.ini file.
NOTE: If you have selected to hide the file name extensions in Windows Explorer, the file will appear as ODEdep.
-
On the Edit menu, click Copy, and then click Paste. This creates a backup copy of the ODEdep.ini file.
-
Open the ODEdep.ini file in Notepad.
-
On the Edit menu, click Find.
-
In the Find dialog box, type do not redistribute, and then click Find Next. Note that the mouse pointer moves to the [Do Not Redistribute] section of the file.
-
In the [Do Not Redistribute] section, create a new line, and then type the following entry:
-
Save the file, and then quit Notepad.
-
Create a new package of your solution with the Package and Deployment Wizard. This new package will not cause the error message that is mentioned in the "Symptoms" section of this article when you install the package on another computer.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Office 2000 Developer SR-1.
Modification Type: | Major | Last Reviewed: | 1/9/2003 |
---|
Keywords: | kbbug kbPDWizard KB253662 |
---|
|