Share via


Event ID 21 — BITS Server Configuration

Applies To: Windows Server 2008

Background Intelligent Transfer Services (BITS) server extends Internet Information Services (IIS) to support throttled, restartable uploads. To upload files to a server using BITS, the server must have IIS 7.0 on Windows Server 2008 and the BITS server extension ISAPI installed. The BITS server extension is a subcomponent of IIS, which is a subcomponent of Web Application Server.

To use the upload feature, create an IIS virtual directory on the server where clients can upload files. A virtual directory should be created for each type of client. BITS adds properties to the IIS metabase for the virtual directory created and uses these properties to determine how to upload the files.

 

 

 

 

 

Event Details

Product: Windows Operating System
ID: 21
Source: BITS Server Extensions
Version: 7.0
Symbolic Name: EVENT_UI_ENABLE_HANDLER_ERROR
Message: An exception occurred while enabling BITS uploads for the virtual directory %3. The exception occurred while modifying the handler section %1. Exception : %2

Resolve

Replace the corrupted configuration file

To resolve this issue, replace the corrupted configuration file, IIS ApplicationHost.Config.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To replace the corrupted configuration file:

  1. Ensure that the Internet Information Services (IIS) Admin Service service is started.
  2. Navigate to %Systemdrive%\inetpub\history to locate the last good configuration file. After you locate the last good configuration file, right-click the file, and then click Copy.
  3. Navigate to %Systemdrive%\system32\inetsrv\config\IIS ApplicationHost.Config, and replace this file with the last known good configuration file that you obtained in the previous step.

Verify

To  verify the BITS server has been configured correctly, start the BITS console and ensure that all the properties are displayed without any errors.

To start the BITS console:

  1. Open Internet Information Services (IIS) Manager from the Start menu: Point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Click Features at the bottom of the IIS Manager screen.
  3. Click BITS Uploads and check the settings.

BITS Server Configuration

BITS Infrastructure