ASP.NET tags - False error

5 posts, 0 answers
  1. Dave
    Dave avatar
    9 posts
    Member since:
    Jun 2008

    Posted 09 Apr 2012 Link to this post

    I am working with a project that has a bunch of user controls in it.  I recently merged this over to a new branch and since doing that the new branch is getting tons (1205) false positive errors.  The errors read "ASP.Net tags: File not found" and "ASP.Net tags: ASP.net tag uc:customcontol not registered" .  I have verified that the file does exist and it exists in the specified location.  Any ideas why I am now getting all these errors where I wasn't before?
  2. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 12 Apr 2012 Link to this post

    Hi,

    Thank you for your feedback. We have seen a similar to the "File not found issue" when the file is a linked one. Is that your case as well?
    As for the second one - we were not able to reproduce it. Could you send us a sample solution that reproduces this issue.
    Another thing you could do is to refresh the code analysis from the JustCode menu to see whether the errors are still shown.
    That way we will be able to find the reason and fix it as soon as possible.
    Thank you for your help!

    Kind regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Andrew
    Andrew avatar
    1 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    Hi,

    I can confirm the reported problems (using Visual Studio 2010 with JustCode 2012.2.719.1)

    We have the scenario that user controls are in a separate project than the actual web site.
    All controls are registered via web.config file as described by ScottGu - http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx

    web.config:
    <add tagPrefix="uc" tagName="UIKeywordLocationSearch" src="~/UIComponents/UIKeywordLocationSearch.ascx"/>

    *.aspx file:
    <uc:UIKeywordLocationSearch ID="Search" runat="server"></uc:UIKeywordLocationSearch>

    Gives me the following output in JustCode error window:
    ASP.Net tags: ASP.net tag uc:UIKeywordLocationSearch not registered    *.aspx    Website    32    5    ASP.Net tags

    Your suggestion to refresh the code analysis doesn't improve the situation and gives same amount of JustCode errors.


    Regards
  5. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 09 Aug 2012 Link to this post

    Hi,

    Thank you for your feedback and sorry for the late reply. I tried to reproduce your issue, following the steps you gave me, but I was not able to.
    Could I ask you to send me a sample solution that reproduces this issue?
    Thank you for your help!

    Kind regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Mustafa
    Mustafa avatar
    1 posts
    Member since:
    Dec 2011

    Posted 20 Oct 2013 Link to this post

    All controls are registered via web.config.

    i did it. i survive!

Back to Top
DevCraft banner