Hi,
When you face ‘A potentially dangerous Request.Form value was detected’ in ASP.NET
Try below code change Solutions in Web Config
When you face ‘A potentially dangerous Request.Form value was detected’ in ASP.NET
Try below code change Solutions in Web Config
<configuration> <system.web> <pages validateRequest="false" /> </system.web> </configuration>
OR
<configuration>
<system.web>
<pages validateRequest="false" />
<httpRuntime requestValidationMode="2.0"/>
</system.web>
</configuration>
and
Web Page
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ShyamTest.aspx.cs"
Inherits="ShyamTest" ValidateRequest="false" %>
Comments
Post a Comment