Click here to Skip to main content
15,918,333 members
Home / Discussions / Database
   

Database

 
GeneralMSDE Connection String Pin
monrobot1319-Feb-04 15:40
monrobot1319-Feb-04 15:40 
GeneralRe: MSDE Connection String Pin
Mike Dimmick20-Feb-04 0:15
Mike Dimmick20-Feb-04 0:15 
GeneralProblem in Joining Two Tables Pin
Touseef Afzal19-Feb-04 10:23
Touseef Afzal19-Feb-04 10:23 
GeneralRe: Problem in Joining Two Tables Pin
Edbert P19-Feb-04 12:43
Edbert P19-Feb-04 12:43 
GeneralRe: Problem in Joining Two Tables Pin
Touseef Afzal20-Feb-04 10:31
Touseef Afzal20-Feb-04 10:31 
GeneralRe: Problem in Joining Two Tables Pin
Edbert P22-Feb-04 17:41
Edbert P22-Feb-04 17:41 
GeneralTimeouts in C# Pin
19-Feb-04 5:49
suss19-Feb-04 5:49 
GeneralRe: Timeouts in C# Pin
Tom Larsen19-Feb-04 10:44
Tom Larsen19-Feb-04 10:44 
I've personally seen problems like this crop up. There are actually many layers of timeout not just between the client and the DB.

The general problem is that between one of the layers a timeout is being reached. You've found the most obvious one in the client connection. But there is one from the DB too. Depending if you are using a transport like HTTP that has a timeout too. And so on and so on.

By your description it seems that your query succeeded but ran out of time trying to return data to the client. The time taken to run the query and complete dumping the data to your client is passing some timeout. A time out which you might not be able to change.

What I would do is "by hand" run the query. Plug it into Query Analyzer and see how long it takes for it to complete on the server side. If the query is too long or returns way to much data you might want to consider a different approach. Instead of batching the entire query waiting minutes for it to return the result you may want to think of a small selection set or using cursors.

ps. Are you catching the exception? What does it report?
GeneralRe: Timeouts in C# Pin
Kwai Cheng Kane19-Feb-04 12:45
Kwai Cheng Kane19-Feb-04 12:45 
Questionneed sql query? Pin
murali_utr18-Feb-04 18:36
murali_utr18-Feb-04 18:36 
AnswerRe: need sql query? Pin
stefan b18-Feb-04 18:54
stefan b18-Feb-04 18:54 
GeneralRe: need sql query? Pin
murali_utr18-Feb-04 19:01
murali_utr18-Feb-04 19:01 
GeneralSimple Dataset Question... Pin
Verdant12318-Feb-04 16:45
Verdant12318-Feb-04 16:45 
GeneralRe: Simple Dataset Question... Pin
Gerald Leslie Jones19-Feb-04 18:59
Gerald Leslie Jones19-Feb-04 18:59 
GeneralRe: Simple Dataset Question... Pin
Verdant12319-Feb-04 19:06
Verdant12319-Feb-04 19:06 
GeneralRe: Simple Dataset Question... Pin
Bill Dean20-Feb-04 5:07
Bill Dean20-Feb-04 5:07 
GeneralRe: Simple Dataset Question... Pin
Verdant12322-Feb-04 3:01
Verdant12322-Feb-04 3:01 
GeneralParameters of PutElement() Pin
girl_lash18-Feb-04 16:26
girl_lash18-Feb-04 16:26 
Generalassociating child to parent Pin
ylaine18-Feb-04 16:05
ylaine18-Feb-04 16:05 
GeneralMissing VNSAPI32.dll Pin
Bakos, Zsolt18-Feb-04 9:50
Bakos, Zsolt18-Feb-04 9:50 
GeneralRe: Missing VNSAPI32.dll Pin
Mike Dimmick19-Feb-04 6:12
Mike Dimmick19-Feb-04 6:12 
GeneralTrouble with query Pin
gamerPotatoe18-Feb-04 1:38
gamerPotatoe18-Feb-04 1:38 
GeneralRe: Trouble with query Pin
Mike Dimmick18-Feb-04 2:36
Mike Dimmick18-Feb-04 2:36 
GeneralRe: Trouble with query Pin
Edbert P19-Feb-04 13:28
Edbert P19-Feb-04 13:28 
GeneralHelp with big stored procedure Pin
Verdant12317-Feb-04 20:25
Verdant12317-Feb-04 20:25 

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.