How do I increase the maxUrlLength property in the config in asp.net MVC 3?

前端 未结 6 1439
一个人的身影
一个人的身影 2020-12-08 12:55

I am getting this error:

The length of the URL for this request exceeds the configured maxUrlLength value.

Looking around the

6条回答
  •  独厮守ぢ
    2020-12-08 13:51

    In my case, I edited the setting visually in the IIS application (Request Filtering area):

    This action modified my web.config as follows:

    
      
        
      
    
    

    As was mentioned in some of the other answers, be sure to also consider long query strings in the request.

提交回复
热议问题