Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for ASP.NET Web Forms / 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

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

New Discussion
Jack
Jack asked on Nov 25, 2019 7:14 AM

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>

      
Sign In to post a reply

Replies

  • 0
    Zdravko Kolev
    Zdravko Kolev answered on May 21, 2015 1:03 PM

    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"

    • 0
      Jack
      Jack answered on May 21, 2015 4:42 PM

      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

      • 0
        Zdravko Kolev
        Zdravko Kolev answered on May 22, 2015 12:04 PM

        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.

      • 0
        Zdravko Kolev
        Zdravko Kolev answered on May 28, 2015 2:39 PM

        Hello Jack,
        I am just checking, if you require any further assistance on the matter.

      • 0
        akbar ali
        akbar ali answered on Jan 23, 2019 5:48 PM

        i have same issue plz help me

      • 0
        Swaroopa Roopa
        Swaroopa Roopa answered on Nov 15, 2019 12:50 AM

        I have the same issue, I simply delete that  file and add a  new webform with same code. It worked out. 

      • 0
        Zdravko Kolev
        Zdravko Kolev answered on Nov 25, 2019 7:14 AM

        Thank you for sharing this with our forum community.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Jack
Favorites
0
Replies
7
Created On
Nov 25, 2019
Last Post
6 years, 3 months ago

Suggested Discussions

Created by

Created on

Nov 25, 2019 7:14 AM

Last activity on

Feb 12, 2026 7:53 AM