-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When running against 3rd part application with dotnet-sdk-10.0.100-preview.7.25380.108, UmbracoCMS app failed load page with below error:
chrome-error://chromewebdata/:1 Failed to load resource: the server responded with a status of 401()
Application Name: UmbracoCMS
OS: Windows 11 24H2
CPU: X64
.NET Build Number: dotnet-sdk-10.0.100-preview.7.25380.108
App & App Source checking at: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2541067
Github Link: https://github.com/umbraco/Umbraco-CMS
Verify Scenarios:
1). Windows 10 21H2 AMD64 + dotnet-sdk-9.0.303: Pass
2). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.7.25374.104: Pass
3). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.7.25380.108: Fail
Expected Behavior
The login page can load successful
Steps To Reproduce
App Repro steps:
The machine has dotnet-sdk-10.0.100-preview.7.25380.108 installed.
1.Copy [\...\2541067\Umbraco-CMS] to your local machine.
2. Update Umbraco.Web.UI.runtimeconfig.json with dotnet-sdk-10.0.100-preview.7.25380.108 runtime version:
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.0-preview.7.25380.108"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "10.0.0-preview.7.25380.108"
}
],
App Debug Steps: (Please refer the video "UmbracoCMSDebugRepro.gif" from attachment of devdiv bug )
The machine has dotnet-sdk-10.0.100-preview.7.25372.102 installed.
1.Copy "\...\2541067\AppSourceCode\Umbraco-CMS-contrib.zip" and extract to local machine or clone from https://github.com/umbraco/Umbraco-CMS.
2. Update <TreatWarningsAsErrors>
to false
in \Umbraco-CMS-contrib\Umbraco-CMS-contrib\Directory.Build.props
file.
3. Update the global.json
file to use the .NET version which installed on your machine.
4. Navigate to "\Umbraco-CMS-contrib\Umbraco-CMS-contrib
" folder and execute below command:
git init
git add .
git commit -m "initial"
- Open umbraco.sln with Visual Studio.
- Build "
\Umbraco-CMS-contrib\Umbraco-CMS-contrib\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj
" project. - Update "
\Umbraco-CMS-contrib\Umbraco-CMS-contrib\src\Umbraco.Web.UI\bin\Debug\net9.0\Umbraco.Web.UI.runtimeconfig.json
" file
with dotnet-sdk-10.0.100-preview.7.25380.108 runtime version:
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.0-preview.7.25380.108"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "10.0.0-preview.7.25380.108"
}
],
8.Switch to launch application with Umbraco.Web.UI from Visual Studio.
9. Press F5 to run Umbraco.Web.UI project.
If it is the first time launch the application, please execute the steps from 10~13
10. Fill Name, Email and Password.
11. Click Next button
12. Click Next button.
13. Click Install button.
If it is not the first time launch the application, please execute the step 14 directly.
14. Click "Open Umbraco" button.
Exceptions (if any)
The login page load failed and show "failed to load resource error" in browser DevTool.

.NET Version
10.0.100-preview.7.25380.108
Anything else?
dotnet info:
.NET SDK:
.NET SDK:
Version: 10.0.100-preview.7.25380.108
Commit: 30000d883e
Workload version: 10.0.100-manifests.8bb6be96
MSBuild version: 17.15.0-preview-25380-108+30000d883
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-preview.7.25380.108\
Host:
Version: 10.0.0-preview.7.25380.108
Architecture: x64
Commit: 30000d883e
.NET SDKs installed:
10.0.100-preview.7.25380.108 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.7.25380.108 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.7.25380.108 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.0-preview.7.25380.108 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
@dotnet-actwx-bot @dotnet/compat