Error when you try to convert a virtual machine on an ESXi server by using Microsoft Virtual Machine Converter


Symptoms


When you try to convert a virtual machine that is running on a VMWare 5.5 ESXi server, Microsoft Virtual Machine Converter (MVMC) fails on the "Convert disk(s)" task. The Completion page of the MVMC wizard displays the following error message details:
Microsoft Virtual Machine Converter has encountered an error while attempting to convert the virtual machine. Log

Details: Receiving response from VMWare failed after multiple attempts. See inner exception.
Additionally, the "Log" link in the error message opens a log entry that includes error content that resembles the following:

06/12/2014 08:21:02 -07:00 [7] VERBOSE: Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: Current license or ESXi version prohibits execution of the requested operation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.ReceiveRetry_FailureHandler(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.IndicateFailure(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.Try[T](Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.PostRequest(XElement request, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VimServiceProxy.ExportVM(String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease..ctor(VimServiceProxy proxy, String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
06/12/2014 08:21:03 -07:00 [7] EXCEPTION: Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: 06/12/2014 08:21:02 -07:00 [7] VERBOSE: Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: Current license or ESXi version prohibits execution of the requested operation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.ReceiveRetry_FailureHandler(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.IndicateFailure(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.Try[T](Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.PostRequest(XElement request, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VimServiceProxy.ExportVM(String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease..ctor(VimServiceProxy proxy, String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
06/12/2014 08:21:03 -07:00 [7] EXCEPTION: Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: Current license or ESXi version prohibits execution of the requested operation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.ReceiveRetry_FailureHandler(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.IndicateFailure(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.Try[T](Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.PostRequest(XElement request, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VimServiceProxy.ExportVM(String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease..ctor(VimServiceProxy proxy, String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToMachine(IMachineConversionRequest machineConversionRequest, TaskContext taskContext)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.<>c__DisplayClass6.<ConvertToMachineAsync>b__5()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
06/12/2014 08:21:03 -07:00 [7] Exception caught : Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: Current license or ESXi version prohibits execution of the requested operation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork() ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.ReceiveRetry_FailureHandler(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.IndicateFailure(Object sender, RetryEventArgs e)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.Try[T](Func`1 workToRetry, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.PostRequest(XElement request, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VimServiceProxy.ExportVM(String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease..ctor(VimServiceProxy proxy, String guestVmId, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToMachine(IMachineConversionRequest machineConversionRequest, TaskContext taskContext)
at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.<>c__DisplayClass6.<ConvertToMachineAsync>b__5()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
06/12/2014 08:21:03 -07:00 [7] Exception caught : Microsoft.Accelerators.Mvmc.Engine.ForVMware.Exceptions.VMwarePostReceiveException: Receiving response from VMware failed after multiple attempts. See inner exception. ---> System.InvalidOperationException: Current license or ESXi version prohibits execution of the requested operation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Engine.ForVMware.HttpVMwareRequestWrapper.<>c__DisplayClass6.<PostRequest>b__5()
at Microsoft.Accelerators.Mvmc.Engine.Retry.RetryUtility.TryImplementation[T](TimeSpan initialWaitTime, Double waitScalingFactor, TimeSpan totalWaitTime, Func`1 workToRetry, TaskContext context)
--- End of inner exception stack trace ---
at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork()

Cause


This error occurs if the ESXi server is not associated with a vCenter server. The VMWare ESXi SDK service does not allow write operations without a vCenter server.

Resolution


To resolve this problem, you must install and configure a VMWare vCenter server to manage the source ESXi server.

Status


This behavior is by design.

More Information


The MVMC.log file is located in the current user's %TEMP% folder.