Geeks With Blogs

News

Statistics

Locations of visitors to this page

Personal

marocanu2001 technicle blog
I am currently working on a project which keeps the code behind for aspx pages and controls in a different project, which is added as a reference to the Website project. I added some controls and variables on a page, let's call it Fees.aspx. Suddenly the website did not compile anymore because of an error in a page that had a reference to Fees.aspx error :
Unknown server tag ...
In the Fees.aspx the first line,
<%@ Control Language="C#" ClassName="Fees" Inherits="DllsRepository.FeesControl" %>
was undelined and there was warning saying that there is an "Ambiguous match ... "
I took the modifications one by one and finally I realised that in the code behind I had a string variable with the same name (but upper case) as one of the added controls. In C# there was no error, since C# is case sensitive, but in asp, that was a problem.
I renamed the variable and everything was fine afterwards. Posted on Thursday, June 12, 2008 10:28 PM | Back to top


Comments on this post: A cause and its resolution for Unknown Server Tag ' < TagName > ' error

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © marocanu2001 | Powered by: GeeksWithBlogs.net