c# - Redirection loop in identity authentication -


i using identity authenticate users, keep getting redirection loop (url long) when entering home page.

http error 404.15 - not found request filtering module configured deny request query string long.  detailed error information: module     requestfilteringmodule notification       beginrequest handler    extensionlessurl-integrated-4.0 error code     0x00000000  physical path      c:\...\auth\login logon method       not yet determined logon user     not yet determined request tracing directory      c:\...\iisexpress\tracelogfiles\budgetingmanager 

i use visual studio 2013, , have done here- http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-1


i found solutions problem, none works. i've tried:

1) enabling anonymous authentication

2) disabling windows authentication in config.web:

<windowsauthentication enabled="false" />   <system.web>     <authorization>       <windowsauthentication enabled="false" />       <anonymousauthentication enabled="true" />     </authorization>   </system.web> 

what's wrong?

try increasing maximum length allowed query string in both application , iis:

application:

<httpruntime maxquerystringlength="32768" /> 

iis:

<system.webserver>   <security>     <requestfiltering>       <requestlimits maxquerystring="32768"/>     </requestfiltering>   </security> </system.webserver> 

https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxquerystringlength(v=vs.110).aspx

https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -