Hi,
Previously i had an issue in UltraWingrid control. They told me to run the latest service release. After ran the Latest service release i had an issue in UltraWinDock control. It is referring old version instead of newer version. I checked all the references, License file and resource file but icould n't find that. Can you help me out to resolve the Issue. (I am trying to upgrade from 8.2.20082.1000 to 8.2.20082.2177.)
Exception Details:
Error/Stack : System.IO.FileLoadException: Could not load file or assembly 'Infragistics2.Win.UltraWinDock.v8.2, Version=8.2.20082.1000, 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)File name: 'Infragistics2.Win.UltraWinDock.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError) at System.Resources.ResourceReader.InitSafeToDeserializeArray() at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex) at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode) at System.Resources.ResourceReader.LoadObject(Int32 pos) at System.Resources.ResourceReader.ResourceEnumerator.get_Entry() at System.Resources.ResourceReader.ResourceEnumerator.get_Current() at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet) at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet) at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet) at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture) at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName) at Chesterton.RMS.frmROIDetails.InitializeComponent() at Chesterton.RMS.frmROIDetails..ctor() at Chesterton.RMS.frmROIDetails..ctor(strucUserPrivilege strucUserPrivilege, Int32 selectedUnitId, Int32 defaultEINId, Template defaultTemplate, DataTable dtEIN, DBMODE dbMODE, Facility defaultFacility, Int32 currentROIHdrId) at Chesterton.RMS.frmMain.frmROISummary_oToOpenROIDetails(strucUserPrivilege strucUserPrivilege, Int32 selectedUnitId, Template oTemplate, Int32 selectedEINid, DataTable defaultEINInformation, DBMODE oDBMODE, Int32 roiHdrId)
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Thanks and Regards,
S.Santhanamahalingam
Here i have attached Sample Project with this.
Steps to Reproduce:
1. Build the Sample Application.
2. Create a folder in like C:\\Upgrade Issue Test
3. Copy the .exe file
4. Add the infragistics file for reference.
5. Copy this folder into new machine. (note: it should not have any infragistics control installed)
6. Run the Exe.
7. Click the Button.
Hello Santhanamahalingam, Did you tried to delete the whole content of bin and debug directory and remove all references and add them again. Recheck again your license file if it contains reference to 8.2.20082.1000. Then again rebuild your project. If this doesn’t help, can you send me your sample project how did you encounter this error. Let me know if this solve your problem.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I checked in my GAC (Developer Machine). It contains both 8.2.20082.1000 and 8.2.20082.2177. So in my machine i am not getting any error. But in client machine we are shipping 8.2.20082.2177 dlls only. So that only i am getting above error. Even i couldn't open the screen design in developer machine. It is showing Unable to cast object from infragistics.Win.FontData to infragistics.Win.FontData error. How do i correct this issue?
Santhanamahalingam.S
Hello, The possible reason that can rise such exception is that in your application there is a component that refer to Infragistics2.Win.UltraWinDock.v8.2, Version=8.2.20082.1000. So can you please try to recheck again all your references. They all should point to one location I recommend to use it form GAC. It may possible there is a other component that refer to UltraWinDock and is with the older version. Recheck also your license file and delete the whole content. Rebuild your project. If this doesn’t help you , then delete the whole content of bin and debug directory and remove all references and add them again. Then again rebuild your project. Let me know if this solve your problem.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.