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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

1090 job - Error Synchro : ApplySessionFileToClientDatabase -- The given key was missing from the dictionary.

(0) ShareShare
ReportReport
Posted on by 4,921

hi all,

I have this error when i run the 1090 Job :

ApplySessionFileToClientDatabase encountered Exception. Error Details: System.Collections.Generic.KeyNotFoundException: The given key was missing from the dictionary.
   in System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   in Microsoft.Dynamics.Retail.StoreConnect.Request.Base.SCSimpleXmlDataReader.System.Data.IDataReader.Read()
   in System.Data.SqlClient.SqlBulkCopy.ReadFromRowSourceAsync(CancellationToken cts)
   in System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
   in System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
   in System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)
   in Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.BulkCopyData(SqlConnection connection, SqlTransaction transaction)
   in Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.Run(SqlConnection connection, SqlTransaction transaction)
   in Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessWriteRequest(SqlConnection connection, SqlTransaction transaction)
   in Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader targetRequestHeader)
   in Microsoft.Dynamics.Retail.SynchClient.Core.DownloadAgent.ApplySessionFileToClientDatabase(SessionManager sessionMgr, String fileName)


Best,

*This post is locked for comments

I have the same question (0)
  • Nirvana115 Profile Picture
    4,921 on at

    Any help pls,

  • Nirvana115 Profile Picture
    4,921 on at

    Hi all,

    Any help pls.

    Best,

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at

    Hi Nirvana,

    Is there any customization?

    Or you channel DB is upgraded?

    All other jobs are working fine?

    Regards,

    Hassan

  • Nirvana115 Profile Picture
    4,921 on at

    Hi Hassan,

    Yes, there is the customization in my POS.

    I use CU8 for my channel DB.

    All other jobs work fine.

    Only the job 1090 doesn't work.

    Best;

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at

    Hi Nirvana,

    Have you confirmed that the customized table are properly sync with channel DB as well?

    If there is any difference in any table or even column length etc. then jobs will not sync.

    Are you getting this error for all the stores or just one?

    Regards,

    Hassan

  • Nirvana115 Profile Picture
    4,921 on at

    Hi Hassan

    How to compare table and column length betwen AX DB and POS DB.

    This error exist only for oe Store.

    Best,

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at

    You have to ask your developer about it and get details which tables/column he/she has edited and changed.

    In my case, my dev team always provide me a SQL script which I have to run on Channel db to sync up the tables and columns.

    Regards,

    Hassan

  • Nirvana115 Profile Picture
    4,921 on at

    Hi Hassan,

    Yes, we do the same think, runing the SQL script to sync up the tables and columns.

    Best,

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at

    Could you please share AX version and CU as well?

  • Nirvana115 Profile Picture
    4,921 on at

    Hi,

    AX version : 6.3.5000.138     CU 12

    POS version  6.3.1000.1910    CU 8

    Best,

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans