<httpRuntime requestValidationMode="2.0"/>
This is the thing i had to update in web.config file and it was working fine after that.
Thanks
Question
I am working on an ASP.NET 2.0 application.
In my page I have:
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminPanel/MasterPage.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="SEO.aspx.cs" Inherits="AdminPanel_SEO" %>
<asp:TextBox ID="TextBox1" TextMode="MultiLine" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
and on page directives I have validateRequest="false"
. It works locally but on IIS online it does not work.. Any idea guys?
Solution
<httpRuntime requestValidationMode="2.0"/>
This is the thing i had to update in web.config file and it was working fine after that.
Thanks