Application VM found connection error event log.

CL
CL used Ask the Experts™
on
  • Type: System.Data.SqlClient.SqlException
  • Class: 20
  • LineNumber: 0
  • Number: -1
  • Server: DBServerName
  • State: 0
  • Source: .Net SqlClient Data Provider
  • ErrorCode: -2146232060
  • Message: <ii>A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)</ii>

Usually what will causing this event?  and notice it only happen on selected time frame...  
I not sure is the SQL Application issue or the OS layer (e.g. during VSS the SQL is stop processing.. or others...)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kini pradeepDevelopment Manager

Commented:
There could be several reasons for this error. where are the VM hosted and the is the DB server also a VM. Its quite common in the cloud if you are using hosted sql. also when you notice this is either the DB being failed over or your app VM doing a VMotion or if HyperV liveMigration ?

could you provide additional info on your setup there ?
Raja Jegan RSQL Server DBA & Architect, EE Solution Guide
Awarded 2009
Distinguished Expert 2018

Commented:
Kindly request you to check the SQL Server Configuration Manager and see whether the IP mentioned under TCP\IP Protocol is matching with your Server IP and Port No. If not, then change it once and restart to get it fixed.

If the above doesn't help, try the below one..
Check the SNP features as mentioned by the MS Engineer in the below thread..
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/95fe26d2-2e6c-4c6b-b02d-10794e92dc7a/sqlstate-08s02-smux-provider-physical-connection-is-not-usable?forum=sqldataaccess
CL

Author

Commented:
HI Kini, thanks for the sharing. It a private virtualization platform which running on hyper-V.

It a standalone DB server setup, without SQL always ON. and there is no fail over happen as well.

We notice is consistent happen on certain hours (e.g. 2am - 3am) we are still checking whether have any backup job running that paused the VM state. but yet to figure out any.


hi Raja, Thanks for sharing, all information is match and is in order.
Development Manager
Commented:
I would start with the SQL server Log review (windows and SQL) if needed please enable verbose logging for a day or two and capture all the logs .
Raja Jegan RSQL Server DBA & Architect, EE Solution Guide
Awarded 2009
Distinguished Expert 2018

Commented:
>> Source: .Net SqlClient Data Provider

As the error indicates the source is .Net SqlClient, kindly check for any program or services running on the machine and trying to connect to SQL Server in the same machine or different machine..
And ensure the below items are done..
1. Check whether the latest Service packs are installed for that SQL Server instance.
2. Check whether Remote connections are enabled properly for your SQL Server instance.(this will help resolve any connectivity issues)
https://knowledgebase.apexsql.com/configure-remote-access-connect-remote-sql-server-instance-apexsql-tools/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial