web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Cant activate CPOS - The application initialization failed and A database error has occurred

(0) ShareShare
ReportReport
Posted on by 87

Hi, 

I'm trying to activate a CPOS after we did a database copy and migrated master data, but i'm experiencing some issues. 

I'm getting two different error codes, and I don't find a logic which explain when i'm getting the one rather then the other. 

The first one I get is this one, which appear before I come to the activation part: 

"The application initialization failed. Please try again or contact your system admin.  
Error details
Step InitializeExtensibilityFramework failed with error: ["{\"stack\":\"CommerceError\\n at new CommerceError (https://XXXXXXXpos.axcloud.dynamics.com/Commerce.TypescriptUtilities.js:464:36)\\n at ErrorConverter.toCommerceErrors (https://XXXXXXXpos.axcloud.dynamics.com/Commerce.TypescriptUtilities.js:117:37)\\n at https://XXXXXXXpos.axcloud.dynamics.com/Commerce.TypescriptUtilities.js:103:31\\n at Array.forEach (<anonymous>)\\n at ErrorConverter.toCommerceErrors (https://XXXXXXXpos.axcloud.dynamics.com/Commerce.TypescriptUtilities.js:102:32)\\n at https://XXXXXXXpos.axcloud.dynamics.com/Pos.Framework.js:1865:81\",\"message\":\"\",\"name\":\"CommerceError\",\"_errorCode\":\"string_29000\",\"_title\":\"\",\"_handled\":false,\"errorCode\":\"string_29000\",\"title\":\"\",\"handled\":false,\"__proto__\":{}}"]

The other is is shared below: 
pastedimage1660133405239v1.png

 

We did run the Environment Reprovisioning tool, pressed initialize in commerce parameters, ran the Initialize commerce scheduler, ran a full sync on the channel database, and ran the 9999 distribution schedule job. 

Have anyone else experienced this and know how to solve the issue?

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Cant activate CPOS - The application initialization failed and A database error has occurred

    Hi,

    Suggest you refer to the checklist to follow before activation:

    docs.microsoft.com/.../retail-device-activation

  • umer draz Profile Picture
    94 on at
    RE: Cant activate CPOS - The application initialization failed and A database error has occurred

    I would perform check on the URL. you can test the ping URL as described in below article.

    https://{Commerce server URL}/commerce/healthcheck?testname=ping

    if thats working then You just need to specify URL like below

    https://{Commerce server URL}/commerce

    If it still fails, check the logs.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 914

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 256 Super User 2025 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 182 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans