小编san*_*ani的帖子

等待操作超时

我对MVC代码第一个应用程序开发相对较新,我试图在VPS中托管MVC代码第一个应用程序.当发布应用程序后尝试浏览网站时,我正在等待操作超时错误.我尝试做了一些研究,发现在SQL配置管理器上启用TCP/IP帮助了一些,但我没有运气.下面添加的是堆栈跟踪,有谁知道问题是什么?

[Win32Exception (0x80004005): The wait operation timed out]

[SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=4223; handshake=2965; ]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +356
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) …
Run Code Online (Sandbox Code Playgroud)

sql-server asp.net-mvc

7
推荐指数
2
解决办法
3万
查看次数

标签 统计

asp.net-mvc ×1

sql-server ×1