microsoft/iis-docker

Windows License Activation failed in image aspnet:4.8

mthalman opened this issue · 2 comments

@monderino commented on Wed Nov 24 2021

Describe the Bug

I have several asp.net framework apps running in a kubernetes cluster. But since the last friday (19. Nov) on of these apps didn't start anymore because the licence check fails and the IIS process isn't started.

All applications are build on the same dockerfile, only the content (the app) is different.
This is my dockerfile:
Screenshot 2021-11-24 at 14 32 31

I checked the windows eventlog to see any difference and I could see that the licence check occur less in the running image.
Here in on the left site is the running image on the right site the image which isn't running.
Screenshot 2021-11-24 at 14 30 07
You can see in both the Software protection service is running, but on the right site the licence check failed.

I tried to get answers on stackoverflow as well, but unfortunately without success.
https://stackoverflow.com/questions/70081941/windows-license-activation-failed-in-mcr-microsoft-com-dotnet-framework-aspnet4

I'm afraid of that this maybe will happen also in my other applications.

Thanks a lot for your help.

Steps to Reproduce

Other Information

The images are build in a github action on the windows latest image.

Output of docker version

Output of docker info


@microsoft-issue-labeler[bot] commented on Wed Nov 24 2021

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

Moved this issue from microsoft/dotnet-framework-docker to microsoft/iis-docker.

cc @John-Hart

Hi,

some update on that. I removed all commands from my iis_settings.ps1 file and now it worked again!