i need to retrieve the data from another server
how to retrieve the data from the another server
how to retrieve the data from the another server (LAN ) through coding normally we give connection in web config file as
i need to retrieve the data from another server
i need to retrieve the data from another server

Jayant KumarPosted Apr 8, 2014, 5:40 AM
Your connection String is correct, If you are using local machine for database server, you can use ".", "127.0.0.1" or "localhost" all are same,
If you computer has sql server express edition is installed then by default the name of the database server instance is SQLEXPRESS otherwise you can also put only the server name.
One Workaround, you can at first check whether you are able to connect SQL SERVER by putting VALUED-HO1E64NO\SQLEXPRESS in server name, uid and password
thanks- Jayant
saurabh mittalPosted Apr 8, 2014, 5:32 AM
if you are using Local server than no need to give ip address just put this between connection
string in web.config file.
thanks
selvi subramanianPosted Apr 8, 2014, 5:23 AM
Sanjeeb LenkaPosted Apr 8, 2014, 5:08 AM
yes that one is the ip address of the server you have to give to connect to that server
selvi subramanianPosted Apr 8, 2014, 4:59 AM
saurabh mittalPosted Apr 8, 2014, 4:30 AM
you can write this :