连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught).
English Message : Connection open error . A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)
at SqlSugar.QueryableProvider1.GetData[TResult](KeyValuePair
2 sqlObj)
at SqlSugar.QueryableProvider1._ToList[TResult]() at SqlSugar.QueryableProvider
1.ToList()
at Agoda.Order.Application.Notice.HotelSearchNotice.ExcuteAsync() in /src/src/Agoda.Order/Agoda.Order.Application/Notice/HotelSearchNotice.cs:line 88
at Agoda.Order.WebApi.Controllers.AgodaController.HotelSearch() in /src/src/Agoda.Order/Agoda.Order.WebApi/Controllers/AgodaController.cs:line 129
1.升级数据库版本>=2012
2.安装sqlserver sp3 补丁