Could not load file or assembly 'Sage_SA.Work, Version=,

Downloaded the Sage 50 SDK (Simply Accounting) that has C# Example code to run if we want to add information to Sage 50 Accounting Software.Nothing has been modified on my side yet but running the example code i am getting Following Error.

Could not load file or assembly 'Sage_SA.Work, Version=, Culture=neutral, PublicKeyToken=04796331da23c125' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

this error occur when i reach to following code
if (SDKInstanceManager.Instance.OpenDatabase(saiFile, username, password, false, "Sage 50 SDK Sample Program", "SASDK", 1))

the dll exist in the same folder and Version looks same.I am using Sage 50 SDK Release 2017.2 Any help will be appreciated.

Another user that have same problem is here in the link but using different version than i have.

  • I am updating this for Future reader to explain that you may not get Proper error from


    So try other approaches also. In my case i was using Sage database on Network Server but the connection manager expect on local Computer. But i was not getting proper Error.