-
Notifications
You must be signed in to change notification settings - Fork 78
Generate_IIS : You cannot call a method on a null-valued expression. #56
Comments
Help me please |
Hi @NikitaEgorov - can you post some more information please, the whole output of the command would be useful (you can obscure any secret details, it's just the flow of commands I'd like to see). |
I have VM image Win2008r2Std-Gen1_boot.vhdx execute this command And get result
|
I catch it Generate_IIS:165
AclBuilder is null |
hi @NikitaEgorov , |
@andreputera |
Thanks @NikitaEgorov |
I'm still having the same problems even after adding the "-AclBuilder $AclBuilder" at lines 165 and 192. |
I'm still having the same problems even after adding the "-AclBuilder $AclBuilder" at lines 165 and 192. Update: |
I have a possible fix for this. I am creating a PR. |
Getting the same error: ConvertTo-Dockerfile -ImagePath D:\disk\DEV-SRV-N1.VHDX -Artifact iis -OutputPath C:\i2d2 -Verbose Generate_IIS : You cannot call a method on a null-valued expression.
How can I fix this? |
@automatecloud have you applied the patch from @pulla2908, his PR is not yet merged? |
@DanielTheCoder no, I had this bug during a POC a month ago and the POC is done so far as we did a manual creation of the Dockerfile. So not possible to check if the patch from @pulla2908 will help. I can't confirm that. |
That's the problem with this issue, I haven't been able to reliably replicate it, so I want to spend some more time with the PR before merging. |
I see. |
I have the same config as @DanielTheCoder. my website as virtual applications which are not directly under the wwwroot but in a customers folder another place. And I get the same error :( |
Are there any updates on this? I have a site that is not under wwwroot and get the error every time. Looks like the pull requests are just waiting to be merged? |
I also have this error have edited the Generate IIS PS Script PS C:\Users\jcchris2> ConvertTo-Dockerfile -Local -Artifact IIS -ArtifactParam 276_277_5010/DEV01 -IncludeWindowsFeature
|
It seems any site with a Web Application under it gets the Generate_IIS error, sites with no Web Apps completes and creates a Dockerfile. Is there a workaround to get a site with a Web application to complete and create a Dockerfile? |
Hello, |
Hello. |
I'm trying to containerize IIS running on Windows 2008R2 running on vSphere 6.7. My steps are as follows:
|
The text was updated successfully, but these errors were encountered: