Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I m using VS2010, and i want to connect to a database located on other Computer on network. What should i do ????

Both Computers are in a network and Connected. What services ahould be startes and what configuration has to make ??????????????
Posted
Comments
walterhevedeich 13-May-11 5:57am    
Your question is unclear. You didnt even specify what language are you using.
Adee Ghanekar 13-May-11 6:16am    
C# & CAS is Database on Remote Computer, Also specify where to keep Database on Remote computer.

1 solution

We need language and database name at least...

There are plenty of ways to establish this kind of connection, but without knowing the minimal basis we can't help...

Try to search for "remote database connection" in Google or post more details here...


OK, now that we know that you are using C# and SQLServer 2008...

Be sure that:
- Firewall is not an issue.
- Remote connections are allowed in the server[^].

Take a look here:
A similar problem with some explanations[^].

Hope this helps...
 
Share this answer
 
v3
Comments
Adee Ghanekar 13-May-11 6:15am    
Language is C# and Database name is CAS
Joan M 13-May-11 6:22am    
The only information about CAS database that I've found in the internet is something like a chemistry association... are you sure that the brand of the database is CAS? probably I'm not right here, but something like SQLServer, MySQL, Access, ORACLE,... would make more sense to me...
Adee Ghanekar 13-May-11 6:24am    
Actually i m using SqlServer 2008 on remote computer and the database name is CAS...... created by me only. from other machine, i m usinf VS 2010 C# and i want to connect my VS C# to SqlDatabase CAS through network. Cna you help me in this
????????????
Joan M 13-May-11 6:35am    
Take another look into my answer, I've updated it in order to give you more details... Possibly this will help you.

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