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
I've also tried to use the version utility but I got the error below
02:33:39: Updating Infragistics4.Shared.v13.1 Version=13.1.20131.2060 to new reference Infragistics4.Shared.v13.1. Version 13.1.20131.2079 02:33:39: No matching assembly located in available assemblies Infragistics4.Win.UltraChart.v13.1.Design 02:33:39: at Infragistics.VersionUtilitySupport.Core.Product.AssemblyXmlFile.ThrowExceptionWhenAssemblyCouldNotBeFound(String assemblyName, Boolean checkAdditionalMessage) at Infragistics.VersionUtilitySupport.Core.Product.AssemblyXmlFile.LocateNewAssembliesNodeforCurrentAssembly(String assemblyName) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)
Any clue?
Yes I am using reflection. How does it impact to my case? The application is quite large I am afraid I can't send you the sample. Or you can tell me which specific area I should be looking at maybe I can send you some sample for investigation
Hello Kevin,
The suggestion I gave you usually helps in such scenarios, so there could be something specific in your case. Are you using reflection in your application? Is it possible to send me a sample which reproduces this issue and I will be glad to investigate this further for you?
I am waiting for your feedback.
I have tried your suggestions, but still doesn't work. I was using trial version and it worked. After I've entered the product key and upgraded the components I started seeing this exception. I agree with you that must be something related to the upgrade. Could you please advise how should I tackle this. Thanks
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.