Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Infragistics v8.3 .NET 2.0 dlls Conflict with v8.3 .NET 3.5 dlls
posted

I have upgraded to VS 2008 and Infragistics v8.3 NET 3.5 tools.

I have the tools installed on the toolbar. 

I have upgraded a existing project from the .NET 2.0 framework to the .NET 3.5 framework using the VS 2008 upgrade wizard.

I have changed the references in my web.config and pages.config to reference the Infragistics2.... assemblies.

but when i run the page with a webpanel on it I get

Compiler Error Message: CS0433: The type 'Infragistics.WebUI.WebResizingExtender' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics2.WebUI.WebResizingExtender.v8.3\8.3.20083.1009__7dd5c3163f2cd0cb\Infragistics2.WebUI.WebResizingExtender.v8.3.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics35.WebUI.WebResizingExtender.v8.3\8.3.20083.1009__7dd5c3163f2cd0cb\Infragistics35.WebUI.WebResizingExtender.v8.3.dll'

for example in web.config

<compilation debug="true">

<assemblies>

<add assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.Misc.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.Shared.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebCalcManager.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebGauge.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebGrid.DocumentExport.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebGrid.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebListBar.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebNavigator.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebTab.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.UltraWebToolbar.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebCombo.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebDataInput.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebDateChooser.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebHtmlEditor.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebNavBar.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebResizingExtender.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebSchedule.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebScheduleDataProvider.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics2.WebUI.WebSpellChecker.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="Infragistics35.WebUI.WebResizingExtender.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/></assemblies>

</compilation>

and in pages. config

<pages theme="Default" >

<controls>

<!--<add tagPrefix="UC" tagName="ContentBody" Source="/secured/controls/contentbody.ascx" />-->

<add tagPrefix="igexcel" namespace="Infragistics.Excel" assembly="Infragistics2.Excel.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB" />

<add tagPrefix="igmisc" namespace="Infragistics.WebUI.Misc" assembly="Infragistics2.WebUI.Misc.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igtxt" namespace="Infragistics.WebUI.WebDataInput" assembly="Infragistics2.WebUI.WebDataInput.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igtbar" assembly="Infragistics2.WebUI.UltraWebToolbar.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebToolbar" />

<add tagPrefix="ignav" assembly="Infragistics2.WebUI.UltraWebNavigator.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebNavigator" />

<add tagPrefix="igtab" assembly="Infragistics2.WebUI.UltraWebTab.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebTab" />

<add tagPrefix="igtbl" assembly="Infragistics2.WebUI.UltraWebGrid.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebGrid" />

<add tagPrefix="igcmbo" assembly="Infragistics2.WebUI.WebCombo.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebCombo" />

<add tagPrefix="igcmbo" assembly="Infragistics2.WebUI.UltraWebGrid.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebGrid" />

<add tagPrefix="iglbar" namespace="Infragistics.WebUI.UltraWebListbar" assembly="Infragistics2.WebUI.UltraWebListbar.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig_spell" namespace="Infragistics.WebUI.WebSpellChecker" assembly="Infragistics2.WebUI.WebSpellChecker.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig_sched" namespace="Infragistics.WebUI.WebSchedule" assembly="Infragistics2.WebUI.WebSchedule.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig_scheduledata" namespace="Infragistics.WebUI.Data" assembly="Infragistics2.WebUI.WebScheduleDataProvider.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igsch" namespace="Infragistics.WebUI.WebSchedule" assembly="Infragistics2.WebUI.WebDateChooser.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ighedit" assembly="Infragistics2.WebUI.WebHtmlEditor.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebHtmlEditor" />

<add tagPrefix="igchartprop" namespace="Infragistics.UltraChart.Resources.Appearance" assembly="Infragistics2.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igchart" namespace="Infragistics.UltraChart.Resources.Appearance" assembly="Infragistics2.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igchartdata" namespace="Infragistics.UltraChart.Data" assembly="Infragistics2.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igchart" namespace="Infragistics.WebUI.UltraWebChart" assembly="Infragistics2.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="iggauge" namespace="Infragistics.WebUI.UltraWebGauge" assembly="Infragistics2.WebUI.UltraWebGauge.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="iggauge" namespace="Infragistics.UltraGauge.Resources" assembly="Infragistics2.WebUI.UltraWebGauge.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="iggaugeprop" namespace="Infragistics.UltraGauge.Resources" assembly="Infragistics2.WebUI.UltraWebGauge.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igcalc" namespace="Infragistics.WebUI.UltraWebCalcManager" assembly="Infragistics2.WebUI.UltraWebCalcManager.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ignavbar" namespace="Infragistics.WebUI.WebNavBar" assembly="Infragistics2.WebUI.WebNavBar.v8.3" />

<add tagPrefix="igxl" assembly="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport" />

<add tagPrefix="igx" assembly="Infragistics.Guidance.Web, Version=1.0.0.1, Culture=neutral" namespace="Infragistics.Guidance.Web.UI" />

<add tagPrefix="igtk" namespace="Infragistics.WebUI" assembly="Infragistics2.WebUI.WebResizingExtender.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="igdocx" namespace="Infragistics.WebUI.UltraWebGrid.DocumentExport" assembly="Infragistics2.WebUI.UltraWebGrid.DocumentExport.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB" />

<add tagPrefix="aikido" namespace="Infragistics.Web.UI.DataSourceControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig" namespace="Infragistics.Web.UI.LayoutControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig" namespace="Infragistics.Web.UI.ListControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig" namespace="Infragistics.Web.UI.DataSourceControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig" namespace="Infragistics.Web.UI.EditorControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<add tagPrefix="ig" namespace="Infragistics.Web.UI.GridControls" assembly="Infragistics2.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

<!--<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />-->

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</controls>

</pages>

and in the project itself i have referenced the Infragistic2.XXX.XXX.XXX.dlls

but when i run a page i get.

 

  • 45049
    posted

    An individual project may reference exactly one version of NetAdvantage for .NET assemblies.  By "version," this includes year, volume, CLR version, and exact version number (i.e. which release or hot fix the assemblies come from).

    Also, remember that if your project uses another project as a reference, your project inherits all the references from that other project.  In other words, if both projects include references to NetAdvantage for .NET assemblies, they must be for the same version.

    While I don't see any "Infragistics35" references in the web.config snippet you included, the error message confirms that there is such a reference somewhere.  Places to check include:

    • The bin directory of your website 
    • Elsewhere in the web.config file
    • Any other web.config files elsewhere in the
    • Any Register directives on your .aspx, .ascx, and .master pages
    • The licenses.licx file (if it exists and has any content, you can safely clear out any NetAdvantage assemblies from the file - but don't delete the file)
    • Any projects that your project references