Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

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

Open
frehnejc opened this issue Mar 5, 2019 · 0 comments

Comments

@frehnejc
Copy link

frehnejc commented Mar 5, 2019

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`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant