how can i connect sql server on the network from my computer
i alreadyused connection string to connect another system but i am getting errors ,
tell me any sharing settings for sql server
how can i connect sql server on the network from my computer
i alreadyused connection string to connect another system but i am getting errors ,
tell me any sharing settings for sql server
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
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 23, 2008, 10:57 AM EDT
Data Source=myServerAddress;Database=myDataBase;User ID=myUsername;Password=myPassword;Trusted_Connection=False;
and
Make Sure that U have Enabled "Remote Connection" In SQL Server Configurations
To Enable Remote Connection
Go To
SQL Server Surface Area Configuration>>Surface Area Conflagration For Services and Connection >>Remote Connections
Select "Using both TCP/IP or Named Pipe"
Restart SQL Server Service or Computer
Mamta MRank #268 · 9.4K reputationPosted Oct 23, 2008, 3:37 AM EDT
hi,
The settings are different for different kinds of connections, for eg, a network server with SQL server authentication would have the following connection string:
connectionString= Data Source="Random";Initial Catalog="Finances";Integrated Security=SSPI;User ID=sa;Password=test;"
Hope that helps. If it doesn't solve your problem, then post the errors here so that depending on the error, you will get a solution.
-Mamta