docker-archive / communitytools-image2docker-win

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetManifestFromMetabase : Method invocation failed because [System.Xml.XmlElement] does not contain a method named 'where'.

frehnejc opened this issue · comments

Using a 2003 R2 VM as input running NerdDinner MVC 4 app:
`VERBOSE: User specified the Force Parameter. Removing existing items from C:\temp\NerddinnerCont
VERBOSE: User specified path C:\temp\NerddinnerCont has been created
VERBOSE: Reading image file: C:\Users\Public\Documents\Hyper-V\Virtual hard disks\NerdDinnerAppServer.vhdx
VERBOSE: Image file appears to be a valid WIM or VHDX file.
VERBOSE: Image file C:\Users\Public\Documents\Hyper-V\Virtual hard disks\NerdDinnerAppServer.vhdx contains 1 images
VERBOSE: This image appears to be a valid Virtual Hard Drive (VHDX) file.
VERBOSE: Image type is: VHDX
VERBOSE: User didn't specify a mount path. Using: C:\Users\user\AppData\Local\Temp\0f997208-e143-4a4a-a521-1468adbba726-mount
VERBOSE: Finished mounting image C:\Users\Public\Documents\Hyper-V\Virtual hard disks\NerdDinnerAppServer.vhdx at mount point C:\Users\user\AppData\Local\Temp\0f997208-e143-4a4a-a5
21-1468adbba726-mount
VERBOSE: Finished mounting image to: C:\Users\user\AppData\Local\Temp\0f997208-e143-4a4a-a521-1468adbba726-mount
VERBOSE: Starting conversion process
VERBOSE: Started discovering IIS artifact
VERBOSE: Checking IIS MetaBase config for Windows Version: 5.2
VERBOSE: Found: 1 sites
VERBOSE: Finished dismounting the Windows image from C:\Users\jfrehner\AppData\Local\Temp\0f997208-e143-4a4a-a521-1468adbba726-mount
GetManifestFromMetabase : Method invocation failed because [System.Xml.XmlElement] does not contain a method named 'where'.
At C:\repo\docker\communitytools-image2docker-win\Functions\Private\Artifacts\IIS\Discover_IIS.ps1:46 char:27

  • ... estResult = GetManifestFromMetabase -OutputPath $OutputPath -MountPat ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (where:String) [GetManifestFromMetabase], RuntimeException
    • FullyQualifiedErrorId : MethodNotFound,GetManifestFromMetabase`