microsoft / Dynamics-AX-Integration

Dynamics AX Integration samples and demos.
285 stars 356 forks source link

OData Custom DLLs Don't Work #84

Open DavidKlempfner opened 5 years ago

DavidKlempfner commented 5 years ago

I was getting this error: The key property 'StreetNumberValidity' on for type 'Rsl.DynamicsAxClient.ODataModels.AddressPostalCodeV2' is of type System.Nullable1[[Rsl.DynamicsAxClient.ODataModels.AllEvenOdd, Rsl.DynamicsAxClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]], which is not a simple type. Only properties of simple type can be key properties. According to https://github.com/Microsoft/Dynamics-AX-Integration/issues/34, I should be using these custom DLLs: https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/Packages

However after trying them I'm now getting this error: Could not load file or assembly 'Microsoft.OData.Client' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

How can I fix this?

rajdil commented 5 years ago

Please check if you have provided the Secret Key correct from your registered web API.

Thanks Raj