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

Announcements

No record found.

News and Announcements icon
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?

  • Suggested answer
    huijij Profile Picture
    19,813 on at

    Hi,

    Suggest you refer to the checklist to follow before activation:

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

  • umer draz Profile Picture
    94 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 112 Super User 2026 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 100 Super User 2026 Season 2

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans