The resource you are looking for has been removed, had its name changed, or is temporarily unavailab

Volodymyr Rets asked on November 15, 2018 14:03

Hello. I have a problem with forms in Kentico. If you set a limit on any field (for example, 200 characters), then if you enter Russian characters in this field, go beyond the limit and post the form, the application will display The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Also there is same problem with search form. How can I fix this? Thank you.

Correct Answer

David te Kloese answered on November 15, 2018 15:00

guess that's because of the encoding for it...

Can you validate the exact error code being thrown:

404.13 | Content Length Too Large
404.14 | URL Too Long
404.15 | Query String Too Long

I assume you'll get the last one the 404.15

You could check the following web.config update:

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxQueryString="xxxx"/>
    </requestFiltering>
  </security>
</system.webServer>

Do note that some older browsers might not work with long urls... believe 2048 is a unwritten rule for the highest cross-browser length limit for a complete URL.

Apart from that, wouldn't it make more sense to just limit the max length client side?

1 votesVote for this answer Unmark Correct answer

Recent Answers


David te Kloese answered on November 15, 2018 14:34

Do you have the same issue when you enter the form from within the admin interface?

As that works for me locally Image Text

Are any of the fields used in the URL? as the error kind of indicates it can't find the page. Which might be the case when using search with query string params.

1 votesVote for this answer Mark as a Correct answer

Volodymyr Rets answered on November 15, 2018 14:50

Thank's for the answer, David. For example, search form with long query (1000 cyrillic characters) - it's crashed (max working length is 337):

/en-us/search/?searchtext=nD0%d0%b7%d0%b1%d0%b7%d0%87PU%d0%96spamPD%d0%a1%d0%a7q%d0%bdh%d1%8e%d0%a7%d1%945%d0%af%d0%96k%d0%96%d1%97%d0%9eA%d1%8ec%d0%a8%d0%a3g%d1%88%d1%81D%d0%87r%d1%861SEzD7eh%d1%87%d0%b9%d0%a4%d0%96%d0%bbCNpR%d0%9b6HO%d0%91R%d0%be%d1%97a2%d0%87%d0%a9%d0%beX%d0%97%d0%b2R6sp0%d1%81%d0%b8Z%d0%b8n%d1%89%d0%a4%d0%b5%d1%89%d0%9b%d1%843I%d0%a7%d0%bajp2%d0%beAo%d0%a2j%d0%a1%d1%8c8Lc%d0%99%d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b1%d0%b29%d1%81SH%d1%868p%d0%99k%d0%b1%d0%9dC%d0%af%d0%b6zhi%d0%b49h%d0%9a%d0%9c%d0%b2%d1%80n09%d1%84S%d1%94%d0%84972%d0%b0%d0%87%d0%b45%d0%bd%d0%ac%d0%b4%d0%92%d0%a6P%d0%a8%d0%a8YY%d0%a3%d0%94%d0%98t%d0%97T%d0%97Azl%d0%ba%d0%9bt%d1%84%d0%98Hc%d0%90M%d0%93%d0%84%d0%9e%d0%beTEX%d0%94e%d0%af%d1%89%d0%9bPa%d0%b4r%d0%97i%d0%86zG%d1%8ett%d0%9fB%d0%94N%d0%a3%d1%97%d0%ba%d1%89yz%d0%afsbD%d0%95%d0%bd%d0%87%d0%bb%d0%86%d1%89R%d0%a3V6%d1%84iew%d1%83Br%d0%a9XtBXAHrw%d0%aeUrpJ5%d1%85%d0%861I5QB%d0%b8%d0%bd%d0%ac%d1%88%d0%90%d0%af%d0%a8%d0%90%d1%8fO%d0%96%d0%9c%d0%93%d1%85%d0%86QL%d0%87%d0%b2W0k%d1%85%d0%a3%d0%af%d0%b1%d0%b6hbbf%d0%a7%d0%b6v%d0%86VY%d0%af%d1%96r%d0%86%d0%9fr%d0%92%d0%a7%d0%99%d1%86%d1%8eUg%d0%a8%d1%978v%d1%82c%d0%ac2l%d0%b3uz%d1%82%d1%81j%d0%acQ%d0%94b3%d0%aewt%d0%bbzI%d0%95%d0%87%d0%9a%d0%86%d0%a2kU%d0%a9%d0%a5Su%d0%bcvM%d1%8er%d0%b0%d0%b2p%d0%a4%d1%89%d0%b4W%d0%ba%d1%8cBI%d0%a3U1&searchmode=anyword

But if I enter 1000 latin characters, then everything will work.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.