Microsoft KB Archive/326842

= FIX: MDAC Installation Fails with Error 0x80070057 When Registry is at Size Limit =

Article ID: 326842

Article Last Modified on 4/6/2004

-

APPLIES TO

 Microsoft Data Access Components 2.7, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 2000 Standard Edition  Microsoft Data Access Components 2.6, when used with:  Microsoft Windows NT 4.0

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

-

<div class="notice_section">

This article was previously published under Q326842

<div class="symptoms_section">

SYMPTOMS
When you install Microsoft Data Access Components (MDAC) versions 2.6 or 2.7 on a computer that is running Windows NT 4.0 or Windows 2000, you may receive the following error message:

0x80070057 &quot;The parameter is incorrect.&quot;

The Dasetup.log shows that there are a few missing parameters for the ExecuteInstall function.

<div class="cause_section">

CAUSE
The registry is at its size limit. During installation, a number of registry keys are created in the following folder:

HKLM\Software\Microsoft\dasetup

Some of these resistry keys contain a lot of data. If the registry is at its size limit, these large data entries are not written. You receive the errror message that is described in the &quot;Symptoms&quot; section, however, you should receive an error message from the MDAC installer that states that it cannot write to the registry.

<div class="resolution_section">

RESOLUTION
To receive the correct error message from the installer, install MDAC 2.7 SP1. To download MDAC 2.7 SP1, visit the following Microsoft Web site:

http://msdn.microsoft.com/dataaccess

To resolve the size limit problem, increase the maximum registry size in Windows NT 4.0 and Windows 2000. To do this, follow these steps:
 * 1) In Control Panel, double-click System.
 * 2) Click the Advanced tab, and then click Performance Options.
 * 3) Under Virtual memory, click Change.
 * 4) In the Virtual Memory dialog box, change the registry size.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in MDAC 2.7 SP1.

Keywords: kbbug kbfix KB326842

-

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

© Microsoft Corporation. All rights reserved.