Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey Guys i have a remote desktop server hosted over the internet, and im really new to this .. how can i get my client application to connect to the sql database on that server, please i need help.

i am using windows forms.
Posted
Comments
[no name] 7-Aug-14 10:37am    
Put the IP address in the connection string.
PIEBALDconsult 7-Aug-14 10:39am    
http://www.connectionstrings.com/sql-server/
Herman<T>.Instance 7-Aug-14 10:42am    
+5

1 solution

Yes can Detect the IP of remote server. Type
cmd

in run & Type
IPCONFIG
.
You will get the ipaddress of the remote server.
Put that Ip Address :
<data source="192.168.x.xxx\SQLExpress;Initial" catalog="Master;Integrated" security="True;MultipleActiveResultSets=True</pre">

x->denotes any no.May be 0 ,2,3,or anuything</data>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900