VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1465 - 1467 of 16363)

Ticket Resolution Summary Owner Reporter
#8528 fixed COM error - Unkown exception - E_FAIL (0x80004005) - problem launching Virtualbox on a Windows 7 Host Paul Smith
Description

Hi,

I used Virtualbox 3.2.12 for a while and all was fine. I then upgraded to 4.0.4 and found that it would not work with some VHD images that I ported over from Virtual PC. The symptom was a non boot and a black screen. Other threads have indicated that there are some problems with VHD images and 4.0.4.

I therefore decided to revert back to 3.2.12 until the issues are sorted and that's when my troubles began. Every time I try to launch Virtualbox I now get an error:

Failed to create the virtualbox COM object. The application will now terminate Unkown exception d:\tinderbox\win-4.0\src\vbox\main\src-server\virtualboximpl.cpp[518] (virtualbox::init)

Result Code: E_FAIL (0x80004005) Component: VirtualBox Interface: IVirtualBox {d2de270c-1d4b-4c9e-843f-bbb9b47269ff}

Okay I thought - a problem with going back to an old release. So I thought I would go "back to the future" to 4.0.4 and use a conversion tool to convert the VHD's to VDI's. Problem is that I am still getting the error above. I tried deleting the files in .virtualbox under my profile (xml and prev files) but this does not help in either release. I also was careful to reboot after each install / uninstall.

#11855 obsolete COM exceptions in IEventSource.GetEvent() rousseauhk
Description

I run an event handler thread in a Windows Service to check for VM errors, and regularly get the following COM exceptions after running for a while (several hours):

COMException:-2147417848:The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))) at VirtualBox.IEventSource.GetEvent(IEventListener aListener,Int32 aTimeout)

COMException:-2147023174:The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)) at VirtualBox.IEventSource.UnregisterListener(VirtualBox.IEventListener)

The code is just a separate thread that does:

            //subscribe to all events
            VirtualBox.VirtualBox box = new VirtualBox.VirtualBox();
            IEventSource events = box.EventSource;
            IEventListener listener = events.CreateListener();

            try
            {

                VBoxEventType[] subscriptions = new VBoxEventType[] { VBoxEventType.VBoxEventType_Any };
                events.RegisterListener(listener, subscriptions, 0);

                //process events
                while (active)
                {
                    IEvent eventItem = events.GetEvent(listener, 10000);
                    if (eventItem != null)
                    {
                        ... 
                              // handle event
                        ... 
                        events.EventProcessed(listener, eventItem);
                    }
                }
            }
            catch (Exception e)
            {
                XLogger.Error("Fatal Error in VM event handler", e);
            }
            finally
            {
                //shutdown cleanly
                events.UnregisterListener(listener);
            }

There was no VM running at the time, so I havent attached any VM log. The machine in question is Win7 64-bit.

#5268 obsolete COM interface causes SafeArrayTypeMismatchException in .net jamie pate
Description

For unknown reasons' I can't get C# to iterate arrays using the COM interface. It always throws SafeArrayTypeMismatchException. Other people have had this problem as well. http://stackoverflow.com/questions/1126012

ie:

namespace VirtualBoxSample {
	class Program {
		static void Main(string[] args) {
			IVirtualBox vb = new VirtualBoxClass();

			foreach (IMachine machine in vb.Machines) {
				Console.WriteLine(machine.Name);
			}

			Console.ReadLine();
		}
	}
}

referencing {46137EEC-703B-4FE5-AFD4-7C9BBBBA0259}\1.3\0 lbimp

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy