microsoft / microsoft/sqlmanagementobjects
SqlConnection randomly fails in Release mode
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 143
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm experiencing an issue when compiling in Release mode : the SqlConnection randomly fails to connect (whereas it doesn't in Debug mode)
using (SqlConnection connection = new SqlConnection(connectionString))
{
ServerConnection serverConnection = new ServerConnection(connection);
serverConnection.Connect();
//....
}
My connection string uses SQL Server authentication.
As this problem only appens in Release mode, I can't attach the debugger to find more information. :(
Any idea ?
Thanks !
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file, test, version, or exception details are mentioned. Start by reproducing the SqlConnection and ServerConnection usage shown in both Debug and Release builds, then capture the failure details; done requires a confirmed cause and a verified fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100