Professional Documents
Culture Documents
com/sql-server-2005 connect from another computer to another computer sql server 1.configure your SQL Server to allow Remote Connection. 2.Add SQL Browser on your firewall exception list. http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-conne ctions-in-sql-server-2008.aspx server agent WMI http://msdn.microsoft.com/en-us/library/ms188690.aspx Connect to Another Computer http://msdn.microsoft.com/en-us/library/ms190622.aspx CONNECT STRING cnn = New SqlConnection("Data Source=<Alias name/ipaddress,port>;Network Library =DBMSSOCN;Initial Catalog=DATAbaseNAME;User ID=SQLCreatedUSERname;Password=Pass;")