Click here to Skip to main content
15,909,091 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have project on the two PCs , one PC at my home and other at my work (my work far from my home), how can i connect PC at home to PC at my work by using SQL server 2008 ??? please, advice me ..
Posted

1 solution

In theory, it's just a case of getting the connection string right - which is pretty trivial if you know the IP / URL, server name, and have appropriate user credentials.

In the real world, it's unlikely to be a success. The problem is that most database servers are configured to disallow remote access for security reasons (like you don't want your competitors to have access to your company data for example).

So start by talking to your DB administrator, and ask if it's possible. If it is, he will be able to give you all the info you need.
 
Share this answer
 
Comments
duhoky 21-Jan-16 3:21am    
my DB administrator allow (possible) to remote access, i need to access to my data in database so if you explain to me, And thank you .
OriginalGriff 21-Jan-16 3:35am    
So ask him what connection string you need and try it!
Provided your corporate firewalls don't get in the way, it should all just work. (And if the DBA allows remote access then he should already have checked the firewalls when he set it up).
duhoky 25-Jan-16 2:19am    
i know how to share database (SQL server) over LAN mean(i know stop firewall and create new user in SQL server and sharing database ) but my problem how to access database over internet ??? please

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