| Previous | Next |
| ERROR_SXS_THREAD_QUERIES_DISABLED | ERROR_SXS_UNKNOWN_ENCODING_GROUP |
ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET
ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET means that code attempted to assign a process default activation context after one had already been established. The process default is a process-wide setting, so competing initialization paths cannot both claim it.
How to correct initialization
- Choose one component to establish the process default activation context during startup.
- Avoid calling the process-default setup path from plug-ins or libraries that can be loaded independently.
- Use scoped thread activation when a component needs temporary binding behavior instead of trying to replace the process default.
This is an initialization-order problem; retrying the same process-wide assignment will not resolve it.
Microsoft: activation context reference
Looking for a different code? Search another status or error code.