Event ID 3 — BITS Cleanup Task
Applies To: Windows Server 2008
BITS (Background Intelligent Transfer Service) Server limits the number of upload sessions that can exist concurrently for a user. If the number of sessions for a user is more than this limit, Task Scheduler is triggered to perform the BITS Cleanup task. Task Scheduler scans the directory and keeps the first number of sessions it encounters. When the number of encountered sessions equals the configured limit, the rest are deleted. By default, Task Scheduler is set to clean up every 12 hours, an interval that can be configured by the administrator.
Event Details
Product: | Windows Operating System |
ID: | 3 |
Source: | BITS Server Extensions |
Version: | 7.0 |
Symbolic Name: | EVENT_CLEANUP_UNEXPECTED_ERROR |
Message: | An unexpected error %2 occurred while Cleanup was running on the virtual directory %1. Try running Cleanup again later. |
Resolve
Correct any unexpected errors
To resolve this issue, correct any unexpected errors:
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
- Open Internet Information Services (IIS) Manager. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Check that BITS metabase properties are installed correctly.
- Under IIS roles services, ensure that IIS6 compatibility layer is installed. Ensure IIS Admin Service is running.
- Ensure that the connect as username and password specified in the virtual directory are accurate and that the user has access to the remote share.
- Run CleanUp task again.
- Click Default Web sites, click the vdir folder, click the Features tab at the bottom of the IIS Manager screen. Click BITS UpLoads.
- Click Run CleanUp Task.
Verify
To verify that the task scheduler has cleaned up all the stale data in BITS:
- Ensure that bitsmgr.dll is present in %windir%\system32.
- Open Task Scheduler. From the Start menu, right-click My Computer, and then click Manage. Click Task Scheduler.
- Verify that a task with name starting with BITS_{vdirname} exists.