0

I attempted to declare a print background task (PrintSupportExtensionBackGroundTask) in the appx manifest and register it with the system. However, when the foreground application (i.e., the main program) runs, the background task registration fails. Could anyone explain what the system-returned error code means, or how I can debug/trace the process of system registration for background tasks?

The returned error code is: 0x800401F9

Detailed information is as follows:

General

Detail

2
  • Example quick fix script (run as admin) You can attempt resetting the service startup and starting it via command prompt: sc config BrokerInfrastructure start= auto sc start BrokerInfrastructure After this, reboot and verify if the service stays up. (Based on community advice). Commented Nov 3 at 3:43
  • short answer first: 0x800401F9 = CO_E_ERRORINDLL (“Error in the DLL”). It’s a COM activation failure, i.e., Windows tried to spin up your background task’s WinRT component and something in the DLL/activation factory didn’t check out. Commented Nov 3 at 3:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.