microsoft / dotnet-framework-docker

The repo for the official docker images for .NET Framework on Windows Server Core.
https://hub.docker.com/_/microsoft-dotnet-framework
MIT License
710 stars 335 forks source link

Windows License Activation failed in image aspnet:4.8 #855

Closed monderino closed 2 years ago

monderino commented 2 years ago

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 2 years ago

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.

mthalman commented 2 years ago

Issue moved to microsoft/iis-docker #195 via ZenHub