none
Microsoft Virtual Machine Converter Error Converting RRS feed

  • Question

  • Hi Everyone,

    I'm trying to use MVMC 3.0 on a Windows 2008R2 Server to capture P2V a Windows2008R2.

    The first step went well, but on the second step he trow an error:

    02/03/2015 17:05:05 +01:00  [1]  Navigating to the 'Before You Begin' page.
    02/03/2015 17:05:07 +01:00  [1]  Moving Forward from the 'Before You Begin' page.
    02/03/2015 17:05:07 +01:00  [1]  Navigating to the 'Machine Type' page.
    02/03/2015 17:05:09 +01:00  [1]  Moving Forward from the 'Machine Type' page.
    02/03/2015 17:05:09 +01:00  [1]  Navigating to the 'Source' page.
    02/03/2015 17:05:19 +01:00  [1]  Value of 'MachineName' = 'dc'
    02/03/2015 17:05:19 +01:00  [1]  Value of 'UseSessionCredentials' = 'False'
    02/03/2015 17:05:19 +01:00  [1]  Pressing Next on the 'Source' page.
    02/03/2015 17:05:19 +01:00  [1]  Displaying busy cursor.
    02/03/2015 17:05:19 +01:00  [1]  Progress bar visibility changed to 'Visible'.
    02/03/2015 17:05:19 +01:00  [1]  Progress message: 'Validating the credentials'.
    02/03/2015 17:05:19 +01:00  [3]  Background worker thread started.
    02/03/2015 17:05:50 +01:00  [1]  Background task is complete.
    02/03/2015 17:05:50 +01:00  [1]  Displaying normal cursor.
    02/03/2015 17:05:50 +01:00  [1]  Progress message: ''.
    02/03/2015 17:05:50 +01:00  [1]  Progress bar visibility changed to 'Hidden'.
    02/03/2015 17:05:50 +01:00  [1]  Moving Forward from the 'Source' page.
    02/03/2015 17:05:50 +01:00  [1]  Navigating to the 'System Information' page.
    02/03/2015 17:05:54 +01:00  [1]  Displaying busy cursor.
    02/03/2015 17:05:54 +01:00  [4]  Background worker thread started.
    02/03/2015 17:05:57 +01:00  [1]  Background task is complete.
    02/03/2015 17:05:57 +01:00  [1]  Displaying normal cursor.
    02/03/2015 17:06:01 +01:00  [1]  Moving Forward from the 'System Information' page.
    02/03/2015 17:06:01 +01:00  [1]  Navigating to the 'Volume Configuration' page.
    02/03/2015 17:06:05 +01:00  [1]  Moving Forward from the 'Volume Configuration' page.
    02/03/2015 17:06:05 +01:00  [1]  Navigating to the 'VM Configuration' page.
    02/03/2015 17:06:12 +01:00  [1]  Moving Forward from the 'VM Configuration' page.
    02/03/2015 17:06:12 +01:00  [1]  Navigating to the 'Hyper-V Host' page.
    02/03/2015 17:06:19 +01:00  [1]  Value of 'MachineName' = 'localhost'
    02/03/2015 17:06:19 +01:00  [1]  Value of 'UseSessionCredentials' = 'True'
    02/03/2015 17:06:19 +01:00  [1]  Pressing Next on the 'Hyper-V Host' page.
    02/03/2015 17:06:19 +01:00  [1]  Displaying busy cursor.
    02/03/2015 17:06:19 +01:00  [1]  Progress bar visibility changed to 'Visible'.
    02/03/2015 17:06:19 +01:00  [1]  Progress message: 'Validating the credentials'.
    02/03/2015 17:06:19 +01:00  [3]  Background worker thread started.
    02/03/2015 17:06:20 +01:00  [1]  Background task is complete.
    02/03/2015 17:06:20 +01:00  [1]  Displaying normal cursor.
    02/03/2015 17:06:20 +01:00  [1]  Progress message: ''.
    02/03/2015 17:06:20 +01:00  [1]  Progress bar visibility changed to 'Hidden'.
    02/03/2015 17:06:20 +01:00  [1]  Moving Forward from the 'Hyper-V Host' page.
    02/03/2015 17:06:20 +01:00  [1]  Navigating to the 'Disk' page.
    02/03/2015 17:06:26 +01:00  [1]  Value of 'DestinationMachineSharePath' = '\\localhost\Hyper-V\P2V\DC'
    02/03/2015 17:06:26 +01:00  [1]  Value of 'IsFixedDisk' = 'False'
    02/03/2015 17:06:26 +01:00  [1]  Moving Forward from the 'Disk' page.
    02/03/2015 17:06:26 +01:00  [1]  Navigating to the 'Workspace' page.
    02/03/2015 17:06:44 +01:00  [1]  Value of 'WorkspacePath' = 'C:\Hyper-V\P2V\DC'
    02/03/2015 17:06:44 +01:00  [1]  Moving Forward from the 'Workspace' page.
    02/03/2015 17:06:44 +01:00  [1]  Navigating to the 'Network Configuration' page.
    02/03/2015 17:06:45 +01:00  [1]  Moving Forward from the 'Network Configuration' page.
    02/03/2015 17:06:45 +01:00  [1]  Navigating to the 'Summary' page.
    02/03/2015 17:06:45 +01:00  [1]  Progress message: 'Verifying if conversion can proceed based on inputs'.
    02/03/2015 17:06:45 +01:00  [1]  Progress bar visibility changed to 'Visible'.
    02/03/2015 17:06:45 +01:00  [5]  Background worker thread started.
    02/03/2015 17:06:45 +01:00  [1]  Background task is complete.
    02/03/2015 17:06:45 +01:00  [1]  Value of 'SummaryPageConversionWarnings' = ''
    02/03/2015 17:06:45 +01:00  [1]  Progress message: ''.
    02/03/2015 17:06:45 +01:00  [1]  Progress bar visibility changed to 'Hidden'.
    02/03/2015 17:06:46 +01:00  [1]  Moving Forward from the 'Summary' page.
    02/03/2015 17:06:46 +01:00  [1]  Navigating to the 'Completion' page.
    02/03/2015 17:06:46 +01:00  [6]  Background worker thread started.
    02/03/2015 17:06:46 +01:00  [6]  VERBOSE:	Starting the P2V conversion.
    02/03/2015 17:06:46 +01:00  [6]  VERBOSE:	Source physical machine: dc
    02/03/2015 17:06:46 +01:00  [6]  VERBOSE:	Account used for the source physical : Administrator
    02/03/2015 17:06:46 +01:00  [6]  VERBOSE:	Target Hyper-V host: localhost
    02/03/2015 17:06:47 +01:00  [6]  VERBOSE:	Evaluating the P2V conversion request.
    02/03/2015 17:06:47 +01:00  [6]  VERBOSE:	Evaluating P2V Machine conversion request:
     Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.P2VMachineConversionRequest
    02/03/2015 17:06:47 +01:00  [6]  VERBOSE:	Destination operating system information:
      Operating System Name: Microsoft Windows Server 2008 R2 Standard 
      Version:               6.1.7601
      Service Pack:          Service Pack 1,0
      CIMOS Type:            18
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Copying directly to target Vm folder: False. Disk-to-VHD BITS client machine: HyperV2k8R2, target location C:\Hyper-V\P2V\DC\MVMC\0\.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Using https: True.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Physical machine drives:
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: \\?\Volume{3dd1183e-abbc-11e4-89a5-806e6f6e6963}\. Mounted device value: fc52b87a0000100000000000. Volume Guid: \\?\Volume{3dd1183e-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: True. IsWindows: False.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: C. Mounted device value: fc52b87a0000500600000000. Volume Guid: \\?\Volume{3dd1183f-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: False. IsWindows: True.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: D. Mounted device value: fc52b87a000090fc0a000000. Volume Guid: \\?\Volume{3dd11840-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: False. IsWindows: False.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: E. Mounted device value: fc52b87a0000903117000000. Volume Guid: \\?\Volume{3dd11841-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: False. IsWindows: False.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Selected drives:
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: \\?\Volume{3dd1183e-abbc-11e4-89a5-806e6f6e6963}\. Mounted device value: fc52b87a0000100000000000. Volume Guid: \\?\Volume{3dd1183e-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: True. IsWindows: False.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: C. Mounted device value: fc52b87a0000500600000000. Volume Guid: \\?\Volume{3dd1183f-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: False. IsWindows: True.
    02/03/2015 17:06:48 +01:00  [6]  VERBOSE:	Device ID: D. Mounted device value: fc52b87a000090fc0a000000. Volume Guid: \\?\Volume{3dd11840-abbc-11e4-89a5-806e6f6e6963}\. IsBoot: False. IsWindows: False.
    02/03/2015 17:06:58 +01:00  [6]  VERBOSE:	Source machine image deployment file name: 0.1.0x6400000.1.0x6e5951c.0x0.\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1
    02/03/2015 17:06:58 +01:00  [6]  VERBOSE:	Target file name: C:\Hyper-V\P2V\DC\MVMC\0\3dd1183e-abbc-11e4-89a5-806e6f6e6963.vhd
    02/03/2015 17:06:58 +01:00  [6]  VERBOSE:	Source machine image deployment file name: 0.1.0xaf6400000.0.0x44631e15.0x0.\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy2
    02/03/2015 17:06:58 +01:00  [6]  VERBOSE:	Target file name: C:\Hyper-V\P2V\DC\MVMC\0\C.vhd
    02/03/2015 17:06:59 +01:00  [6]  VERBOSE:	Source machine image deployment file name: 0.1.0xc35000000.0.0x5bb32b0e.0x0.\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy3
    02/03/2015 17:06:59 +01:00  [6]  VERBOSE:	Target file name: C:\Hyper-V\P2V\DC\MVMC\0\D.vhd
    02/03/2015 17:13:07 +01:00  [6]  EXCEPTION:	System.TypeInitializationException: The type initializer for 'Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
       at Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver.Initialize()
       at Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver.Resolve[T](ResolverOverride[] parameters)
       at Microsoft.Accelerators.Mvmc.Engine.Drive.Virtual.Internal.VirtualHardDiskInternal.OpenImpl(String path, VirtualStorageTypeDevice vhdType, VirtualDiskAccessMask access)
       at Microsoft.Accelerators.Mvmc.Engine.Drive.Virtual.VhdVirtualDisk..ctor(String path, FileAccess access)
       at Microsoft.Accelerators.Mvmc.Engine.Drive.Virtual.VirtualDiskBase.GetVirtualDisk(String path, FileAccess access)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PhysicalMachineConversionService.FixupWindowsDrive(String tempDirectory, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PhysicalMachineConversionService.Fixup(String tempDirectory, IPostProgress fixupDiskPhase, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PhysicalMachineConversionService.ConvertToMachine(IP2VMachineConversionRequest p2vMachineConversionRequest, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PhysicalMachineConversionService.<>c__DisplayClass4.<ConvertToMachineAsync>b__3()
       at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    02/03/2015 17:13:07 +01:00  [6]  Exception caught : System.TypeInitializationException: The type initializer for 'Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
       at Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver.Initialize()
       at Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
       at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork()
    02/03/2015 17:13:07 +01:00  [1]  Background task is complete.
    02/03/2015 17:13:07 +01:00  [1]  Conversion error message is displayed.
    02/03/2015 17:13:07 +01:00  [1]  Value of 'ErrorMessage' = 'The type initializer for 'Microsoft.Accelerators.Mvmc.Engine.EngineObjectResolver' threw an exception.'
    

    Tuesday, February 3, 2015 3:08 PM

All replies

  • Greetings, I am experiencing same issue. The error log is identical except for the vm name and locations  I need help desperately. I have a deadline to meet up with.  
    • Proposed as answer by Maximas3 Thursday, February 19, 2015 9:29 PM
    Wednesday, February 18, 2015 4:13 PM
  • Same Here!
    Wednesday, February 18, 2015 8:39 PM
  • Had the same issue. After updating to powershell 3.0, it works like charm...
    Thursday, February 19, 2015 9:32 PM
  • Powershell 3.0 on the physical system you are virtualizing or on the server that your running the tool from?  Or both?
    Thursday, February 19, 2015 10:01 PM
  • Same problem here, with version 3.1 of the converter and .NET 4.5. No idea of what's the problem...
    I miss the times when software threw meaningful error codes for the user.
    • Edited by frapetti Wednesday, July 29, 2015 6:05 PM
    Wednesday, July 29, 2015 6:05 PM
  • Ok, i found the problem!! You need Powershell 3.0 for it to work!!!

    I found it by looking at the specific error, not in the context of virtual machine converter, but in general.

    The requirements for the converter list this in a not-so-clear way:

    Supported Operating System

    Windows Server 2008 R2 SP1, Windows Server 2012, Windows Server 2012 R2

    Before you install Microsoft Virtual Machine Converter (MVMC), you must install the following software on the computer on which you want to run MVMC:
    • Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 SP1 operating systems
    • Microsoft .NET Framework 3.5 and .NET Framework 4 if you install MVMC on Windows Server 2008 R2 SP1
    • Microsoft .NET Framework 4.5 if you install MVMC on Windows Server 2012 or Windows 8.
      Note Although MVMC installs on all of these versions, using the Windows PowerShell cmdlets that are released as part of MVMC requires Windows PowerShell Runtime 3.0, and the cmdlets function only on Windows Server 2012 R2, Windows Server 2012, Windows 8.1, or Windows 8.
    • Install Feature Bits Compact server
    • Visual C++ Redistributable for Visual Studio 2012 Update 1

    (Italics and Underline added by me)

    It would be easier to see if it wasn't in the same list item as the .NET Framework 4.5 requirement...

    I used it to do P2V in Server 2008 R2, and it worked after installing PowerShell 3.0, but the text mentions that at least some cmdlets require Server 2012, or Win 8+, so it's possible that some of the functionality would work only on those OS?
    Thursday, July 30, 2015 12:43 PM
  • I had the same problem, after installing powershell 3.0 it worked.

    Thank you very much.
    Monday, November 26, 2018 3:14 PM