Skip to content
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

Windows hosting bundle upgrade breaks ANCM on ARM64 machines #60764

Closed
halter73 opened this issue Mar 6, 2025 · 0 comments · Fixed by #60769
Closed

Windows hosting bundle upgrade breaks ANCM on ARM64 machines #60764

halter73 opened this issue Mar 6, 2025 · 0 comments · Fixed by #60769
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-installers Includes: Installers

Comments

@halter73
Copy link
Member

halter73 commented Mar 6, 2025

Starting in .NET 10 preview 2, changes to the Windows hosting bundle installer fix running x64 and x86 web applications with ANCM v2 on ARM64 has broken upgrade scenarios. Some important components like aspnetcorev2.dll and the module entry in applicationhost.config get removed rather than updated if you have a previous version of the hosting bundle already installed.

This causes problems for both IIS and IIS express on ARM64 machines only after attempting to update. Fortunately, you can work around this issue by uninstalling all hosting bundles and reinstalling the .NET 10 preview 2 hosting bundle.

Looking at the dd_dd_DotNetCoreWinSvrHosting__20250303210516_001_AspNetCoreModuleV2_arm64.log installer log in the temp directory we see the following.

MSI (s) (48:E0) [21:05:26:022]: Disallowing installation of component: {4B6BB33A-01F0-48C7-BCE9-5A5514AC0431} since the same component with higher versioned keyfile exists

This is despite the referenced component being newly added by #59483. Fortunately, it looks like @lextm and @joeloff have gotten to the bottom of this issue and are ready with a fix. I just filed this issue for tracking purposes.

@halter73 halter73 added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-installers Includes: Installers labels Mar 6, 2025
lextm added a commit to lextudio/httpplatformhandlerv2 that referenced this issue Mar 6, 2025
lextm added a commit to lextudio/httpplatformhandlerv2 that referenced this issue Mar 6, 2025
lextm added a commit to lextudio/httpplatformhandlerv2 that referenced this issue Mar 6, 2025
halter73 pushed a commit that referenced this issue Mar 13, 2025
* Added correct version numbers to ANCM pure forwarders (#60764)
* Revised component/file relationship (#60764)
lextm added a commit to lextudio/httpplatformhandlerv2 that referenced this issue Mar 15, 2025
* Added correct version numbers to ANCM pure forwarders (dotnet#60764)
* Revised component/file relationship (dotnet#60764)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-installers Includes: Installers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant