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

Announcements

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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 205 Super User 2026 Season 1

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 126

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 114 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans