Uploading a .Cab File Times Out

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

If you use the Upload Software feature of the Software Update Service Management Console to upload a new .cab file for Microsoft Office Communicator 2007 Phone Edition or Microsoft RoundTable, the upload sometimes fails with an HttpException, and the event log indicates that the request timed out. Use the following information to help resolve the problem.

Knowledge Base Article 946696

This issue is fixed in the most recent update for the Software Update Server. This update fixes the following issues:

  • The audit logs for the request handler are truncated when read or write operations frequently occur in Windows SharePoint Services 3.0.

  • The "thread abort Http" exception causes the upload process to stop when you try to upload the .cab files on the Communications Server 2007 Management Console.

For details, see Knowledge Base article 946696, “Description of an Update for the Communications Server 2007 Software Update Service,” at https://support.microsoft.com/kb/946696/en-us.

Additional Troubleshooting Information for Timeout Problems when Uploading .Cab Files

Occasionally, depending on the configuration of the system, even with the latest update, you may need to tune some of the timeout settings.

If the upload request times out, the actual exception that is thrown may vary, but the cause is often insufficient resources on the computer that is running Windows SharePoint Services. There may not be enough memory, or the CPU may be too slow, or a combination of both.

Adding more resources such as memory or CPU may resolve this issue. After you have applied the update that is described in Knowledge Base article 946696 (covered previously in this section), if you continue to have timeout problems when uploading a .cab file, and adding more resources is not possible, try the following:

  • Increase the timeout setting on the client

  • Increase the server timeout setting in IIS

Increase Timeout Setting on the Client

Use the following procedure to increase the timeout on the client by editing the web.config file.

To increase the client timeout setting

  1. On the server that is running Office Communications Server 2007 Software Update Service Management Console, locate the web.config file, which is found in <drive>\Program Files\Microsoft Office Communications Server 2007 Web Components\UC Device Updates\Management Console.

  2. Right-click the web.conf, and then click Properties.

  3. Clear the Read-only check box.

  4. Open the file in a text editor, such as Windows Notepad.

  5. Locate the httpRuntime section.

  6. Modify the executionTimeOut parameter of the <httpRuntime> element. For example, the following setting configures the client to time out after 300 seconds.

    <httpRuntime mexRequestLength="90000" executionTimeOut="300" appRequestQueueLImit="30"
    

For details about <httpRuntime>, see <httpRuntime> Element at https://msdn2.microsoft.com/en-us/library/e1f13641(VS.71).aspx

Increase the Server Timeout Setting in IIS

After you increase the client timeout setting, you should also change the server-side timeout setting on the server that is running Windows SharePoint Services. The default is 120 seconds. To do so, follow the instructions in the Knowledge Base article 925083, “Error Message When You Try to Upload a Large File to a Document Library on a Windows SharePoint Services 3.0 Site: ‘Request Timed Out’” at https://support.microsoft.com/default.aspx/kb/925083, in the section titled “Add the executionTimeout Value,” and then restart the Web site that is hosting the SharePoint Services by using the IIS snap-in to stop it and then start the application pool associated with it.