jeudi 5 novembre 2015

query string is too long .net web site

I am trying to set up a asp.net site (Visual Studio 2015/II7 6.1) using Windows Authentication. This is for an Intranet and as long as someone is in the firewall they can view the content. In IIS Manager I have disabled all the other verifications and only enabled Windows Authentication. I keep getting a message:

HTTP Error 404.15 - Not Found

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

I have set the maxQueryStringLength to the max length.

<
httpRuntime targetFramework="4.5.2" maxUrlLength="10999" maxQueryStringLength="2097151" />

I need to use Windows Authentication so that the HttpContext.Current.Request.LogonUserIdentity.Name returns the uses login name.

Is there something else I can do to get this site working?




Aucun commentaire:

Enregistrer un commentaire