Hello,
Please tell me how to connect to SQL Server 2005 using IP address.
Thanks and Regards,
Gopu Srinivas.
How to connect SQL Server 2005 using IP addressPlease tell me how to connect SQL Server 2005 usgin IP address
Page 1 of 1
2 Replies - 2969 Views - Last Post: 04 January 2010 - 11:41 AM
Replies To: How to connect SQL Server 2005 using IP address
#2
Re: How to connect SQL Server 2005 using IP address
Posted 19 December 2009 - 05:49 AM
Just assing the ip address of remote PC in the server portion of connection string
as
server=192.168.0.1; user=sa;pass=sa;
as
server=192.168.0.1; user=sa;pass=sa;
#3
Re: How to connect SQL Server 2005 using IP address
Posted 04 January 2010 - 11:41 AM
In your VB.net application look for "app.config" file and add this codes inside
<connectionStrings> <add name="MyConnectionString" connectionString="Data Source=192.168.1.2\SQLEXPRESS;Initial Catalog=SQLDBName;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient" /> </connectionStrings>
This post has been edited by blaknar: 04 January 2010 - 11:43 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|