When you run the project from visual studio, the following error is obtained,
HTTP Error 404.15 – Not Found.
The request filtering module is configured to deny a request where the query string is too long.
The error occurs when IIS Express is hosted by using the default web server in the Visual studio.
This issue can be resolved using any one of the solutions given below.
Enable the Anonymous Authentication property in the project properties.
Steps to enable the Anonymous Authentication Property
Step 1: Open the project file.
Step 2: Right-click on any folder and select Properties. The Properties pane is
Step 3: Select the project file and Properties pane for the project is displayed.
Step 4: Enable the Anonymous Authentication by selecting the Enabled option
from the dropdown.
The following screenshot demonstrates the same.
Increase the value of the maxQueryString in web.config file. Please refer the below code example to define the value of maxQueryString in web.config file.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|