-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Every single release has been unable to properly update the hosting bundle. After updating, no Core/5 sites function, they return http 500. I have to uninstall the components and reinstall for my sites to function. This has been an ongoing issue but I've bit my teeth and done the process of fixing it with each update and complained in the blog posts(with the 5.0 release, it was suggested I fill this out, since I'd already gone through the process of updating all three of our servers, I couldn't give you a "before" dotnet --info). Now that we're at 5.0 and going to be automatically updated, it absolutely needs to be fixed so Microsoft Update doesn't break our servers.
Before running dotnet-hosting-5.0.1-win.exe on Windows Server 2016 1607 14393.4104
C:\Windows\system32>dotnet --info
Host (useful for support):
Version: 5.0.0
Commit: cf258a14b7
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Blazor site works as expected.
After installing, site has a HTTP ERROR 500. IIS indicates site is running. New dotnet --info
Host (useful for support):
Version: 5.0.1
Commit: b02e13abab
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
I try and run a repair, it completes, my site is still dead. Restarting site, restarting IIS, restarting server, nothing fixes it except for uninstalling and reinstalling.
I've only used .NET Core 2.2, 3.0, 3.1, and 5.0 and every single one has done this exact same broken behavior.
Here's dotnet --info AFTER uninstalling the three components and reinstalling the hosting bundle.
Host (useful for support):
Version: 5.0.1
Commit: b02e13abab
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Everything is back up and running.