Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Gestire timeout

  1. #1

    Gestire timeout

    Io ho una query che se la lancio dal QueryAnalizer di SqlServer, ci mette 1 minuti a estrarre i dati, solo che dopo 30 secondi mi da il seguente errore:

    codice:
    Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Come faccio a risolvere la questione del timeout ???

    Grazie
    Spago

    [Officials Sites]
    http://www.hobbybirra.it/spaghetto/

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    guarda qui
    x modificare il timeout della tua applicazione

  3. #3
    L'avevo già provato e ora l'ho riprovato, scrivendo nel web.config questo codice:

    codice:
    <configuration>
       <system.web>
         ....
         <httpRuntime maxRequestLength="4000"
         useFullyQualifiedRedirectUrl="true"
         executionTimeout="75"/>
       </system.web>
    </configuration>
    Però dopo 30 secondi scade lo stesso dandomi sempre questo errore:

    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Spago

    [Officials Sites]
    http://www.hobbybirra.it/spaghetto/

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.