Compiler error message is 'BC30560:'Style Is ambiguous in the namespace 'Infragistics.WebUI.Shared'.
I am trying to apply preset for webtab.when i am trying to run thecpage it shows the above error.Can any one suggest how to solve it?
Thank Frieds is the Best Solution
Hi!,
I am receiving similar error on my web page which has a web grid:
BC30560: 'ImageUrls' is ambiguous in the namespace 'Infragistics.WebUI.UltraWebGrid'.
I just upgraded the project from net advantage 2005 to 2009. It was working fine before. I have checked web.config and it only has .NET 2.0 assemblies.
Please help...
Thanks
if any body has this type of error.
Just open web.config file. You will find multiple versions of contol like following
I dont need following so i deleted , where these(Infragistics35.WebUI.WebCombo.v9.2,) are conflicting with Infragistics2.WebUI.UltraWebGrid.v9.2
<add assembly="Infragistics35.WebUI.WebCombo.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.Shared.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.UltraWebGrid.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
it just works fine.
add assembly="Infragistics2.WebUI.UltraWebGrid.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics2.WebUI.Shared.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
Hi Tony ,
Thank u very much for your help. Its because of multiple versions of the same assembly.Now i changed version numbers and its working fine.
It sounds like you're inadvertantly adding multiple versions of the same assembly. Do you have version info in your preset perhaps? This may not even be related to the preset. check and make sure that you only have one reference to Infragistics.WebUI.Shared, and that each of the Infragistics assembly references match in version number.
Hope this helps,
-Tony