Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

"Query string too long" error when Windows Authentication Enabled

$
0
0

I am seeing the following error after I changed the authentication settings to my MVC5 Application (in VS 2013):

HTTP Error 404.15 - Not Found

The request filtering module is configured to deny a request where the query string is too long.

Requested URL

http://localhost:50712/Account/Login?ReturnUrl=%2FAccount%2FLogin%3FReturnUrl%3D%252FAccount%252FLogin%253FReturnUrl%253D%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FAccount%2525252FLogin

Logon MethodNot yet determined
Logon UserNot yet determined

These are the Development Server settings:
Anonymous Authentication: Disabled
Windows Authentication: Enabled

In Web.config:

<system.web>
<authentication mode="Windows" />
<compilation debug="true" targetFramework="4.5.1" />
<httpRuntime targetFramework="4.5.1" />

and

<system.webServer>
<modules>
<remove name="FormsAuthentication" />
</modules>
</system.webServer>

There are no [Authorize] attributes anywhere in the application.

What setting(s) have I failed to set that causes the problem?


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>