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 :
Microsoft Dynamics AX (Archived)

Failed to create Retail MPOS offline database in ax2012r3

(1) ShareShare
ReportReport
Posted on by 2,014

Hello All,

I am unable to create an offline database with the retail channel configuration tool, getting an error “Retail POS offline provisioning failed. Provisioning offline database failed, dropped offline database”. dbo. schema_info, dbo.scope_config,dbo.scope_info tables are missing in my channel database.

RetailPos_2B00_technoguns.jpg

Notes :

>>I am getting offline database created successfully popup, but immediately getting the above error.

>>In RetailDatabaseUtility log I can see below error: “DBUtilityCore<ProvisionDatabasesForSynchronizationAsync>b__7: The current operation could not be completed because the database is not provisioned for sync or you not have permissions to the sync configuration tables.

>>The account which I’m using to create an offline database have full permissions on the server and SQL level.

>> When I compare my channel database with RetailNewYorkStore channel database (contoso demo vm) these three tables are missing. (dbo. schema_info, dbo.scope_config, dbo.scope_info)

Can any one help me how can I create above three tables my channel database ?

Best Regards,

Ravi Theja Madisetty

https://technoguns.com

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Hello Ravi,

    Please check user's permission on channel database and Dynamics AX database. User must have db_owner, db_datareader, db_writer and db_ddladmin membership on both databases.

  • RM-22040759-0 Profile Picture
    2,014 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Why do we need full permissions on AX database ?

  • Hassan_rulz Profile Picture
    3,801 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Hi Ravi,

    I have faced this error some time ago.

    If you have offline and online dbs on different machines then you have to disable firewalls and enable named pips protocol of SQL must.

    Plus user must have admin rights on local machine and in db server.

    Regards,

    Hassan

  • RM-22040759-0 Profile Picture
    2,014 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Hi Hassan,

    I've verified your suggestions, everything looks fine.

    When I compare my channel database with RetailNewYorkStore channel database (Contoso demo VM) these three tables are missing(dbo. schema_info, dbo.scope_config, dbo.scope_info).

    Do you have any idea, how can we get these tables?

    Best Regards,

    Ravi Theja Madisetty

    https://technoguns.com

  • Hassan_rulz Profile Picture
    3,801 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Hi Ravi,

    Have you configured offline db profiles in AX?

    Regards,

    Hassan

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    I want to give credits to Brian Storie from Microsoft for these steps.


    1. Open Windows File Exporer

    2. Go to: C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Database Utility

    3. Click File > Open Command Prompt > Command Prompt with Admin

    4. Enter the following command 

     RetailDbUtilityCmd.exe DeprovisionChannelDB /StoreServerName:YOURSERVERNAME /StoreDatabaseName:YOURCHANNELDATABASE

    5. After this command completes, open SQL Server Management Studio, connect to the Channel DB.

    6. Expand Tables under the Channel DB

    7. Verify any table that ends with  _tracking are all deleted in YOURCHANNELDATABASE. (if one does not then manually delete it)

    8. Verify the following three tables do not exist (dbo.schema_info   dbo.Scope_config    dbo.Scope_info )  if they do manually delete them

    9. Log into AX

    10. Go to Retail > Setup > POS > Profiles > Offline Profiles

    11. Select the Offline Sync Schema on the left that you are using

    12. Expand the Offline Tables Fast tab

    13. Select the  “Products, Prices, and bar codes”  Profile in the list

    14. Click on the  Offline Scope button at the top

    15. Verify that the Line Details Fast Tab  has at list one table listed inside of it.  (if it does not then you will need to remove this Profile in the previous AX window)

    16. Click Close

    17. Click Close again

    18. Go to Retail > Setup > Retail Scheduler > Channel Integration > Channel Database

    19. Select the Channel Database you are working with

    20. Click Full Sync at the top

    21. Select to run the 1095 job

    22. Verify this job shows as applied to the Channel DB (Retail > Inquiries > Commerce Data Exchange > Download sessions)

    23. After the job has applied  Run “Retail Channel Configuration Utility” under admin. Go to “Create offline database” section. Enter correct channel database and offline database information.  Then click “Apply”.

    24. Channel database and offline database should be provisioned successfully.    

  • RM-22040759-0 Profile Picture
    2,014 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Thanks for sharing setps with me. I will apply these steps in environment and get back to you.

    Best Regards,

    Ravi Theja Madisetty

    https://technoguns.com

  • sumit0417 Profile Picture
    2,890 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Next time you get the same error post the error from the log file. 

    path : C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Database Utility\RetailDatabaseUtility.log

  • RM-22040759-0 Profile Picture
    2,014 on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Hi Ducle,

    Thanks for your help.

    Best Regards,

    Ravi Theja Madisetty

    https://technoguns.com

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Failed to create Retail MPOS offline database in ax2012r3

    Thanks for your

    Duc Le

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans