Microsoft KB Archive/191704

= PRB: Unable to Load File to Register It During Setup =

Article ID: 191704

Article Last Modified on 9/27/2004

-

APPLIES TO

 Microsoft Visual Basic 6.0 Professional Edition, when used with:  Microsoft Windows 95

 Microsoft Windows 98 Standard Edition

 Microsoft Windows Millennium Edition  Microsoft Visual Basic 6.0 Enterprise Edition, when used with:  Microsoft Windows 95</li></ul>

 Microsoft Windows 98 Standard Edition</li></ul>

 Microsoft Windows Millennium Edition</li></ul> </li> Microsoft ActiveX Data Objects 2.5</li> Microsoft ActiveX Data Objects 2.6</li> Microsoft ActiveX Data Objects 2.7</li></ul>

-

<div class="notice_section">

This article was previously published under Q191704

<div class="symptoms_section">

SYMPTOMS
After creating distribution files using the Package and Deployment Wizard (PDW) and then attempting to install the application on a Windows 95, Windows 98, or Windows Me computer, you may receive the following error:

Unable to load file "msdadc.dll" to register it

Alternatively, you may see the error:

DLL registration failed

<div class="cause_section">

CAUSE
Installation of Microsoft Data Access Components (MDAC) requires installation of DCOM. Setup programs created with the Package and Deployment Wizard use the MDAC installer program, Mdac_typ.exe, to install the Microsoft Data Access Components, which include OLE DB, ADO, and Jet. Mdac_typ.exe requires that the target machine have DCOM installed on it.

<div class="resolution_section">

RESOLUTION
To fix this problem, install DCOM on the target machine. Either DCOM95 or DCOM98 can be used. The latest version of DCOM95 can be found at the following Web address:

Microsoft COM at http://www.microsoft.com/com

Alternatively, DCOM98 can be installed by running DCOM98.exe found in the DCOM98 folder on the Visual Basic 6.0 CD-ROM, Disk 1. Please note that DCOM98 can install DCOM on both Windows 95 and Windows 98 machines.

<div class="status_section">

STATUS
This behavior is by design.

Keywords: kbtophit kbdatabase kbappsetup kbdcom kbprb kbwizard kbfaq KB191704

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.