Server Error in '/' 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 control type 'System.Web.UI.WebControls.RegularExpressionValidator' is not allowed on this page. The type System.Web.UI.WebControls.RegularExpressionValidator, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a could not be found or it is not registered as safe.

Source Error:


Line 139:                                                        id="RequiredFieldValidator9" ControlToValidate="txtEmail" CssClass="validation_Control"></asp:RequiredFieldValidator>
Line 140:                                                    <br />
Line 141:                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
Line 142:                                                        ErrorMessage="يرجى ادخال البريد الإلكتروني بشكل صحيح" 
Line 143:                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="validation_Control"></asp:RegularExpressionValidator></td>

Source File: /ar/ecaw2018/Reg/Reg.aspx    Line: 141


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0