Browse the archive

Tag: SkipDiscovery

Solved: Dynamics 365 Unable to Cast Object Error

Problem: While testing an existing C# app that connected to our Dynamics 365 environment, we encountered an unusual error after updating the CRM SDK Nuget package used by the app. System.InvalidCastException: ‘Unable to cast object of type ‘Microsoft.Xrm.Sdk.Entity’ to type ‘XXXX.Xrm.Model.XXXX.’
Read article