Hi,
It seems like you have two variables in your page that differ only in the
case. For example, in your aspx page, you might have
<asp:TextBox ID="UserID" runat="server"/>
and in the code behind file you might have
private Int32 userID = 0;
Note that in my example, even though the variables have different
accessiblity and types, the variable names are similar (the difference is
only in the case).
In my opinion, this is a bug - C# is case sensitive and the above code is
perfectly legal from the point of view of the C# compiler. This explains why
it works as intended from within the VS 2005 IDE. The aspnet_compiler too
does not report any errors when you try to compile you website. However, some
error in the reflection mechanism causes a case insensitive search and that
is the reason for this "Ambiguous match found." error.
Try going through your code carefully and get change variable names that
differ only in their case. You should be fine.
Jim Chundevalel
"Alexandre" wrote:
Hi!
I receive this error in my webapp:
Ambiguous match found.
At line:
Line 1: <%@ page language="C#"
masterpagefile="~/memberscontents/master_interna.master"
autoeventwireup="true" inherits="members_contents_user_profile,
App_Web_user_profile.aspx.73f80179" title="Untitled Page" %>
Somebody can help?
Thanks
Alexandre