[SOLVED] Runtime error opening. -102 (File not found)

Discussions related to using VirtualBox on Windows hosts.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

[SOLVED] Runtime error opening. -102 (File not found)

Post by Izabelcka »

My host is Win7 Pro 64bit.

My virtual account is WinXP 32bit. All of a sudden, my virtual windows does not boot. Here is the message I get:

Runtime error opening 'C:\Users\X\VirtualBox VMs\WinXP\WinXP.xml' for reading: -102 (File not found.).
D:\tinderbox\win-4.1\src\VBox\Main\src-server\MachineImpl.cpp[708] (Machine::registeredInit).
Result Code:
E_FAIL (0x80004005)
Component:
VirtualBox
Interface:
IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

I need help asap. Thanks in advance.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Runtime error opening. -102 (File not found)

Post by mpack »

Lots of likely/possible explanations for this. Can't tell without some basic info:

Does the file mentioned (C:\Users\X\VirtualBox VMs\WinXP\WinXP.xml) actually exist?
If not, then does the folder mentioned (C:\Users\X\VirtualBox VMs\WinXP) exist at least?
If yes to the latter, what is in that folder?


Your file naming seems peculiar btw. Your VM is located in "VirtualBox VMs", implying a VM created by v4 or later. However the settings file has the ".xml" extension instead of ".vbox", implying v3 or earlier VM. Have you been doing some manual tinkering perhaps?
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

No manual tinkering. Once there was the error, I did an update of VirtualBox. But I still got no luck.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Runtime error opening. -102 (File not found)

Post by Perryg »

Does the file mentioned (C:\Users\X\VirtualBox VMs\WinXP\WinXP.xml) actually exist?
If not, then does the folder mentioned (C:\Users\X\VirtualBox VMs\WinXP) exist at least?
If yes to the latter, what is in that folder?
You didn't answer the questions mpack asked.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

Does the file mentioned (C:\Users\X\VirtualBox VMs\WinXP\WinXP.xml) actually exist?

- Yes it exists.

If yes to the latter, what is in that folder?

- These are the files in the folder:
WinXP (Type: VirtualBox Machine Definition)
WinXP (Type: Virtual Disk Image)
WinXP.xml
WinXP.xml-prev
WinXP.xml-tmp
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Runtime error opening. -102 (File not found)

Post by mpack »

Please post a screenshot of an "Explorer" view of that folder. Make sure that Explorer is configured to show the address bar.

I also suggest that you go into Explorer | Tools | Folder options, select the "View" tab, and uncheck the "Hide extensions for known file types" item, since it is both dangerous and confusing.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

Here is the requested screen shot.
Attachments
VBa.jpg
VBa.jpg (46.34 KiB) Viewed 46727 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Runtime error opening. -102 (File not found)

Post by mpack »

I see that you have both a .xml and a .vbox file in the same folder. VirtualBox doesn't do that: this has definitely had manual tinkering. I await the full story with interest.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

When the problem started, the employee working on that station told me they did not do anything. I have a feeling perhaps they tried something.

I looked up the issue myself, then tried this before posting my issue on the forum:
viewtopic.php?f=6&t=33196
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

And I updated the program afterwards, to the latest version.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Runtime error opening. -102 (File not found)

Post by Perryg »

Have you taken any snapshots for this guest? Please say no.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

No I did not take any snapshots for this guest.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Runtime error opening. -102 (File not found)

Post by Perryg »

Since you do not have snapshots you can actually create the guest again and attach the *.vdi file when asked if you want to create a new HDD or use an existing one.

Here is how I do it:
  • Write down all of the guest settings, including the MAC address, backup the original *.vdi file before you do anything else.
    Then select to remove the guest (and NOT delete) the the guests file.
    Shut down VBox and wait 20 seconds and start the main manager again.
    Now create the guest as if it were new. Use the same name as before would be advisable and set the guest settings to what you wrote down.
    When asked to create a new HDD or use an existing one just select the *.vdi file and see if it works.
From what I see though you really should tell Windows to show the file extensions or you could have problems telling what is what.
One last thing, I would backup all of the *.vbox & *.xml files then remove them from the folder, but not the *.vdi, before you start to build again.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

Ok. Will try now and keep you posted on the outcome.

Thanks.
Izabelcka
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Re: Runtime error opening. -102 (File not found)

Post by Izabelcka »

The REMOVE is the option with a red x. Isnt that delete?
Post Reply