Event ID 8 — BITS Uploads
Applies To: Windows Server 2008
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.
|Product:||Windows Operating System|
|Source:||BITS Server Extensions|
|Message:||The user %1 has created %2 upload sessions in virtual directory %3.|
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:
- Open Event Viewer from the Start menu, right-click My Computer, and then click Manage. Click the Event Viewer.
To run Cleanup Task:
- Open Internet Information Services (IIS) Manager. To open IIS Manager, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- 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.
- 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.
- Click Run CleanUp Task found in the right panel.
To verify that the job has been successfully uploaded to the server:
- 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.
- Create a virtual directory and name it vdir.
- 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.
- Open BITS Uploads for the virtual directory vdir.
- Click the vdir folder. Click the Features tab at the bottom of the IIS Manager screen. Click the BITS Uploads tab.
- Select the Enable BITS Uploads check box, and then click Apply.
- 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="http://localhost/vdir">http://localhost/vdir where <windir> is the windows directory path.
- bitsadmin /resume uploadtest
- bitsadmin /info uploadtest