Windows身份验证时ASP.NET中的问题。 [英] Issue in ASP.NET while windows authentication.

查看:82
本文介绍了Windows身份验证时ASP.NET中的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用默认页面模板(非空页面)创建asp.net网站项目。



并在ISS上托管并应用Windows身份验证。



但是有错误:



Hi,

I am creating the asp.net web site project with default page template (Not empty page).

and hosted on ISS and apply the windows authentication .

But there is error :

Quote:

此请求的查询字符串长度超过配置的maxQueryStringLength值。 iis 10

The length of the query string for this request exceeds the configured maxQueryStringLength value. iis 10





请帮忙。



我的尝试:



i已添加



please help.

What I have tried:

i have add the

<system.web>






and

<httpRuntime targetFramework="4.5.2" maxQueryStringLength="32768" maxUrlLength="32768" / >



in


in

<system.webserver>
   <security>
      <requestfiltering>
        <requestLimits maxUrl="32768" maxQueryString="32768" />

推荐答案

您是否尝试过添加 MaxRequestLength ,例如:



Have you tried adding the MaxRequestLength for example:

<system.web> 
  <httpRuntime maxRequestLength="65535" maxUrlLength="65535" maxQueryStringLength="65535" />
</system.web>


这篇关于Windows身份验证时ASP.NET中的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆