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
495
Problem compiling due to multiple versions of IG controls in GAC.
posted

Hello,

I am trying to add a WebHierarchicalDataGrid and HeirachicalDataSource to my web page. With the exception of the DataGrid, which errors with an abmigous error when added from the toolbox I get the following error on compile (I suspect the latter issue is tied to this):

The type 'Infragistics.Web.UI.DataSourceControls.DataView' exists in both 'c:\Windows\assembly\GAC_MSIL\Infragistics35.Web.v11.2\11.2.20112.1019__7dd5c3163f2cd0cb\Infragistics35.Web.v11.2.dll' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Infragistics4.Web.v11.2\v4.0_11.2.20112.1019__7dd5c3163f2cd0cb\Infragistics4.Web.v11.2.dll'

How can this be resolved?

 

 

Parents
No Data
Reply
  • 25665
    Suggested Answer
    Offline posted

    Hello Richard,

    We have discussed and resolved this over the phone. So other may benefit from this I am going to post the answer here as well. As we discussed this issue was happening because two CLR versions of the assemblies were being referenced in the same project. The way you can check for this is to check your aspx and Web.config files of your website and check the version of the assemblies referenced. The most likely reason why this occurred is that when the controls were dragged from the Visual Studio toolbox there were multiple versions grabbed. To resolve this I had you delete the tab in the toolbox and use the Create toolbox tab utility.

    Sincerely,
    Mike P.
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com

Children
No Data