Hi,
Sql Server doesn't allow remote connections by default. I'm looking for a way to enable remote connections without using the UI. Ideally, I would like a command line tool or a script, though writing a C# tool would be better than nothing.
The way to do this though the UI is to go to the Surface Area Configuration > Services and Connections > MSSQLSERVER > Database Engine > Remote Connections and select "Local and remote connections" and "Using TCP/IP only".
Does anyone know how to do this programmatically?
Thanks,
Ann
Yes, check out the SAC utility:
http://msdn2.microsoft.com/en-us/library/ms162800(SQL.90).aspx
Paul A. Mestemaker II
Program Manager
Microsoft SQL Server
http://blogs.msdn.com/sqlrem/
No comments:
Post a Comment