This topic is locked

Parser Error Message: The ID 'rfvUserName' is already used by

2/14/2007 10:15:23 AM
ASPRunner.NET General questions
swat author

ASPRunner.Net 3.0 (Build 88) - MS Access DB
I have created mt application and run it without any problem for 2 weeks, however today suddenly I start to get this error .

Server Error in '/NAME' Application.

--------------------------------------------------------------------------------
Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The ID 'rfvUserName' is already used by another control.
Source Error:
Line 30:

Line 31:

Line 32: <asp:RequiredFieldValidator ID="rfvUserName" runat="server" ControlToValidate="txtUserName"

Line 33: Display="Dynamic" ErrorMessage="Username can not be empty."></asp:RequiredFieldValidator></TD>

Line 34:


Source File: /name/login.aspx Line: 32
--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


If I remove line 32-33 from mypage_add.aspx , the application works just fine-
<asp:RequiredFieldValidator ID="rfvUserName" runat="server" ControlToValidate="txtUserName"

Display="Dynamic" ErrorMessage="Username can not be empty."></asp:RequiredFieldValidator></TD>
Thanks

Eugene 2/20/2007

Thanks you for the response.