Event ID 8 — BITS Uploads

Applies To: Windows Server 2008 R2

Background Intelligent Transfer Service (BITS) is used to transfer files asynchronously between a client and a server. BITS Uploads allows uploading of data to a BITS server. An upload job uploads a file to the server, and an upload-reply job uploads a file to the server and receives a reply file from the server application.

 

 

 

Event Details

Product: Windows Operating System
ID: 8
Source: BITS Server Extensions
Version: 6.1
Symbolic Name: EVENT_CLEANUP_TOO_MANY_SESSIONS_WARNING
Message: The user %1 has created %2 upload sessions in virtual directory %3.

Resolve

Check the number of open sessions

To resolve this issue, check the number of open sessions, and then run Cleanup Task.

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

To check the number of open sessions:

  1. Open Event Viewer from the Start menu, right-click My Computer, and then click Manage. Click the Event Viewer.

To run Cleanup Task:

  1. Open Internet Information Services (IIS) Manager. To open IIS Manager, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Click Default Web sites, click the vdir folder, click the Features tab at the bottom of the IIS Manager screen. Click BITS UpLoads in the bottom panel.
  3. Check for the number of sessions limit per user on the CleanUp panel. Check if the number of active sessions as seen from Event Viewer exceeds this number.
  4. Click Run CleanUp Task found in the right panel.

Verify

To verify that the job has been successfully uploaded to the server:

  1. Open Internet Information Services (IIS) Manager. To start IIS Manager from the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Create a virtual directory and name it vdir.
  3. To create virtual directory, click the Content View tab at the bottom of the IIS Manager screen. Expand the nodes under Sites. Right-click Default websites and click Add Virtual Directory.
  4. Open BITS Uploads for the virtual directory vdir.
  5. Click the vdir folder. Click the Features tab at the bottom of the IIS Manager screen. Click the BITS Uploads tab.
  6. Select the  Enable BITS Uploads check box, and then click Apply.
  7. Type the following bitsadmin commands from the Command Prompt window to upload a file:
    • bitsadmin /create /upload uploadtest
    • bitsadmin /addfile uploadtest <windir>\system32\notepad.exe
    • href="https://localhost/vdir">https://localhost/vdir where <windir> is the windows directory path.
    • bitsadmin /resume uploadtest
    • bitsadmin /info uploadtest

BITS Uploads

BITS Infrastructure