做了个程序,在本地运行,连接服务器上的数据库,可以连上。
把程序放到服务器上,在服务器上跑,连服务器的数据库报错。报的错是provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错