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

Generate_IIS : You cannot call a method on a null-valued expression. #74

Open
mathimagam opened this issue Oct 26, 2018 · 2 comments
Open

Comments

@mathimagam
Copy link

mathimagam commented Oct 26, 2018

when I executing the following command,
ConvertTo-Dockerfile -Local -OutputPath F:\Docker\Docker -Artifact IIS -Verbose
I got the following error,
VERBOSE: Using local drive: C:
VERBOSE: Starting conversion process
VERBOSE: Started discovering IIS artifact
VERBOSE: Checking IIS ApplicationHost config for Windows Version: 10.0
VERBOSE: Target Image Version 10.0.17134.112
VERBOSE: IIS service is present on the system
VERBOSE: ASP.NET is present on the system
VERBOSE: .NET 3.5 is present on the system
VERBOSE: Finished discovering IIS artifact
VERBOSE: Generating Dockerfile based on discovered artifacts in :C:
VERBOSE: Generating result for IIS component
VERBOSE: Copying IIS configuration files
VERBOSE: Writing instruction to create site Default Web Site
VERBOSE: Processing source directory: C:*\wwwroot
VERBOSE: Copying content from source: C:*
\wwwroot, to: F:\Docker\Docker
VERBOSE: Creating web app dynamicreport/dynamicreport
VERBOSE: Processing source directory: E:\report\gene\DynamicReportUI
Generate_IIS : You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Private\GenerateDockerfile.ps1:34 char:23

  • ... ockerfile = & "Generate_$Artifact" -MountPath $MountPath -ManifestPat ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Generate_IIS], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull,Generate_IIS
@m2f0
Copy link

m2f0 commented Jan 4, 2019

Same error here. Another forgot issue?

@varunnair82
Copy link

Same error, did not find a solution yet.

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

3 participants