Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
System.Reflection.TargetInvocationException
posted

I've found the exception below

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Infragistics4.Win.UltraWinGrid.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I've already copied the dll into the working folder, but still not working.  Any clue how to resolve it?

Thanks

Parents
No Data
Reply
  • 23930
    Offline posted

    Hello Kevin,

     

    Usually exceptions of the kind “Could not load file or assembly …” are caused when you have upgraded Infragistics reference manually and you have forgotten to set their Specific version to false, clean the content of licenses.licx file from all Infragistics entries, clean and rebuild your solution. So please try this suggestion and if it doesn’t works for you, please let me know when exactly this exception occured for the first time (what have you done with your solution before it happens for first time)? Are you using any custom assembly which internally refers Infragistics assembly?

     

    I am waiting for your response.

Children