I am converting Infragistics 2010 v2 CLR3.5 to Infragistics 2014 v2 using 4.5 CLR using Visual Studio 2013 Professional Update 4. I am getting following error while building the project. Please reply immediately..........
The below code is in ASPX Design page and I am getting following error at the highlighted location while running the project:...............Reply soon with a fix and example
Error: "Element is not a known element. This can occur if there is a compilation error in the website or the web.config file is missing"
FYI.... in above error I have verified the web.config file and there it is already this tag - <pages controlRenderingCompatibilityVersion="4.5" clientIDMode="AutoID"/>
<%@ Register TagPrefix="uta1" TagName="finding" Src="~/Controls/finding.ascx" %> <%@ Register TagPrefix="uta1" TagName="filtering" Src="~/Controls/filtering.ascx" %>
<table id="tblContent" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td> <uta1:finding ID="Find1" runat="server"></uc1:find> // getting this error on "finding" - Element is not a known element. This can occur if there is a compilation error in the website or the web.config file is missing <uta1:filtering ID="Filter1" runat="server"></uc1:filter> // getting this error on "filtering" - Element is not a known element. This can occur if there is a compilation error in the website or the web.config file is missing </td> </tr>
Hello,
Your web.config file is not correctly formed. The error message is explaining the issue well enough. You can have a look at the following articles for more information:
http://stackoverflow.com/questions/3550589/element-x-is-not-a-known-element-web-application
https://msdn.microsoft.com/en-us/library/dd483478.aspx - section "To manually upgrade an application's Web.config file from the .NET Framework 3.5 to the .NET Framework 4"
Hi,.... I have clearly mentioned my .NET Framework as 4.5 as it has different web.config tags in that...........Please reply if you know this version
This issue has nothing to do with your .NET Framework version. Your web.config file is not correctly formed. this section pages, shouldn't be there.
i have same issue plz help me
I have the same issue, I simply delete that file and add a new webform with same code. It worked out.
Thank you for sharing this with our forum community.