I'm having trouble when the user confirms an email via the Asp default registry. The user receives a link in html format and clicks on the link and the user gets an error from the application server.
Server Error in Application '/ myaplica'. A possibly dangerous value Request.QueryString was detected on the client
I have already configured webconfig in the form below and without success. I already have days working on it and I will not solve it. Can you help?
<system.web>
<customErrors mode="Off" />
<authentication mode="None" />
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime requestValidationMode="2.0" />
<pages validateRequest="false"></pages>
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>