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

Discussions related to using VirtualBox on Windows hosts.

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

Postby Izabelcka » 13. Jul 2012, 05:33

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.
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)

Postby mpack » 13. Jul 2012, 11:33

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?
mpack
Site Moderator
 
Posts: 28131
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)

Postby Izabelcka » 13. Jul 2012, 15:16

No manual tinkering. Once there was the error, I did an update of VirtualBox. But I still got no luck.
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)

Postby Perryg » 13. Jul 2012, 15:29

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.
Perryg
Site Moderator
 
Posts: 34374
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)

Postby Izabelcka » 16. Jul 2012, 05:43

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
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)

Postby mpack » 16. Jul 2012, 11:28

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.
mpack
Site Moderator
 
Posts: 28131
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)

Postby Izabelcka » 17. Jul 2012, 07:50

Here is the requested screen shot.
Attachments
VBa.jpg
VBa.jpg (46.34 KiB) Viewed 25859 times
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)

Postby mpack » 17. Jul 2012, 11:01

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.
mpack
Site Moderator
 
Posts: 28131
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)

Postby Izabelcka » 17. Jul 2012, 21:16

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:
https://forums.virtualbox.org/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)

Postby Izabelcka » 17. Jul 2012, 21:17

And I updated the program afterwards, to the latest version.
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)

Postby Perryg » 17. Jul 2012, 21:23

Have you taken any snapshots for this guest? Please say no.
Perryg
Site Moderator
 
Posts: 34374
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)

Postby Izabelcka » 17. Jul 2012, 21:35

No I did not take any snapshots for this guest.
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)

Postby Perryg » 17. Jul 2012, 21:47

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.
Perryg
Site Moderator
 
Posts: 34374
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)

Postby Izabelcka » 19. Jul 2012, 00:15

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)

Postby Izabelcka » 19. Jul 2012, 00:34

The REMOVE is the option with a red x. Isnt that delete?
Izabelcka
 
Posts: 31
Joined: 13. Jul 2012, 05:30
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win 7 64B

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 39 guests