Skip to content

Infragistics Community Forum / Web / Ultimate UI for ASP.NET Web Forms / The type ‘Infragistics.WebUI.UltraWebGrid.UltraWebGrid’ exists in both "…" and "…"

The type ‘Infragistics.WebUI.UltraWebGrid.UltraWebGrid’ exists in both "…" and "…"

New Discussion
John
John asked on Feb 3, 2015 8:16 AM

I just created a new web project and after I add the infragistics into the project, I got the error as:

 

Error    3    The type ‘Infragistics.WebUI.UltraWebGrid.UltraWebGrid’ exists in both ‘c:\Program Files (x86)\Infragistics\NetAdvantage for .NET 2009.1\ASP.NET\CLR3.5\Bin\Infragistics35.WebUI.UltraWebGrid.v9.1.dll’ and ‘c:\Windows\assembly\GAC_MSIL\Infragistics2.WebUI.UltraWebGrid.v9.1\9.1.20091.1015__7dd5c3163f2cd0cb\Infragistics2.WebUI.UltraWebGrid.v9.1.dll’    ….

 

Here is my web.config:

<add assembly=”Infragistics2.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.1015, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB”/>
<add assembly=”Infragistics2.WebUI.Shared.v9.1, Version=9.1.20091.1015, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB”/>

 

in default.aspx:

<%@ Register Assembly=”Infragistics2.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.1015, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb”
Namespace=”Infragistics.WebUI.UltraWebGrid” TagPrefix=”igtbl” %>

In references folder, I have all needed .dlls ….

In the properties folder, there is a license file as:

Infragistics.WebUI.UltraWebGrid.UltraWebGrid, Infragistics2.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.1015, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

I am not sure, I am missing something.   Searching through this forum, there are several similar cases but I still could not figure out the solution.

 

Please help.

Bests

le9569

Sign In to post a reply

Replies

  • 0
    [Infragistics] Vince McDonald
    [Infragistics] Vince McDonald answered on Oct 21, 2009 10:05 PM

    le9569,

    You have both our CLR 2.0 assemblies ("Infragistics2") and CLR 3.5 assemblies ("Infragistics35") referenced.  You should reference one or the other, not both.

    Since your Register tags refer to our CLR 2.0 assemblies, you should remove or update all references to our CLR 3.5 assemblies.

    Given what you've quoted from your web.config file, it's possible that you may have a copy of Infragistics35.WebUI.UltraWebGrid.v9.1.dll in the bin of your website, or listed in your licenses.licx file.

    • 0
      John
      John answered on Oct 22, 2009 6:04 AM

      Ah! That was it.   Problem solved.

      Thanks for your fast response.

    • 0
      sachin shinde
      sachin shinde answered on Dec 12, 2013 6:40 AM

      Hi

      i have migrated my application from .net 1.1 to .net 3.5. now while running the application its shows me javascript error in js file Error message as "Microsoft JScript runtime error: Object expected" in ig_webgrid.js file. i just want to confirm do i need to upgrade infragestic version as well ??

      please tell me the fix on 20sachinshinde@gmail.com.

      Thanks in advance.

    • 0
      Ritika Agarwal
      Ritika Agarwal answered on Feb 3, 2015 8:16 AM

      Hi,

      I am getting same error, I have checked bin directory, it all references to the ("Infragestics") .

      aspx :-

      <%@ Register Assembly="Infragistics.WebUI.UltraWebGrid, Version=11.1.20111.2020, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebGrid" %>

       

      license:-

      Infragistics.WebUI.UltraWebGrid.UltraWebGrid, Infragistics.WebUI.UltraWebGrid, Version=11.1.20111.2020, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
John
Favorites
0
Replies
4
Created On
Feb 03, 2015
Last Post
11 years, 8 months ago

Suggested Discussions

Tags

No tags

Created by

Created on

Feb 3, 2015 8:16 AM

Last activity on

Feb 25, 2026 9:37 AM