Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Notifyicon in C# website Pin
NickyRamshaw28-Jan-13 0:52
NickyRamshaw28-Jan-13 0:52 
GeneralRe: Notifyicon in C# website Pin
Pete O'Hanlon28-Jan-13 1:00
mvePete O'Hanlon28-Jan-13 1:00 
GeneralRe: Notifyicon in C# website Pin
NickyRamshaw28-Jan-13 1:34
NickyRamshaw28-Jan-13 1:34 
GeneralRe: Notifyicon in C# website Pin
Pete O'Hanlon28-Jan-13 1:43
mvePete O'Hanlon28-Jan-13 1:43 
Questionfrom java to c# Pin
superamh27-Jan-13 5:46
superamh27-Jan-13 5:46 
AnswerRe: from java to c# Pin
Richard MacCutchan27-Jan-13 6:27
mveRichard MacCutchan27-Jan-13 6:27 
AnswerRe: from java to c# Pin
Dave Doknjas27-Jan-13 16:37
Dave Doknjas27-Jan-13 16:37 
QuestionC# timeout on linq to sql Pin
dcof27-Jan-13 2:52
dcof27-Jan-13 2:52 
I am getting a timeout message when accessing a linq to sql object in a C# 2010 application. This error message is occuring when I am doing a select in the linq to sql object. thus can you tell me how I can increase the timeout on the linq to sql data set object? The following os the error message I am getting:

 Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
2013-01-24 16:40:03.3082|ERROR|Sample|************* Stack Trace *******************
2013-01-24 16:40:03.3238|ERROR|Sample|   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)

AnswerRe: C# timeout on linq to sql Pin
Dave Kreskowiak27-Jan-13 3:50
mveDave Kreskowiak27-Jan-13 3:50 
AnswerRe: C# timeout on linq to sql Pin
jschell27-Jan-13 6:10
jschell27-Jan-13 6:10 
AnswerRe: C# timeout on linq to sql Pin
V.27-Jan-13 20:41
professionalV.27-Jan-13 20:41 
Questionactivity-selection algorithm in c# Pin
mazizi026-Jan-13 20:36
mazizi026-Jan-13 20:36 
AnswerRe: activity-selection algorithm in c# Pin
Pete O'Hanlon26-Jan-13 21:16
mvePete O'Hanlon26-Jan-13 21:16 
GeneralRe: activity-selection algorithm in c# Pin
mazizi027-Jan-13 9:37
mazizi027-Jan-13 9:37 
GeneralRe: activity-selection algorithm in c# Pin
Pete O'Hanlon27-Jan-13 9:50
mvePete O'Hanlon27-Jan-13 9:50 
AnswerRe: activity-selection algorithm in c# Pin
Dave Kreskowiak27-Jan-13 3:46
mveDave Kreskowiak27-Jan-13 3:46 
GeneralRe: activity-selection algorithm in c# Pin
mazizi027-Jan-13 9:35
mazizi027-Jan-13 9:35 
GeneralRe: activity-selection algorithm in c# Pin
Dave Kreskowiak27-Jan-13 14:37
mveDave Kreskowiak27-Jan-13 14:37 
AnswerRe: activity-selection algorithm in c# Pin
riced27-Jan-13 11:06
riced27-Jan-13 11:06 
GeneralRe: activity-selection algorithm in c# Pin
PIEBALDconsult27-Jan-13 17:50
mvePIEBALDconsult27-Jan-13 17:50 
AnswerRe: activity-selection algorithm in c# Pin
J4amieC28-Jan-13 0:44
J4amieC28-Jan-13 0:44 
AnswerRe: activity-selection algorithm in c# Pin
pt140128-Jan-13 8:40
pt140128-Jan-13 8:40 
QuestionC# access excel file Pin
dcof26-Jan-13 18:24
dcof26-Jan-13 18:24 
SuggestionRe: C# access excel file Pin
Richard MacCutchan27-Jan-13 0:15
mveRichard MacCutchan27-Jan-13 0:15 
AnswerRe: C# access excel file Pin
Dave Kreskowiak27-Jan-13 3:44
mveDave Kreskowiak27-Jan-13 3: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.