microsoft / microsoft/WindowsAppSDK
Fetching Execution provider with WindowsML ends up with "The product is not applicable or cannot be found."
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
I have an issue when trying to migrate from the experimental-4 nuget package of WindowsAppSdk.ML to the official one ; this issue also happen when I tried to launch the equivalent WindowsML sample:
https://github.com/microsoft/WindowsAppSDK-Samples/issues/533
I tried on several machine, in the same enterprise domain.
I have trouble finding info on internet for the "80073D3B The product is not applicable or cannot be found." error code, but looking at the dev\PackageManager\API\M.W.M.D.PackageDeploymentManager.cpp it seems like the code is not able to find anything at some URI.
```
xception thrown at 0x00007FF99FC566CA (KernelBase.dll) in CppConsoleDesktop.exe: WinRT originate error - 0x80073D3B : 'Deployment Add operation with target volume on Package Windows.Workload.ExecutionProvider.OpenVino.amd64 from: (Windows.Workload.ExecutionProvider.OpenVino.amd64) failed with error 0x80073D3B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.'.
'CppConsoleDesktop.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Symbol loading disabled by Include/Exclude setting.
C:\__w\1\s\dev\PackageManager\API\M.W.M.D.PackageDeploymentManager.cpp(1989)\Microsoft.WindowsAppRuntime.dll!00007FF873D2DFEE: (caller: 00007FF873D865DF) ReturnHr(1) tid(7858) 80073D3B The product is not applicable or cannot be found.
Msg:[ExtendedError:0x80073D3B PackageFamilyName:MicrosoftCorporationII.WinML.Intel.OpenVINO.EP.1.8_8wekyb3d8bbwe PackageUri:uup://Product/Windows.Workload.ExecutionProvider.OpenVino.amd64 : Deployment Add operation with target volume on Package Windows.Workload.ExecutionProvider.OpenVino.amd64 from: (Windows.Workload.ExecutionProvider.OpenVino.amd64) failed with error 0x80073D3B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.] CallContext:[\EnsurePackageSetReadyAsync]
C:\__w\1\s\dev\PackageManager\API\M.W.M.D.PackageDeploymentManager.cpp(499)\Microsoft.WindowsAppRuntime.dll!00007FF873D86646: (caller: 00007FF873C878DF) LogHr(1) tid(7858) 80073D3B The product is not applicable or cannot be found.
Msg:[Error:0x00000000 (0x00000000) PackageFamilyName:MicrosoftCorporationII.WinML.Intel.OpenVINO.EP.1.8_8wekyb3d8bbwe PackageUri:uup://Product/Windows.Workload.ExecutionProvider.OpenVino.amd64 : ] CallContext:[\EnsurePackageSetReadyAsync]
Exception thrown at 0x00007FF99FC566CA (KernelBase.dll) in CppConsoleDesktop.exe: WinRT originate error - 0x80073D3B : 'The product is not applicable or cannot be found.'.
C:\__w\1\s\src\Microsoft.Windows.AI.MachineLearning\PackageDeploymentHelper.cpp(174)\Microsoft.Windows.AI.MachineLearning.dll!00007FF8871BAFF3: LogHr(1) tid(7970) 80073D3B The product is not applicable or cannot be found.
Exception thrown at 0x00007FF99FC566CA in CppConsoleDesktop.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000013958FF470.
```
### Steps to reproduce the bug
- Install WindowsAppSDK 1.8.1
- Build the CppConsoleDesktop[.FrameworkDependent] and run it.
### Expected behavior
The providers are downloaded (like with experimental-4)
### Screenshots
_No response_
### NuGet package version
WindowsAppSDK.ML 1.8.2091
### Packaging type
Unpackaged, not in AppContainer
### Windows version
Windows 11 24H2
### IDE
VS 2022
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.