Trying to install microsoft.net_sdk.5.0.408 x64 on a windows 10 machine. Keep getting errors

nope no 1 Reputation point
2022-12-19T20:52:16.853+00:00

As the title states, i have admin access and am trying to install the sdk in order to get some debugging done on this machine. I keep getting errors from windows: 0x80090009.

The account i'm using has full control permissions.

The logs seem to be showing a permissions error, at least according to any information I can find online that's remotely relevant:

[1018:0CC4][2022-12-19T13:19:41]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{59d9f5d4-8e28-4e05-b207-9deff597277c}, options: 0x7, disable resume: No
[1018:0CC4][2022-12-19T13:19:41]i000: Caching bundle from: 'C:\Users\Manager\AppData\Local\Temp{87723DAC-281D-45E6-B004-2D9AD83752A6}.be\dotnet-sdk-5.0.408-win-x64.exe' to: 'C:\ProgramData\Package Cache{59d9f5d4-8e28-4e05-b207-9deff597277c}\dotnet-sdk-5.0.408-win-x64.exe'
[1018:0CC4][2022-12-19T13:19:41]i320: Registering bundle dependency provider: {59d9f5d4-8e28-4e05-b207-9deff597277c}, version: 5.4.822.21928
[1018:0CC4][2022-12-19T13:19:41]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{59d9f5d4-8e28-4e05-b207-9deff597277c}, resume: Active, restart initiated: No, disable resume: No
[1018:1060][2022-12-19T13:19:47]e000: Error 0x80090009: Failed to calculate hash for path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:47]e000: Error 0x80090009: Failed to verify hash of payload: dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:47]e310: Failed to verify payload: dotnet_runtime_5.0.17_win_x64.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009. Deleting file.
[1018:1060][2022-12-19T13:19:47]e000: Error 0x80090009: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi
[0194:1954][2022-12-19T13:19:47]e314: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi from working path: C:\Users\Manager\AppData\Local\Temp{87723DAC-281D-45E6-B004-2D9AD83752A6}\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009.
[0194:1954][2022-12-19T13:19:47]e349: Application requested retry of payload: dotnet_runtime_5.0.17_win_x64.msi, encountered error: 0x80090009. Retrying...
[1018:1060][2022-12-19T13:19:49]e000: Error 0x80090009: Failed to calculate hash for path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:49]e000: Error 0x80090009: Failed to verify hash of payload: dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:49]e310: Failed to verify payload: dotnet_runtime_5.0.17_win_x64.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009. Deleting file.
[1018:1060][2022-12-19T13:19:49]e000: Error 0x80090009: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi
[0194:1954][2022-12-19T13:19:49]e314: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi from working path: C:\Users\Manager\AppData\Local\Temp{87723DAC-281D-45E6-B004-2D9AD83752A6}\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009.
[0194:1954][2022-12-19T13:19:49]e349: Application requested retry of payload: dotnet_runtime_5.0.17_win_x64.msi, encountered error: 0x80090009. Retrying...
[1018:1060][2022-12-19T13:19:51]e000: Error 0x80090009: Failed to calculate hash for path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:51]e000: Error 0x80090009: Failed to verify hash of payload: dotnet_runtime_5.0.17_win_x64.msi
[1018:1060][2022-12-19T13:19:51]e310: Failed to verify payload: dotnet_runtime_5.0.17_win_x64.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009. Deleting file.
[1018:1060][2022-12-19T13:19:51]e000: Error 0x80090009: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi
[0194:1954][2022-12-19T13:19:51]e314: Failed to cache payload: dotnet_runtime_5.0.17_win_x64.msi from working path: C:\Users\Manager\AppData\Local\Temp{87723DAC-281D-45E6-B004-2D9AD83752A6}\dotnet_runtime_5.0.17_win_x64.msi, error: 0x80090009.
[0194:01B0][2022-12-19T13:19:51]e000: Error 0x80090009: Cache thread exited unexpectedly.
[1018:0CC4][2022-12-19T13:19:51]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{59d9f5d4-8e28-4e05-b207-9deff597277c}, resume: None, restart: None, disable resume: No
[1018:0CC4][2022-12-19T13:19:51]i330: Removed bundle dependency provider: {59d9f5d4-8e28-4e05-b207-9deff597277c}
[1018:0CC4][2022-12-19T13:19:51]i352: Removing cached bundle: {59d9f5d4-8e28-4e05-b207-9deff597277c}, from path: C:\ProgramData\Package Cache{59d9f5d4-8e28-4e05-b207-9deff597277c}\
[1018:0CC4][2022-12-19T13:19:51]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{59d9f5d4-8e28-4e05-b207-9deff597277c}, resume: None, restart initiated: No, disable resume: No
[0194:01B0][2022-12-19T13:19:52]i399: Apply complete, result: 0x80090009, restart: None, ba requested restart: No

Can anyone help me out here? Thanks.

Developer technologies | .NET | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    2022-12-19T21:55:52.46+00:00

    this is caused by partial install. delete all .net core sdk msi in the folder you are running the install from. but to put in a clean folder.

    also .net 5 is out of support, you should probably be installing a supported version, net 6 LTS (recommended) or net 7


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.