Page 1 of 1

Unable to import ova file into Oracle VirtualBox

Posted: 2. Mar 2022, 17:47
by technicalranger
Hi Everyone,
I've downloaded the App Gateway for Identity Cloud Service (version 21.3.1-6.0.0) file from IDCS and then extracted the .zip file with 7-zip and when I try to import the .ova file into Oracle VirtualBox I get the following message:
Result Code:
E_INVALIDARG (0x80070057)

I have plenty of free disk space on my Windows 10 machine and have tried other suggestions I found online, but nothing is working.
I've also tried it on another Windows Server machine using latest 6.1 version and had the same issue.

I was able to import the ova file downloaded from here:
oracle virtualization/technologies/vm/downloads/template-downloads

VirtualBox logs seem to indicate an issue with the file, see below. I even tried to open the .ova file with 7-zip and extract the .vmdk file, but 7-zip reports a data error on that file.

00:00:18.355918 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'app-gateway-21.3.1-6.0.0'}, preserve=false aResultDetail=0
00:00:18.356750 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium 'C:\Users\JUSWALKE\VirtualBox VMs\app-gateway-21.3.1-6.0.0\app-gateway-21.3.1-6.0.0-disk001.vmdk' (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102
00:00:33.999946 createImport ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not create the imported medium 'C:\Users\JUSWALKE\VirtualBox VMs\app-gateway-21.3.1-6.0.0\app-gateway-21.3.1-6.0.0-disk001.vdi'.
00:00:33.999959 createImport VMDK: Compressed image is corrupted 'C:\Users\JUSWALKE\app-gateway-21.3.1-6.0.0-disk001.vmdk' (VERR_ZIP_CORRUPTED)}, preserve=false aResultDetail=-22001

Thanks in advance!

Re: Unable to import ova file into Oracle VirtualBox

Posted: 2. Mar 2022, 23:11
by technicalranger
Turned out to be a bad download. Once I got a good download I was able to import the file.

Re: Unable to import ova file into Oracle VirtualBox

Posted: 2. Mar 2022, 23:28
by scottgus1
Great! Glad you kept up the hunt and found a solution!