[英]SQL server Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired on azure
I am using external SQL Server to host our database and ASP.NET MVC Core application is hosted on Azure.我正在使用外部 SQL Server 来托管我们的数据库,并且 ASP.NET MVC Core 应用程序托管在 Azure 上。 Locally on Dev machine, the Web application works fine when a complex query executed but on Azure I get an exception
在本地开发机器上,Web 应用程序在执行复杂查询时工作正常,但在 Azure 上出现异常
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired
I am using the same database and connection string, also we do not use Azure SQL we use our own SQL Server which is hosted remotely.我使用的是相同的数据库和连接字符串,我们也不使用 Azure SQL,而是使用我们自己的远程托管的 SQL Server。 Why complex queries stop working on Azure, I have no idea where to look for the problem.
为什么复杂的查询在 Azure 上停止工作,我不知道在哪里寻找问题。
The connection string:连接字符串:
data source=xx.xx.xx.xx;initial catalog=ca-xx;user id=ca-xx;password=xxxx;connection timeout=600
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.