Following is the exception raised while launching a click once application.
Error
Cannot convert the value in attribute ‘Locator’ to object of type ‘Infragistics.Windows.Themes.ResourceSetLocator’. Object of type ‘Infragistics.Windows.Themes.DataPresenterLunaNormal+Locator’ cannot be converted to type ‘Infragistics.Windows.Themes.ResourceSetLocator’. Error at object ‘Infragistics.Windows.Themes.ResourceSetLoader’.
Object of type ‘Infragistics.Windows.Themes.DataPresenterLunaNormal+Locator’ cannot be converted to type ‘Infragistics.Windows.Themes.ResourceSetLocator’.
Hello,
So that I may best assist you, please answer the following questions:
Is this an error that happens on the first deployment of the Click Once application?
Does it happen on all Machines or only some machines?
What is the version of the NetAdvantage assemblies used? You can find this from the version property for the reference when looking at the properties window in Visual Studio.
When you run the application from the click once deployment and the exception happens, what assemblies are loaded for the application? You can get this information using Process Explorer on the client machine. Process Explorer can be downloaded from http://technet.microsoft.com/en-us/sysinternals/bb896653
Let me know if you have any questions with this matter
Hi, Sorry for late reply. This error occurs during first deployment BUT not on all the machines.Following is the INetAdvantage assembly: Infragistics 9.2.20092.2035, 2094 and 2056
Please find enclosed list of dll's getting loaded along with the image of error i am getting.
Thanks & Regards,Sachin Pandya
Sachin,
The error is being caused because there are two versions of the NetAdvantage assemblies being loaded. To resolve the issue it is necessary to determine why both versions are being loaded.
How are the assemblies being sent to the client machines? Are they prerequisites or included with the click once deployment?
If you look at the folder where it is being deployed to, what are the files in the folder? Are both versions there?
In your project do you have references to both versions of the assemblies?
Let me know if you have any questions with this matter.
Were you able to determine why two versions of the same assemblies are being loaded?
Please let me know if I may be of further assistance on this.