SqlException - A transport-level error has occurred when receiving results from the server

asp.net-mvc-5 c# entity-framework-6 hangfire sqlexception

Question

I am coding a MVC 5 internet application and I have a recurring task that executes every hour. This task updates some model objects using a DbContext class. The application is deployed as an Azure website.

I am getting the following error every few hours:

System.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) ---> System.ComponentModel.Win32Exception (0x80004005): The semaphore timeout period has expired

Why is this? Also, how can I prevent this from happening?

Thanks in advance.

1
4
3/26/2015 6:41:53 AM

Popular Answer

Basically the error is being thrown by the network layer and SQL server is just reporting it.

0
2/1/2016 8:52:11 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow