当前位置:   article > 正文

C#异常处理 | 连接成功但登陆异常/管道另一端上无任何进程Error: A connection was successfully established with the server, but

a connection was successfully established with the server, but then an error

问题:C#连接数据库做教务系统的时候,之前的登录功能可以成功实现,但是隔天突然在 sqlConnection.Open(); 处报错。

Error: A connection was successfully established with the server, but then an error occurred during the login process.

参考了许多文章,从sql server配置管理器中重新启用也不管用

最后在Sql server中检查更新,发现SSMS需要更新。

然后到官网上下载了最新的SSMS,安装之后成功解决。

附上下载链接:https://docs.microsoft.com/zh-cn/sql/ssms/download-sql-server-management-studio-ssms?form=MY01SV&OCID=MY01SV&view=sql-server-ver15

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/601817
推荐阅读
相关标签
  

闽ICP备14008679号