Bug 10324 - SqlException:Timeout expired. The timeout period elapsed prior to completion...
Summary: SqlException:Timeout expired. The timeout period elapsed prior to completion...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data (show other bugs)
Version: 2.10.x
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-15 13:16 UTC by HA
Modified: 2017-09-01 09:29 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description HA 2013-02-15 13:16:44 UTC
Description of Problem:


Steps to reproduce the problem:
1. Start a new console project in MonoDevelop and add code from following sample link http://www.mono-project.com/SQL_Client
2. Run the code and observe the error


Actual Results:
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.Exception: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
  at Mono.Data.Tds.Protocol.TdsComm..ctor (System.String dataSource, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion tdsVersion) [0x00105] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\Mono.Data.Tds\Mono.Data.Tds.Protocol\TdsComm.cs:117

  --- End of inner exception stack trace ---

  at System.Data.SqlClient.SqlConnection.Open () [0x00155] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\System.Data\System.Data.SqlClient\SqlConnection.cs:554

  at TestSqlConnection.Test.Main (System.String[] args) [0x0000d] in ...\Code\TestSqlConnection\TestSqlConnection\Main.cs:19



Expected Results:
Connection shouldwork

How often does this happen? 
Every single time

Additional Information:
Mono 2.10.9 is set as RunTime
Mono Soft Debugger is set for Debugger in the IDE

Note You need to log in before you can comment on or make changes to this bug.