HelloI installed the latest version of Infragistics 2010 Vol 2 on the 2009 version vol2. Since I have a conflict on the type Worksheet:The type 'Infragistics.Excel.Worksheet' exists in both 'd: \ Program Files (x86) \ Infragistics \ NetAdvantage 2010.2 \ ASP.NET \ CLR3.5 \ Bin \ Infragistics35.Web.v10.2.dll' and 'd : \ Program Files (x86) \ Infragistics \ NetAdvantage 2010.2 \ ASP.NET \ CLR3.5 \ Bin \ Infragistics35.WebUI.Excel.v10.2.dll 'I do not know what to do?Ideas?
HelloI created a new Web project site. I filed a UltraWebGrid and UltraWebGridExcelExporter. I wrote the code on the type Worksheet and Workbook. Infragistics35.WEBUI.Excel.10.3 DLLs, and Shared.v10.2 UltraWebGrid.Excel.Export.v10.2 UltraWebGrid.v10.2 and are in the references of my project. Everything going well in the compilation. Infragistics35.Web.10.2 I enclose the DLL in the project references and there k'ai the error mentioned in the preceding message.How to solve this problem?
Hello,
I think that in your case you shouldn't use the following dll: Infragistics35.Web.v10.2.dll . Could you please remove it from your refferences and verify the behavior without it.
Please let me know if you have any further questions on this matter.
Hello Yes indeed if I delete this DLL it works. Now I add a WebDialogs of Infragistics. This DLL is required for the WebDialogs. And how can I do, because in my project I use objects forming part of this DLL. Sincerely
Unfortunately you can't refer to the Infragistics35.WebUI.Excel.v10.2.dll and Infragistics35.Web.v10.2.dll simultaneously. Since the UltraWebGrid.Excel.Export.v10.2 is part of our legacy controls, and WebDialogs are part of the new Aikido controls. If you have yo use WebDialogs than recommended controls are WebDataGrid and ExcellExporter instead using UltraWebGrid and UltraWebGridExcellExporter.
Please let me know if you have any further questions.
Hello,I am not in agreement with you. Version 2009 vol 2 had no problem on the compatibility!. I have an application with a lot of code. I will not change anything because you decided to do otherwise and it would use other components to address the problem. Do you know the compatibility. I can not afford to change everything. I think it's a big problem.
One thing that you could probably try to solve your issue is using "extern alias" . You could find more information about it at the following link:
http://www.davidarno.org/c-howtos/aliases-overcoming-name-conflicts-part-2-extern-alias/
Please let me know if you have any other questions.
In this case you are trying to refer to the different platform asseblies at the same time. The first one -
Infragistics35.WebUI.Documents.Excel.v11.1 belongs to the web ASP.NET platform, while the second one belongs to the Windows Forms platform.
Depends on your current needs and platform usage you should open the References of your project and remove the one that you don't need.
Please feel free to let us know if you have any other questions with this matter.
Has this problem been solved? I ask because I am getting a similar error with version 11 of the libraries:
The type 'Infragistics.Documents.Excel.Worksheet' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics35.WebUI.Documents.Excel.v11.1\11.1.20111.2064__7dd5c3163f2cd0cb\Infragistics35.WebUI.Documents.Excel.v11.1.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics3.Documents.Excel.v11.1\11.1.20111.2030__7dd5c3163f2cd0cb\Infragistics3.Documents.Excel.v11.1.dll'
Thanks Craig for verifying the issue and your continued patience.
If there is anything else I can do for you, just let me know.
Best Regards,
Taz.
Hi Taz,
We have tested the 2010.2.2018 service release which resolves this issue and we have no further problems at this stage. Thank you to you and the rest of the team for the helping out with this problem.
Cheers!Craig Wilson
Thanks for looking into this. Your solution sounds good and would atleast prevent conflicts in the same release, until a time when the older controls are removed for good.
Looking forward to the SR!