Announcements
The retail transactions are not pulling from Channel database of one particular store to AX HQ database, so we “reset” the channel database to re-upload all records into a new RPF file, we followed the below steps:
After that we found that the P-0001 job was unable to sync the transactions from Channel database of one particular store to the AX database. Whereas at the same time, all the 9999 jobs (sync from AX database to channel database) were working fine and also the P-0001 job (sync from channel database to the AX database) for all remaining store was working fine.
I can see new RPF files is created in upload folder but no change in AX data also CRT.TABLEREPLICATIONLOG table is not populating the records, When I check the Event Viewer in the Channel Database server of that store, I see the below error message:
Failed to upload session data of uploadSessionId 296710 for DataStore with name : 789SDB due to Exception. Error Detail: System.IO.IOException: The process cannot access the file '\\AX-live\AXRetail\upload\789SDB\789SDB-296710-R.rpf' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Dynamics.Retail.SynchService.DataManager.UploadSessionDataManager.UploadSessionData(String dataStoreName, Int64 uploadSessionId, Byte[] data)System.IO.IOException: The process cannot access the file '\\AX-live\DramaAXRetail\upload\789SDB\789SDB-296710-R.rpf' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Dynamics.Retail.SynchService.DataManager.UploadSessionDataManager.UploadSessionData(String dataStoreName, Int64 uploadSessionId, Byte[] data)
We followed the below steps:
We removed the channel database and prepared a fresh new database. The store team re-entered the missing sales on the POS and they got pulled to HQ somehow.
Granted, this is not a proper solution and it is only a workaround.
hi Ahmed,
We're facing the same issue, do you resolve it?
Thanks
Hi Ahmed,
Can you clarify how you resolved this issue?
Hi Ahmed,
If you have a project on LCS environment, from there you can create a support ticket.
Thanks for your reply, could you please let me know how can I create support ticket
Hi Ahmed,
I will leave this for the community to answer. Let's see if anybody has experienced the same and can advise for you anything. If you will not get any help there, please create a support ticket for us.
André Arnaud de Cal...
293,289
Super User 2025 Season 1
Martin Dráb
232,068
Most Valuable Professional
nmaenpaa
101,156
Moderator