Hello all,
I recently setup a new HP Proliant gen9 server and have Server 2012 R2 Datacenter installed.
When I create a new VM and try to attach a .vhdx file that was copied while the VM it was created on was off, I get the following error: Hyper-V encountered an error trying to access an object on computer 'localhost' because the object was not found. I have eliminated other problems like the network adapter by selecting none and I do NOT get this error if I create a VM when creating a new Hard drive or attach one later (even the same one that wouldn't attach here). The full error is below.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Virtualization.Client.Wizards.Framework.WizardPage.GetSubPageAfter(String pageId) at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.EnableNavigationSteps() at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.OnValidationStateChanged(WizardPage page) at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.ActivatePage(WizardPage page) at Microsoft.Virtualization.Client.Wizards.Framework.WizardPage.Activate() at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.GoToPage(WizardPage page) at Microsoft.Virtualization.Client.Wizards.NewVM.NewVirtualMachineWizard.WizardActionFailed(Exception exception) at Microsoft.Virtualization.Client.DelayedUIInvoker.HandleTimerTick(Object sender, EventArgs ea) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- Microsoft.ManagementConsole Assembly Version: 3.0.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ManagementConsole/3.0.0.0__31bf3856ad364e35/Microsoft.ManagementConsole.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- MMCFxCommon Assembly Version: 3.0.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/MMCFxCommon/3.0.0.0__31bf3856ad364e35/MMCFxCommon.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.Virtualization.Client.VMBrowser Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.VMBrowser/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.VMBrowser.dll ---------------------------------------- Microsoft.Virtualization.Client.Common Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Common/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Common.dll ---------------------------------------- Microsoft.Virtualization.Client Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 (winblue_rtm.130821-1623) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.dll ---------------------------------------- Microsoft.Virtualization.Client.Management Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Management/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Management.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- Microsoft.Virtualization.Client.Wizards Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Wizards/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Wizards.dll ---------------------------------------- Microsoft.Virtualization.Client.Settings Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Settings/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Settings.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- Microsoft.Virtualization.Client.Settings.resources Assembly Version: 6.3.0.0 Win32 Version: 6.3.9600.16384 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Settings.resources/v4.0_6.3.0.0_en_31bf3856ad364e35/Microsoft.Virtualization.Client.Settings.resources.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration><system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Thanks,
Danny