I'm using 2012.2 on ASP.NET v4.5 on a Win2k8 R2 box. I used to use 2012.1. I have run the Version Utility on my project and the site. However, I'm still getting this.
I have uninstalled 2012.1 and reinstalled 2012.2 with no improvement.
Is there any other information you need to help me determine the problem. I'm a long-time programmer but I'm a newb to object oriented and .NET.
Hi mcase,
Thanks for your reply. I'm glad that the issue is resolved.
Please feel free to contact me if any additional questions regarding this matter arise.
Thanks. I had taken the Infragistics4 references out but they re-appeared. When I removed them again, the ASP.NET page is working.
Thanks for everyone's help! You're all the best.
Hello mcase,
Thank you for your reply.
Can you confirm that the Master page directives also point to the 4.5 assemblies ?
"3. Here's what is at the top of my Site.Master page:
<%@ Register Assembly="Infragistics4.Web.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.ListControls" TagPrefix="ig" %><%@ Register Assembly="Infragistics4.Web.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>"
When I saw your reply, I thought for sure that would do it. It didn't. Here's the web.config now:
<compilation strict="false" explicit="true" targetFramework="4.5" debug="true"> <assemblies> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="Infragistics45.Web.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics45.WebUI.Documents.Reports.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics45.WebUI.Documents.Excel.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics45.WebUI.Documents.Word.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics45.WebUI.Documents.IO.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> </assemblies> </compilation>
I checked the file on the development server and it's identical. I also rebooted the development server (different reason) so IIS is reset.
Any other thoughts?
Hello Mcase,
Looking at the list of referenced assemblies from your web.config, it seems that both 4and 4.5Infragistics assemblies are being referenced, for instance:
<add assembly="Infragistics4.Web.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"/>
<add assembly="Infragistics45.Web.v12.2, Version=12.2.20122.1007, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
All assembly references including in the web.config and in the page/master page directives should point to one CLR version of the assemblies.
Please let me know if this helps.