felixrieseberg / electron-uwp-background

:zap: Sample explaining how to use UWP background tasks with Electron apps
MIT License
83 stars 13 forks source link

BackgroundTask.BackgroundTask activate with error code 0x80131522. #5

Open plamenmetodiev opened 5 years ago

plamenmetodiev commented 5 years ago

Hello,

I built and ran the application and I saw in the console that the background task was successfully registered, but it can't be triggered. I opened the Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> BackgroundTaskInfrastructrure and enabled the Logs. I get this error message "The background task with entry point BackgroundTask.BackgroundTask and name TimerTriggerTest failed to activate with error code 0x80131522."

What is causing the problem?