Persist Security Info=False? 那帐号密码还有啥用啊。

解决方案 »

  1.   

    SQLSERVER的端口改过的,这个有影响吗?
      

  2.   

    claybornet 没有帐号密码连不上
      

  3.   

    Persist Security Info=False;
    把这个值改成True。
      

  4.   

    http://www.connectionstrings.com/"Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;" 
    (DBMSSOCN=TCP/IP instead of Named Pipes, at the end of the Data Source is the port to use (1433 is the default))