Hi,
Trying to set a VMRC connection, but getting an error.
Is VMRC supported/tested?
The error:
[18/02/2010 15:03]ERROR System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedVMRC.InitializeComponent()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedVMRC..ctor(EmbededConnectionResult aEmbededConnectionResult)
at Devolutions.RemoteDesktopManager.Business.Connectors.EmbeddedVMRCConnector.CreateFrame(EmbededConnectionResult aResult)
Hi,
Yes it's supported, you must install the VMRC Client from the Virtual Server 2005 DVD. I don't think that it's possible to download it directly. Also, Microsoft released a VMRC client plus which does not contains the required ActiveX.
I hope this help.
David Hervieux
Hi,
Thanks for the quick answer.
I don't have the DVD. I just have the VMRC.exe.
Anything I can do, or an installation of the VMRC is a must?
Thanks,
Kmosh.
Hi,
I'm not at the office right now, when I'm back I will verify if I can send you an msi or installer.
David Hervieux
Hi dhervieux,
I've managed to get an installation of Virtual Server 2005 and installed the VMRC client.
However, when trying to connect to a VM, The screen freezes, and then returns back as I didn't attempt a connection.
Below is what comes in the log file:
[22/02/2010 10:38]ERROR System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.AxHost.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Appreciate your advice,
Thanks.
Hi,
I hate this kind of error, this is an ActiveX interrop error. I will see what I can do and come back to you soon.
David Hervieux
Do you use the Virtual Server 2005 R2 ? I nver tried with the original.
David Hervieux
Hi David,
I have used the original VS2005.
I'll try with R2 and update.
Thanks.
Hi David,
I've installed the VS2005 R2 SP1, and now I'm back to my initial problem.
[24/02/2010 15:46]ERROR System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedVMRC.InitializeComponent()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedVMRC..ctor(EmbededConnectionResult aEmbededConnectionResult)
at Devolutions.RemoteDesktopManager.Business.Connectors.EmbeddedVMRCConnector.CreateFrame(EmbededConnectionResult aResult)
Please advice.
Thanks, kmosh.
Hi,
I will send you a small application this week end. It will only contains the Active X.
David Hervieux
Hi David,
Thank you very much.
Will you send it here, or to my email?
Thanks, kmosh.
I was unable to do the small application this week end, I will do it today and postit here.
Sorry for the delay.
David Hervieux
Hi,
I was working on the small application and I found out that I was receiving the same error yout got on my new laptop. I also remembered that the ActiveX is not installed by the VMRC client but directly from the Virtual Server web site. Indeed, you must open the virtual server in Internet Explorer (not firefox) and connect to an existing virtual machine configured. The Active X will be downloaded and installed from the web site, after that you will be able to use in in RDM.
For a reason that I don't understand, I did it twice (start a virtual machine in the browser) before it works but there is no reason, the ActiveX was installed every time but it's only at the second connection that it was registered.
Let me know if it help.
Aslo, the ActiveX is very limited and I saw many refresh problem that I can't resolve because it the Microsoft code.
edited by dhervieux on 3/1/2010
David Hervieux
Hi David,
I opened the VM in a browser (IE7) but it didn't ask me to install an ActiveX (maybe i did it already in the past). I've done it twice as you suggested.
It didn't resolve the problem. When I try to connect to the embedded VMRC session, I see the tab is created, but 10-15 seconds later it just disappears.
The log again show the early problem:
[04/03/2010 11:54]ERROR System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.AxHost.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Thanks, kmosh.
Hi,
So from the web you can connect to your virtual machine ? Can you give me more detail about your computer (OS, 32 / 64 bits ...) ?
David Hervieux
Hi David,
I can connect to the VM from web, also as embedded http connection in RDM (although it popups the login screen few times).
My os is Win XP pro 32 bit.
Thanks, kmosh.
Hi David,
Any news?
Thanks, kmosh.
Hi,
Can you try this application?
David Hervieux
Devolutions inc.
edited by dhervieux on 3/9/2010
David Hervieux
VMRC.zip
Hi David,
I've extracted the zip to c:\vmrc, and configured the application to that path. From the cfg file: <VMRCInstallationPath>C:\VMRC</VMRCInstallationPath>.
Still the same issue, even after I changed the EXE file name from "VMRCConnector.exe" to "VMRC.exe".
I also installed the new version, and also extracted the zip to the default path, with no success.
Same error about protected memory.
Thanks, kmosh.
edited by kmosh on 3/11/2010
It's sad, this application is the most simple form of usage of the ActiveX and it's fail. The problem is really in the VMRC ActiveX and the only solution is to ask Microsoft. I will try to do a search and try to find a solution but I can't promise you anything.
I will do my best.
David Hervieux