24,533 reputation
34284
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 4 months
seen 1 hour ago

SQL Server Premier Field Engineer at Microsoft.

Twitter: @SQLife
Blog: http://blogs.msdn.com/b/sql_pfe_blog/
Email: sqlsalt [at] outlook [dot] com

Disclaimer
The views expressed on my posts on this site are mine alone and do not reflect the views of my company. All posts of mine are provided "AS IS" with no warranties, and confers no rights.

The following disclaimer applies to all code, scripts and demos available on my posts:

This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.


2h
revised How Do I Use PowerShell to Get a SQL Server Backup Status?
edited title
17h
comment How to recover a database from a failed Availability Group?
Have you tried any way besides fc admin?
1d
comment Currently all connections getting “Timeout expired”
It's not Executexxx() that attempts to pull a connection from the pool, it's SqlConnection.Open(). So there are other code paths that can lead to this as well. At this point, if it was me I would set a few breakpoints and start seeing what is cleaned up and what isn't. Outside of debugging and following code I can't think of an easier way to get to the bottom of it.
1d
comment Currently all connections getting “Timeout expired”
It looks like with the using block SqlConnection.Dispose() should be called. Is there perchance 100 current execution paths that have yet to reach the end of the using block? Is that the only code that opens up a connection?
1d
revised Currently all connections getting “Timeout expired”
edited title
1d
answered Currently all connections getting “Timeout expired”
1d
revised Install by command line
edited tags; edited title
1d
revised SQL Server suspect database?
edited title
1d
answered How to recover a database from a failed Availability Group?
1d
revised Assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog
added 144 characters in body
1d
answered Assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog
2d
revised Database Size Troubleshooting
edited tags; edited title
Oct
22
revised How do you calculate the CPU Affinity Bitmap?
edited tags; edited title
Oct
22
revised How do you calculate the CPU Affinity Bitmap?
added 529 characters in body
Oct
22
answered How do you calculate the CPU Affinity Bitmap?
Oct
16
comment Log shipping option not showing
You can insert an image into the body of your question (just hit the "edit" button).
Oct
16
revised How to only restore a specific filegroup?
edited title; edited tags
Oct
16
comment Can WAITFOR increase CXPACKET waits?
That isn't quite correct. It will increase the WAITFOR wait type in sys.dm_os_wait_stats.
Oct
16
answered Can WAITFOR increase CXPACKET waits?
Oct
16
comment Log shipping option not showing
Can you post a screenshot of the "Database Properties" window?