Microsoft Hyper-V Support

avatar

Hi @ all,
we renew our Enterprise license today.
The Feature: "Hyper-V Support" is a great thing!!!!!


But i can't find this in the new Version ?! Whats wrong

edit:
okay - meanwhile i found the option:



but no server is shown?! What was the reason?


thanks
greetings from germany
edited by salfer on 3/12/2012

All Comments (25)

avatar

Edit the session and go to the Information tab. You need to set the checkbox to show it is a Hyper-V server.

avatar

HI,




the checkbox is enabled - without this, the HYPER-V column is inactive.

But no server appears...?!

avatar

I just poked around for a minute and see that I can recreate the same issue. My few remaining 2008 Hyper-V servers work but my 2008 R2 servers do not show anything, which I see is the same OS you're using too.

avatar

David Hervieux

avatar

In my environment Windows firewall is disabled. I can also use Hyper-V manager from my workstation.

avatar

Could please try the following:

On the Hyper-V tab click the refresh icon. Open the application logs (Help->View Application Log...).

What do you see? Anything along the lines of "System.UnauthorizedAccessException: Access is denied." This may indicate wrong username, password or domain. Please double check the sessions's "Logon settings" credentials and modify the values as required.

Could you please send us the application log for analysis.

Thanks

Stéfane Lavergne

avatar

It spams this:

[3/12/2012 12:41 PM]ERROR System.InvalidCastException: Unable to cast object of type 'System.String[]' to type 'System.String'.
at Devolutions.RemoteDesktopManager.Business.HyperVVirtualMachine.SetProperty(String name, Object value)
at Devolutions.RemoteDesktopManager.Business.HyperVVirtualMachine..ctor(ManagementObject managementObject)
at Devolutions.RemoteDesktopManager.Managers.HyperVManager.<GetTargetComputers>d__4.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass5.<RefreshHyperVVirtualMachines>b__3()
at Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass15.<Execute>b__14(Object param0)

avatar

[12.03.2012 20:15]ERROR System.InvalidCastException: Das Objekt des Typs "System.String[]" kann nicht in Typ "System.String" umgewandelt werden.
bei Devolutions.RemoteDesktopManager.Business.HyperVVirtualMachine.SetProperty(String name, Object value)
bei Devolutions.RemoteDesktopManager.Business.HyperVVirtualMachine..ctor(ManagementObject managementObject)
bei Devolutions.RemoteDesktopManager.Managers.HyperVManager.<GetTargetComputers>d__4.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass5.<RefreshHyperVVirtualMachines>b__3()
bei Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass15.<Execute>b__14(Object param0)

The same error on all my 2008r2 servers
edited by salfer on 3/12/2012

Another Error if i wan't to use this feature while i was connected over vpn* (to the same server)


[12.03.2012 20:21]ERROR System.Runtime.InteropServices.COMException (0x800706BA): Der RPC-Server ist nicht verfügbar. (Ausnahme von HRESULT: 0x800706BA)
bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
bei System.Management.ManagementScope.InitializeGuts(Object o)
bei System.Management.ManagementScope.Initialize()
bei System.Management.ManagementScope.Connect()
bei Devolutions.RemoteDesktopManager.Managers.HyperVManager.GetTargetComputers(String serverName)
bei Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass5.<RefreshHyperVVirtualMachines>b__3()
bei Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass15.<Execute>b__14(Object param0)
edited by salfer on 3/12/2012
edited by salfer on 3/12/2012

avatar





















Perfect thanks, we are looking into it. I may send you a small test application to help with the debugging.

More information to follow.

Thanks

Stéfane Lavergne

avatar

@Liquidmantis

Could you try this version?

http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.7.0.2.0a.zip

@salfer

I think that you don't have the access rights or the firewall block the WMI (RPC server unavailable)
http://social.technet.microsoft.com/Forums/en-US/virtualmachingmgrhyperv/thread/404551f5-657b-48be-8838-23e38dfd6269/

David Hervieux

avatar










Works like a champ!

avatar










Your Fix works for me too, but only in LAN! If i connect to our Network with PPTP VPN (Firewalls on both Sides disabled), the same error?

avatar

I don't think that the RPC call are supported. Could you verify with the default Microsoft Hyper-V console?

David Hervieux

avatar

David Hervieux

avatar

okay thanks - i research the problem!
And your fix (2008r2) 7.0.2.0.a - is this permanently so, or release a new version officaly?

avatar

Hi,
I already have uploaded the fix in the version 7.0.2.0 if you download it again.

David Hervieux

avatar

Running 7.03. I've checked the boxes for the sessions for my Hyper-V servers. No firewalls between client and Hyper-V servers. I'm still not getting anything. I'm getting the:
[3/16/2012 1:26 PM]ERROR System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at Devolutions.RemoteDesktopManager.Managers.HyperVManager.GetTargetComputers(String serverName)
at Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass5.<RefreshHyperVVirtualMachines>b__3()
at Devolutions.RemoteDesktopManager.Managers.ThreadManager.<>c__DisplayClass15.<Execute>b__14(Object param0)

I have the session configured (on the "Connection" tab) for a credential repository, and if I open the session, I'm connected as expected. Just the Hyper-V window is empty. Am I missing a setting elsewhere? I don't see a "Logon Settings" option anywhere.

avatar

To see the logon setting, you need to enter it in the session Tool tab page.

David Hervieux

avatar

Ah - ok. Same results, whether I use a credential repository, custom credentials, prompt for credentials, etc.

avatar

Are you sure that you have the admin rights for this machine? Does it work with the Microsoft Hyper-V console?

David Hervieux

avatar

Yes. The credential repository I'm using is an admin on the machine (actually, is a domain admin), and is the same cred. repository I use to connect via RDP.

avatar

Could you try the Microsoft Hyper-V tools?

David Hervieux

avatar

Not sure I understand the request. When I RDP into the Hyper-V server, I can use Hyper-V Manager without issue.

avatar

I mean, run Hyper-V Manager from your local machine without the RDP connection.

David Hervieux

avatar

If I run it as another user, specify admin creds for the Hyper-V box, it works fine.