Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    45

    errore pagina aspx in IIS7

    ho una pagina aspx con un controllo dropdownlist caricato da data base. Se provo la pagina von Visual studio visualizzando nel browser funziona normalmente. Se provo la pagina con IIS7 del localhost ottengo l'errore HTTP 414 URL too long

    Qualcuno mi sa dare qualche indicazione?

    Grazie

  2. #2
    Per caso hai qualche richiesta in GET?
    Potrebbe essere che qualche richiesta scrive troppi caratteri nella query string.

    Se puoi butta in POST, altrimentdi devi modificare il web.config

    codice:
    <configuration>
      <system.web>
         <httpRuntime maxRequestLength="x" maxQueryStringLength="y" maxUrlLength="z"/>


    414 - Request-URL Too Long
    The web server responds with this error when it is refusing to service the request because the Request-URL is longer than the server is willing or able to interpret. This rare condition is only likely to occur when a client has improperly converted a POST request to a GET request with long query information, when the client has descended into a URL "black hole" of redirection (e.g., a redirected URL prefix that points to a suffix of itself), or when the server is under attack by a client attempting to exploit security holes present in some servers using fixed-length buffers for reading or manipulating the Request-URL. Typically Web servers set fairly generous limits on length for genuine URLs e.g. up to 2048 or 4096 characters. If a long URL is valid and you receive 414 errors, then the Web server may need to be reconfigured to allow such URLs through.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.