Connecting to database SQL server 2008 in remote machine using c#
my database is in a remote server in Sql server 2008
I m using .net Framework 3.5 how should i connect it through c# code. ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shourya Verdhan62 reputationPosted Nov 20, 2012, 4:41 PM EST
i have a software now i want to install SQL in only server and use from other 10 client pc..
my connection string is
"data source=192.168.113,1433; Network Library=DBMSSOCN; initial Catalog=ndts_tm247; integrated security=true;";
I already use id n Password but no same problem coming again n again.
i had also change my port no from the fire wall n my tcp/ip is also enable.
but it not works..
any one can help me so please do....
my email is [email protected]
or just give me a miss call
Mob:+91-8010359695
Vikrant MoreRank #1,157 · 1.6K reputationPosted Sep 27, 2012, 11:19 PM EDT
Ramesh Murugan3 reputationPosted Sep 27, 2012, 11:29 PM EDT
The server has Sql Server 2008, Is is necessary to install Sql Management studio 2008 in my computer too.
The code is showing me Network Related error
Pradip PandeyRank #452 · 5.6K reputationPosted Sep 28, 2012, 12:01 AM EDT
Are u able to connect to Sql Server on your remote server by using this information
Server Name:113.30.141.10,1433
Login:sa
Password:Mypassword
If not, plz check it to correct network related error.
Hope it will help.
Vikrant MoreRank #1,157 · 1.6K reputationPosted Sep 28, 2012, 12:58 AM EDT
Vikrant MoreRank #1,157 · 1.6K reputationPosted Sep 28, 2012, 12:59 AM EDT
Vikrant MoreRank #1,157 · 1.6K reputationPosted Sep 28, 2012, 1:01 AM EDT
Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;
User ID=myUsername;Password=myPassword;
Manoj Kumar184 reputationPosted Feb 17, 2016, 11:58 PM EST
Chandu KumawatRank #1,449 · 1.1K reputationPosted Feb 18, 2016, 12:07 AM EST