1. To remedy the problem we need to go to where we created our Async Server Message Database.
2. Query the dbo.DATASTORE table.
3. Delete the duplicates record (you might run into an FK error because other tables are also using the same record.) Make sure you delete those childs records and then come back and delete the duplicates record in the dbo.DATASTORE table.
4. Once that is done go back in AX > Retail > Channel Database form and fill out the credential.
5. Go to Retail scheduler parameters and click "Sync metadata".
6. If you query the dbo.DATASTORE table you should only see one record.
7. Go back to Async Client Configuration Tool, fill the credential exactly like how you had in AX.
8. Click "Test Connection" you should get a message box prompting "Connection successful".
9. Go to Services and restart the Async Client service.
10. Go to back to Channel database form in AX and run your job and see if it applied. If the job applied your async client service is working like it supposed to.
EDIT:
This is a cascading delete on those FK constraints. If you still get constraints errors make sure you delete other child records first. Go into your channel database and create a new query. Copy the following queries and execute to delete all child records.
delete from DOWNLOADSESSIONDATASTORE where datastoreid in (select id from datastore where name = 'RetailStore')
delete from DATASTOREHEARTBEATLOG where datastoreid in (select id from datastore where name = 'RetailStore')
delete from UPLOADSESSIONLOG where datastoreid in (select id from datastore where name = 'RetailStore')
delete from DATASTORE where name = 'RetailStore'
Thank you so much for this post! It solved my issue!
ReplyDeleteHere is the investors contact Email details,_ lfdsloans@lemeridianfds.com Or Whatsapp +1 989-394-3740 that helped me with loan of 90,000.00 Euros to startup my business and I'm very grateful,It was really hard on me here trying to make a way as a single mother things hasn't be easy with me but with the help of Le_Meridian put smile on my face as i watch my business growing stronger and expanding as well.I know you may surprise why me putting things like this here but i really have to express my gratitude so anyone seeking for financial help or going through hardship with there business or want to startup business project can see to this and have hope of getting out of the hardship..Thank You.
ReplyDeleteGreat post
ReplyDelete