Click here to Skip to main content
15,908,675 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# timeout Pin
V.25-Jan-13 1:27
professionalV.25-Jan-13 1:27 
AnswerRe: C# timeout Pin
jschell25-Jan-13 9:25
jschell25-Jan-13 9:25 
dcof wrote:
What coding changes would I make to prevent the timeout errors from occuring?


What you need to do FIRST is determine what is being processed (presuming some SQL.)
The SECOND you need to determine what a reasonable time for that process to take - especially from the business side.

As an example it unreasonable to expect a user to wait for an hour for a web site to finish processing a request (where the web app is blocked until it is done.)

To "fix" a problem like this depends on the specifics of the problem but some or all of the following might be necessary but this is not a complete list.
- Tune the database/schema
- Adjust the SQL operation parameters or SQL itself.
- Rearch/design the interface to preclude such operations.
- Rearch/design the interface to create a batch processing system where a request is posted, some other process processes each request, and some time later a result is created, then the caller at some later time, may submit another (different) request to retrieve the result.
QuestionSkip current line in file Pin
vanikanc24-Jan-13 10:11
vanikanc24-Jan-13 10:11 
AnswerRe: Skip current line in file Pin
R. Giskard Reventlov24-Jan-13 10:15
R. Giskard Reventlov24-Jan-13 10:15 
AnswerRe: Skip current line in file Pin
Jibesh24-Jan-13 10:29
professionalJibesh24-Jan-13 10:29 
GeneralRe: Skip current line in file Pin
vanikanc24-Jan-13 10:51
vanikanc24-Jan-13 10:51 
GeneralRe: Skip current line in file Pin
Jibesh24-Jan-13 10:52
professionalJibesh24-Jan-13 10:52 
AnswerRe: Skip current line in file Pin
PIEBALDconsult24-Jan-13 11:02
mvePIEBALDconsult24-Jan-13 11:02 
QuestionMultiple marker Pin
KORCARI24-Jan-13 9:48
KORCARI24-Jan-13 9:48 
AnswerRe: Multiple marker Pin
Pete O'Hanlon24-Jan-13 11:24
mvePete O'Hanlon24-Jan-13 11:24 
QuestionSaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 5:13
GenJerDan24-Jan-13 5:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
Jibesh24-Jan-13 9:07
professionalJibesh24-Jan-13 9:07 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 9:29
GenJerDan24-Jan-13 9:29 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Jibesh24-Jan-13 9:32
professionalJibesh24-Jan-13 9:32 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 9:35
GenJerDan24-Jan-13 9:35 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Jibesh24-Jan-13 9:59
professionalJibesh24-Jan-13 9:59 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 10:01
GenJerDan24-Jan-13 10:01 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Jibesh24-Jan-13 10:11
professionalJibesh24-Jan-13 10:11 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 10:18
GenJerDan24-Jan-13 10:18 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Jibesh24-Jan-13 10:23
professionalJibesh24-Jan-13 10:23 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 11:18
GenJerDan24-Jan-13 11:18 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Alan N24-Jan-13 9:39
Alan N24-Jan-13 9:39 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
BobJanova24-Jan-13 22:22
BobJanova24-Jan-13 22:22 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan25-Jan-13 3:13
GenJerDan25-Jan-13 3:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
micke.andersson28-Jan-13 2:44
micke.andersson28-Jan-13 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.