VMware vSphere Update Manager upload operation fails with the error: A web exception has occurred during file upload
search cancel

VMware vSphere Update Manager upload operation fails with the error: A web exception has occurred during file upload

book

Article ID: 309814

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Uploading the upgrade-from-ESX4.0-to-4.1.0-0.0.build#-release.zip file in VMware vSphere Update Manager fails.
  • You see the error:

    failed to login :
    a web exception has occurred during the file upload

     
  • You see a similar error if you upload the esx-DVD-4.0.0-164009.iso file.


Environment

VMware vSphere Update Manager 5.1.x
VMware vCenter Update Manager 4.1.x
VMware vCenter Server 5.1.x
VMware vCenter Update Manager 5.0.x
VMware vCenter Update Manager 6.0.x
VMware vCenter Server 4.0.x
VMware vCenter Server 4.1.x
VMware vSphere Update Manager 5.0.x
VMware vCenter Server 5.0.x

Cause

This issue occurs if the anti-virus software installed on vCenter Server affects the downloading procedure of the .zip or the .iso file or if the .iso is the correct size. The .iso, by default, is approximately 280 MB.
 
For information on updating the firewall rules to allow Update Manager/vCenter Server access, contact your vendor.

Resolution

Note: After making changes to the firewall configuration, restart these services for the changes to take effect:
  • VMware vCenter Update Manager Service
  • VMware VirtualCenter Management Service
  • VMware VirtualCenter Server Service
For more information, see Stopping, starting, or restarting vCenter services (1003895).

To resolve this issue, stop/restart services and processes:
  1. Stop the VMware Update Manager service.
  2. In the VMware Update Manager instance where this error occurred, stop all Java processes.

    Note: In the VMware Update Manager instance, you can find many spawned java processes. To ensure that a process is a part of VMware Update Manager, open the process location and check if it points to the VMware Update Manager install directory.

     
  3. If the VMware Update Manager service fails to stop even after stopping the Java processes, manually halt the process named vmware-updatemgr.exe*32.
  4. Start the VMware Update Manager service.
  5. Upload the new bulletin.
In case Antivirus is disabled and there are no local Firewall rules blocking file upload try re-installation of Update Manager Application as next step.
 
To uninstall and reinstall Update Manager:
  1. Uninstall Update Manager from Add/Remove Programs.
  2. Open Task Manager and verify if any Update Manager processes are running. Ensure that the rdevServer.exe process is stopped before proceeding.
  3. Delete or move the log files from %temp% and \Windows\Temp folders.
  4. Delete the Windows service vmware-ufad-vci manually and reboot the machine. You can do this by using the Instsrv.exe utility.

    Note: The preceding link was correct as of October 10, 2015. If you find the link is broken, provide feedback and a VMware employee will update the link.

     
  5. Clean up Update Manager installation directory and remove the Update Manager folder from the root install directory.

    Note: The default location is %ProgramFiles%\VMware\Infrastructure\Update Manager.

     
  6. Clean up registry entries under HKLM\Software\VMware, Inc.\VMware Update Manager.
  7. Run the installer again to install VMware Update Manager.
Note: This issue may also occur if:
    • The vCenter Server and Update Manager versions are not compatible. For more information, see vCenter Update Manager Server Compatibility with vCenter Server section in the vSphere Compatibility Matrix.
    • There is no anti-virus software installed or if IPv6 is disabled, a server restart may solve this issue.
    • The password of the username used for vCenter Update Manager installation has been changed (for example: administrator).
    • The .iso image is incorrect. Ensure that you are using the correct .iso image when updating a host.
Upload operation fails during import of a host upgrade release ZIP file

When you try to import a host upgrade ZIP file by using Update Manager, a Failed to login error appears:

A Web exception has occurred during file upload.

The file upload operation and all subsequent attempts fail.


Additional Information

For more information, see VMware Update Manager network port requirements (1004543).
VMware vCenter Update Manager network port requirements
Update Manager のアップロード操作が次のエラーで失敗する: A web exception has occurred during file upload