Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Connecting SQL to Network Server

$
0
0
Hi,
I am not able to browse to or connect to a SQL instance on another machine (same domain) in my 2013 InstallScript MSI project.
In my SQL Scripts view I do have one connection to the local machine and that works fine. I would like to be able to browse and connect to other machines at install time by specifying Domain\Machine. I have tried several of the "Dialog Functions" as found in the Help, but must be missing something. I can get the dialogs to display... but they just don't find any other machines. I can use SQL Management Studio to browse to and connect to other machines.

There are many links on this subject (too many). Some are 10 years old and dealing with SQL 2000... so it can be difficult to ascertain what is relevant. FWIW, I am using SQL 2012.
Thanks for any tips.

Clarification:
My problem starts a bit earlier than the SQL connection... I am attempting to use SdLogonUserInformation first. I can browse to and select the local machine and users; but not other machines on the network. After I get that to work I will proceed to use OnSQLLogin for the SQL connection. I am doing this in OnFirstUIBefore.

Getting There!
By default the Computer Browser service is disabled on newer server OS's. This needs to be running to browse.
http://stackoverflow.com/questions/3...-list-is-empty

Viewing all articles
Browse latest Browse all 4553

Trending Articles