Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

How to Connect Remote Sql Server 2000/2005 using Mobile Application.
I have RemoteServerIp, DatabaseName,Username and Password.

This is working fine with Desktop Application.
Posted
Updated 20-Jan-10 18:39pm
v2

1 solution

The connection string is;
Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;

If you are trying to connect from outside of the local network i.e. via the internet, the IP address will have to be the public IP of the network with forwarding setup for port 1433 so that any requests that come in on that port are forwarded to the database server.

Here[^] is a list of connection strings (bookmark it).
 
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