Click here to Skip to main content
12,399,244 members (60,859 online)
   

C#

 
GeneralRe: return list of url if i enter specific keyword Pin
prashant.k.bamania26-Jan-13 1:22
memberprashant.k.bamania26-Jan-13 1:22 
GeneralRe: return list of url if i enter specific keyword Pin
Pete O'Hanlon26-Jan-13 5:12
protectorPete O'Hanlon26-Jan-13 5:12 
AnswerRe: return list of url if i enter specific keyword Pin
Manfred R. Bihy26-Jan-13 10:09
memberManfred R. Bihy26-Jan-13 10:09 
SuggestionGoogle Earth Plugin throwing Javascript Error to WPF Window Pin
citibabu24-Jan-13 19:50
membercitibabu24-Jan-13 19:50 
GeneralRe: Google Earth Plugin throwing Javascript Error to WPF Window Pin
Richard MacCutchan25-Jan-13 1:41
mvpRichard MacCutchan25-Jan-13 1:41 
Questionimplementing skype plugin on windows 8 Pin
omotayo adebola24-Jan-13 13:37
memberomotayo adebola24-Jan-13 13:37 
AnswerRe: implementing skype plugin on windows 8 Pin
Pete O'Hanlon25-Jan-13 0:08
protectorPete O'Hanlon25-Jan-13 0:08 
QuestionC# timeout Pin
dcof24-Jan-13 12:10
memberdcof24-Jan-13 12:10 
I am running a C# 2010 windows application that calls a C# 2008 console application to make various calls to a web service. I am getting the following timeout error. I am wondering what part of the application I should look at to determine what is causing the timeout? Both applications are compiled in debug mode.

I am wondering if you can tell in the application what timeout parameter(s) need to be changed? What coding changes would I make to prevent the timeout errors from occuring?

Here is the error message:
 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 Pin
Mycroft Holmes24-Jan-13 14:01
memberMycroft Holmes24-Jan-13 14:01 
AnswerRe: C# timeout Pin
V.25-Jan-13 1:27
memberV.25-Jan-13 1:27 
AnswerRe: C# timeout Pin
jschell25-Jan-13 9:25
memberjschell25-Jan-13 9:25 
QuestionSkip current line in file Pin
vanikanc24-Jan-13 10:11
membervanikanc24-Jan-13 10:11 
AnswerRe: Skip current line in file Pin
mark merrens24-Jan-13 10:15
membermark merrens24-Jan-13 10:15 
AnswerRe: Skip current line in file Pin
jibesh24-Jan-13 10:29
memberjibesh24-Jan-13 10:29 
GeneralRe: Skip current line in file Pin
vanikanc24-Jan-13 10:51
membervanikanc24-Jan-13 10:51 
GeneralRe: Skip current line in file Pin
jibesh24-Jan-13 10:52
memberjibesh24-Jan-13 10:52 
AnswerRe: Skip current line in file Pin
PIEBALDconsult24-Jan-13 11:02
memberPIEBALDconsult24-Jan-13 11:02 
QuestionMultiple marker Pin
KORCARI24-Jan-13 9:48
memberKORCARI24-Jan-13 9:48 
AnswerRe: Multiple marker Pin
Pete O'Hanlon24-Jan-13 11:24
protectorPete O'Hanlon24-Jan-13 11:24 
QuestionSaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 5:13
memberGenJerDan24-Jan-13 5:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
jibesh24-Jan-13 9:07
memberjibesh24-Jan-13 9:07 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 9:29
memberGenJerDan24-Jan-13 9:29 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
jibesh24-Jan-13 9:32
memberjibesh24-Jan-13 9:32 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan24-Jan-13 9:35
memberGenJerDan24-Jan-13 9:35 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
jibesh24-Jan-13 9:59
memberjibesh24-Jan-13 9:59 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 26 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid