Event ID 1057 — DHCP Database Migration

Updated: December 11, 2007

Applies To: Windows Server 2008

red

Database migration allows you to migrate or convert previous versions of the Dynamic Host Configuration Protocol (DHCP) database to the Windows Server 2008 operating system.

Event Details

Product: Windows Operating System
ID: 1057
Source: Microsoft-Windows-DHCP-Server
Version: 6.0
Symbolic Name: EVENT_SERVER_DATABASE_CONVERSION
Message: The DHCP Server service was unable to convert the temporary database to ESE format:
%1.

Resolve

Re-create the DHCP database export and retry the import

If you tried to export the DHCP database from one server to another and it failed, you might not have completed the steps correctly. There are several procedures that must be done in the correct order to successfully migrate the database. Try to export and import the database again by using the following procedures in the order they are presented.

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To move a DHCP database and configuration to another server:

  1. Log on to the source DHCP server by using an account that is a member of the local Administrators group.
  2. Click Start, click Run, type cmd, and then click OK.
  3. Type netsh dhcp server export C:\dhcp.txt all, and then press ENTER.

Install the DHCP Server service

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To install the DHCP Server service on an existing computer running Windows Server:

  1. At the DHCP server computer, click Start, click Control Panel, and then double-click Add or Remove Programs.
  2. Click Add/Remove Windows Components.
  3. In the Windows Component Wizard, in the Components box, click Networking Services, and then click Details.
  4. Select the Dynamic Host Configuration Protocol (DHCP) check box if it is not already selected, and then click OK.
  5. In the Windows Components Wizard, click Next to install the selected components. Insert the Windows Server 2008 installation CD into your computer CD drive or DVD drive if you are prompted to do this. Setup copies the DHCP server and tool files to your computer.
  6. When Setup is complete, click Finish.

Import the DHCP database

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To import the DHCP database:

  1. Log on as a user who is an explicit member of the local Administrators group. A user account in a group that is a member of the local Administrators group will not work. If a local Administrators account does not exist for the domain controller, restart the computer in Directory Services Restore Mode, and then use the administrator account to import the database as described later in this section.
  2. Copy the exported DHCP database file to the local hard disk of the computer.
  3. Verify that the DHCP service is started on the server computer.
  4. Click Start, click Run, type cmd, and then click OK.
  5. At the command prompt, type netsh dhcp server import c:\dhcpdatabase.txt all, and then press ENTER, where c:\dhcpdatabase.txt is the full path and file name of the database file that you copied to the server.

Authorize the DHCP server

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To authorize the DHCP server:

  1. At the DHCP server computer, click Start, point to All Programs, point to Administrative Tools, and then click DHCP.
  2. In the console tree of the DHCP snap-in, expand the new DHCP server. If there is a red arrow in the lower-right corner of the server object, the server has not yet been authorized.
  3. Right-click the server object, and then click Authorize.
  4. After several moments, right-click the server again, and then click Refresh. A green arrow indicates that the DHCP server is authorized.

Verify

Confirm that the server starts successfully and without errors.

Related Management Information

DHCP Database Migration

DHCP Infrastructure

Community Additions

ADD
Show: