Click here to Skip to main content
       

C#

 
AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag PinmemberRichard Deeming28-Jan-13 2:02 
Questionreturn list of url if i enter specific keyword Pinmemberprashant.k.bamania25-Jan-13 2:24 
AnswerRe: return list of url if i enter specific keyword PinmvpRichard MacCutchan25-Jan-13 3:24 
GeneralRe: return list of url if i enter specific keyword Pinmemberprashant.k.bamania26-Jan-13 1:21 
GeneralRe: return list of url if i enter specific keyword PinmvpRichard MacCutchan26-Jan-13 1:23 
AnswerRe: return list of url if i enter specific keyword PinprotectorPete O'Hanlon25-Jan-13 3:53 
GeneralRe: return list of url if i enter specific keyword Pinmemberprashant.k.bamania26-Jan-13 1:22 
GeneralRe: return list of url if i enter specific keyword PinprotectorPete O'Hanlon26-Jan-13 5:12 
AnswerRe: return list of url if i enter specific keyword PinmemberManfred R. Bihy26-Jan-13 10:09 
SuggestionGoogle Earth Plugin throwing Javascript Error to WPF Window Pinmembercitibabu24-Jan-13 19:50 
GeneralRe: Google Earth Plugin throwing Javascript Error to WPF Window PinmvpRichard MacCutchan25-Jan-13 1:41 
Questionimplementing skype plugin on windows 8 Pinmemberomotayo adebola24-Jan-13 13:37 
AnswerRe: implementing skype plugin on windows 8 PinprotectorPete O'Hanlon25-Jan-13 0:08 
QuestionC# timeout Pinmemberdcof24-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 PinmemberMycroft Holmes24-Jan-13 14:01 
AnswerRe: C# timeout PinmemberV.25-Jan-13 1:27 
AnswerRe: C# timeout Pinmemberjschell25-Jan-13 9:25 
QuestionSkip current line in file Pinmembervanikanc24-Jan-13 10:11 
AnswerRe: Skip current line in file Pinmembermark merrens24-Jan-13 10:15 
AnswerRe: Skip current line in file [modified] Pinmemberjibesh24-Jan-13 10:29 
GeneralRe: Skip current line in file Pinmembervanikanc24-Jan-13 10:51 
GeneralRe: Skip current line in file Pinmemberjibesh24-Jan-13 10:52 
AnswerRe: Skip current line in file PinmemberPIEBALDconsult24-Jan-13 11:02 
QuestionMultiple marker PinmemberKORCARI24-Jan-13 9:48 
AnswerRe: Multiple marker PinprotectorPete O'Hanlon24-Jan-13 11:24 
QuestionSaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 5:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pinmemberjibesh24-Jan-13 9:07 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 9:29 
GeneralRe: SaveFileDialog and OverwritePrompt Pinmemberjibesh24-Jan-13 9:32 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 9:35 
GeneralRe: SaveFileDialog and OverwritePrompt Pinmemberjibesh24-Jan-13 9:59 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 10:01 
GeneralRe: SaveFileDialog and OverwritePrompt Pinmemberjibesh24-Jan-13 10:11 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 10:18 
GeneralRe: SaveFileDialog and OverwritePrompt Pinmemberjibesh24-Jan-13 10:23 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan24-Jan-13 11:18 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberAlan N24-Jan-13 9:39 
AnswerRe: SaveFileDialog and OverwritePrompt PinmemberBobJanova24-Jan-13 22:22 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan25-Jan-13 3:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pinmembermicke.andersson28-Jan-13 2:44 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan28-Jan-13 3:10 
QuestionThread with Message Pump PinmemberRichard Andrew x6424-Jan-13 1:56 
AnswerRe: Thread with Message Pump PinmvpEddy Vluggen24-Jan-13 2:49 
AnswerRe: Thread with Message Pump PinmemberPaulo Zemek24-Jan-13 3:49 
AnswerRe: Thread with Message Pump PinmemberBobJanova24-Jan-13 4:22 
QuestionEnding session and back button after logout Pingroupraviwebwonders24-Jan-13 0:24 
AnswerRe: Ending session and back button after logout PinmemberSimon_Whale24-Jan-13 0:36 
GeneralRe: Ending session and back button after logout Pingroupsahavasiwebwonders24-Jan-13 0:41 
AnswerRe: Ending session and back button after logout PinmemberBobJanova24-Jan-13 1:28 
GeneralRe: Ending session and back button after logout Pingroupsahavasiwebwonders24-Jan-13 18:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.141029.1 | Last Updated 30 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid