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
1570
dll conflicts while using <WebTab>
posted

Hi,

I am getting the below error. How to resolve it?

Error 37 The type 'Infragistics.Web.UI.LayoutControls.ContentTabItem' exists in both 'c:\Windows\assembly\GAC_MSIL\Infragistics35.Web.v10.3\10.3.20103.1013__7dd5c3163f2cd0cb\Infragistics35.Web.v10.3.dll' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Infragistics4.Web.v10.3\v4.0_10.3.20103.1013__7dd5c3163f2cd0cb\Infragistics4.Web.v10.3.dll' c:\Users\mvaghela\AppData\Local\Temp\Temporary ASP.NET Files\dashboard\29780785\5d1220cc\App_Web_tvbck4ir.6.cs 3787

Thanks,

Mit

  • 22852
    Verified Answer
    Offline posted

    Mit,

    The error that you are seeing is because two versions of the same assembly are being loaded.  In this case both the CLR 4 and CLR 3.5 version of the Infragistics.Web assembly are being loaded.

    To resolve this you will need to make sure that all of the references in the project are for a single version.  Places to check include the following locations:

    • Project References if using a WebApplication Project
    • Register Tags on ASPX and ASCX files
    • Web.Config add assembly tags

    For the Register and add assembly tags, you could do a text search on the entire project/solution for the string "Infragistics35" or "Infragistics4" depending on which you don't want to use to find the references.

    Let me know if you have any questions with this matter.