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
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
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.
Ah! That was it. Problem solved.
Thanks for your fast response.
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.