Click here to Skip to main content
15,909,440 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Is there any way 2 use SOPA in dorder to nexchange data between 2 Windows application on a local LAN Pin
RezaAsAdi26-Jan-09 9:12
RezaAsAdi26-Jan-09 9:12 
GeneralRe: Is there any way 2 use SOPA in dorder to nexchange data between 2 Windows application on a local LAN Pin
led mike26-Jan-09 10:32
led mike26-Jan-09 10:32 
GeneralRe: Is there any way 2 use SOPA in dorder to nexchange data between 2 Windows application on a local LAN Pin
RezaAsAdi26-Jan-09 17:50
RezaAsAdi26-Jan-09 17:50 
QuestionClick Once Problem ... Pin
nileshbahirshet24-Jan-09 2:44
nileshbahirshet24-Jan-09 2:44 
Questiontime ou error Pin
kulandaivel_mca200723-Jan-09 21:14
kulandaivel_mca200723-Jan-09 21:14 
AnswerRe: time ou error Pin
Tarini Singh23-Jan-09 21:47
Tarini Singh23-Jan-09 21:47 
GeneralRe: time out error Pin
kulandaivel_mca200723-Jan-09 22:21
kulandaivel_mca200723-Jan-09 22:21 
GeneralRe: time out error Pin
Colin Angus Mackay24-Jan-09 2:05
Colin Angus Mackay24-Jan-09 2:05 
kulandaivel_mca2007 wrote:
User ID=sa


Seriously - Never connect to your database as "sa" you've just punched a very large security hole in your application.


kulandaivel_mca2007 wrote:
Connect Timeout = 60


This is the amount of time you are willing to wait for the connection to be established. It defaults to 15 seconds.

Your error message suggests that you have already made the connection, you are just waiting for the results. You therefore need to set the CommandTimeout on the command object. It defaults to 30 seconds.

I do not advise setting to 0 (infinite) as your program will hang until it has the result.

If your query is taking so long, you should also look optimising it. It may be that your query or database are set up very inefficiently.

* Developer Day Scotland 2 - Free community conference
* The Blog of Colin Angus Mackay


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

GeneralRe: time out error Pin
Wendelius24-Jan-09 3:04
mentorWendelius24-Jan-09 3:04 
QuestionDownload Microsoft WinFS Beta 1 Pin
mejax23-Jan-09 20:23
mejax23-Jan-09 20:23 
AnswerRe: Download Microsoft WinFS Beta 1 Pin
Dave Kreskowiak24-Jan-09 10:42
mveDave Kreskowiak24-Jan-09 10:42 
Questionwhat is difference between webservice and window service Pin
lipupal23-Jan-09 17:11
lipupal23-Jan-09 17:11 
AnswerRe: what is difference between webservice and window service Pin
Dave Kreskowiak23-Jan-09 17:36
mveDave Kreskowiak23-Jan-09 17:36 
AnswerRe: what is difference between webservice and window service Pin
Manas Bhardwaj25-Jan-09 23:34
professionalManas Bhardwaj25-Jan-09 23:34 
AnswerRe: what is difference between webservice and window service Pin
sivasss26-Jan-09 21:41
sivasss26-Jan-09 21:41 
QuestionSemi-background task on UI thread Pin
supercat923-Jan-09 8:31
supercat923-Jan-09 8:31 
AnswerRe: Semi-background task on UI thread Pin
Jon Rista23-Jan-09 8:39
Jon Rista23-Jan-09 8:39 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 10:03
supercat923-Jan-09 10:03 
GeneralRe: Semi-background task on UI thread Pin
Jon Rista23-Jan-09 11:36
Jon Rista23-Jan-09 11:36 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 16:39
supercat923-Jan-09 16:39 
GeneralRe: Semi-background task on UI thread Pin
Jon Rista24-Jan-09 5:46
Jon Rista24-Jan-09 5:46 
GeneralRe: Semi-background task on UI thread Pin
supercat925-Jan-09 8:27
supercat925-Jan-09 8:27 
GeneralRe: Semi-background task on UI thread Pin
N a v a n e e t h23-Jan-09 16:43
N a v a n e e t h23-Jan-09 16:43 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 17:43
supercat923-Jan-09 17:43 
AnswerRe: Semi-background task on UI thread Pin
S. Senthil Kumar24-Jan-09 2:02
S. Senthil Kumar24-Jan-09 2:02 

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.