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.
|Product:||Windows Operating System|
|Source:||BITS Server Extensions|
|Message:||An exception occurred while enabling BITS uploads for the virtual directory %3. The exception occurred while modifying the handler section %1. Exception : %2|
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:
- Ensure that the Internet Information Services (IIS) Admin Service service is started.
- 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.
- 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.
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:
- Open Internet Information Services (IIS) Manager from the Start menu: Point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Click Features at the bottom of the IIS Manager screen.
- Click BITS Uploads and check the settings.