Thanks MohammaedU you replied me.
The following is the script for remote SQL Connection over TCP/IP. I am extracting the IP Address from the database and put in the connection string. When the connection status after opening is checked it returns "0" means not connected.
So Please let me know necessary changes.
While Not rsData.EOF
Conn_New.Open = "Provider=sqloledb;Data Source="& rsData("IP")& ",1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;"
Response.Write( Conn_New.state & " " )
Response.Write(" " & rsData("IP") )
Response.Flush()
IF Conn_New.State = Open Then
Conn_New.Close
End if
rsData.MoveNext
Wend
Regards,