New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WindowsServer 2022] https://aka.ms/dotnetcore-6-0-windowshosting fails to register AspNetCoreModuleV2 under IIS #47791
Comments
@wtgodbe This maybe looks like something we've seen before? |
Could you share logs from the first install of the hosting bundle? They should be in %temp% after the install. CC @joeloff in case this looks like something you've seen before |
There are a number of features that need to be enabled before the hosting bundle installs ANCM. On the main screen of the install it would show a warning message if ANCM is going to be skipped. The logs should have similar information. |
Adding logs from 1st attempt, and 2nd with repair option. What needs to be installed on the machine apart from IIS to get dotnethosting added during first attempt, could you please share required features? |
We can't download arbitrary zip files from a git issue for security reasons, could you host them as a github gist? |
alright, here are logs https://gist.github.com/tomasmsft/0caed92a5f89bbfbcefb351e7e43138d I know why we see this, it appears this component is already part of the image (preinstalled, part of gallery image). Do you think base image of Windows should have just dotnet runtime, why would you install Windows Server Hosting if IIS role is missing? |
That's a good question, I'm not sure how much control/impact we have on those images - @Tratcher do you happen to know if we work with the team who makes those default VMs, or why ANCM would be installed by default on them when IIS isn't enabled? |
Yes, we work with the eng team to ask for specific things to be installed. Start with first responders. |
Wait, those aren't our CI VMs, those are official public VM images? @tomasmsft where are you getting this VM image, Azure? |
Yes, this is Azure deployment, Windows Server 2022 gallery image "imageReference": { Im using managed image service to customize image, to add additional software and I was surprised dotnethosting is installed already. Its listed under Add/Remove programs, together with Microsoft Edge. |
There were some changes in the market images last year that were deployed around January this year IIRC. Mostly not using the hosting bundle as the default installation because IIS is turned off on the images by default and it unnecessarily added the ASP.NET runtime. I think they still ended settling on the hosting bundle so that users could easily enable IIS/ANCM, but I need to double check on that. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Same issue I reported here #47128 , I believed it was syscheck related, but it wasnt |
Prerq:
Install Dotnethosting:
https://aka.ms/dotnetcore-6-0-windowshosting
restart IIS (net stop was /y; net start w3svc)
Expected:
Workaround, rerun installer with /repair option
dotnet-hosting-6.0.*-win.exe /q /norestart /repair
restart IIS (net stop was /y; net start w3svc)
The text was updated successfully, but these errors were encountered: