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 203:                                                    <asp:RequiredFieldValidator runat="server" ErrorMessage="Required" 
Line 204:                                                        id="RequiredFieldValidator9" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
Line 205:                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
Line 206:                                                        ErrorMessage="Error Format" 
Line 207:                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>

Source File: /sites/Icsscc2017/Reg/Reg.aspx    Line: 205


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