AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 15.08.2012, 09:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,626 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX2012 Retail: MS Sync Service fails to synchronize transactions from offline database
Источник: http://blogs.msdn.com/b/axsupport/ar...-database.aspx
==============


Synchronization
issue between Offline database and Store database





Issue description

We recently had a case where an offline POS refused to sync transactions to the store database after
it came back online. This retail systemconsisted of a centralized store database and an offline database for each of
the POS machines. On each POS the Microsoft Sync service was running to synchronize the offline database with the
store database. The offline databases were created using the Retail Database Utility and had data, so offline sync had been working at one point.



Troubleshooting



To troubleshoot, we enabled tracing on the AX for Retail
Offline Sync Service as described in this article:



The outcome was following:



ERROR , Microsoft.Dynamics.Retail.Offline.Service, 21,
08/13/2012 14:59:20:313, 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. Exception: Microsoft.Synchronization.Data.DbNotProvisionedException:
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.


at
Microsoft.Synchronization.Data.SqlServer.SqlManagementUtils.VerifyRuntimeVersionExceedsSchema(SqlConnection
connection, String objectPrefix, String objectSchema, Boolean
throwWhenNotProvisioned)







Solution



We discovered that the store database was missing three tables that manage the sync configuration: scope_info, scope_config, and schema_info.



These tables are normally created in the process of creating any new offline database using the Retail
Database Utility. In order to recreate these tables in just the store database we created a new offline database using
the utility (making sure to create a backup of the existing offline database). After this we ran the N-1095
job and restarted the AX for Retail Offline Sync Service which resolved the issue.





Related documentation



Microsoft Sync Framework documentation

http://msdn.microsoft.com/en-us/library/bb902854.aspx



How to: Provision and Deprovision
Synchronization Scopes and Templates


http://msdn.microsoft.com/en-us/library/ff928603.aspx



Release
Notes for Microsoft Sync Framework 2.1




http://download.microsoft.com/downlo...leaseNotes.htm







Authors: Shane Erstad & Kim Truelsen

Date: 15/8-2012




Источник: http://blogs.msdn.com/b/axsupport/ar...-database.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX 2012 Retail: Timeout in DBUtility while installing Offline database Blog bot DAX Blogs 0 09.08.2012 12:11
emeadaxsupport: AX 2012 Retail: Creating Offline Database fails Blog bot DAX Blogs 0 14.05.2012 17:11
emeadaxsupport: AX for Retail 2012: Customizing the Transaction Service Blog bot DAX Blogs 0 19.04.2012 01:14
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
emeadaxsupport: AX for Retail: Tip for Troubleshooting the Retail Transaction Service Blog bot DAX Blogs 0 25.01.2012 10:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 12:52.