关于数据连接超时的问题
用。Net连接到远程数据库中,有时会报这个异常出来
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
而程序的连接字符串是这样的:
"Server=(IP地址);Initial Catalog=aaaa;User Id=bbbb;Password=cccc;pooling=true;connection lifetime=0;min pool size = 1;max pool size=100";
我查来查去都不知道是什么回事,麻烦各位大哥帮帮忙!!!