MS Sql Server Connection sample problem

Got a problem you cannot solve? Try here.
Post Reply
bunkscene
Posts: 6
Joined: Wed Nov 29, 2006 1:34 pm

MS Sql Server Connection sample problem

Post by bunkscene »

Hi. I just installed the demo version of InstallAware and I cannot get the MS Sql Server Connection sample to work. All I did was create a new project using the sample. I built it and run it. The dropdown does not show any of the sql servers that should exist. I manually type the name of the server and click next, but it says connection failed.

All the servers have SQL Server 2005.


Do I need to do something else in the sample? Any help is appreciated.


Thanks,
Dave
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Hi Dave,

You need to enable mixed mode authentication and network connections to your servers. I believe this is documented in the help file entry for the SQL command.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
bunkscene
Posts: 6
Joined: Wed Nov 29, 2006 1:34 pm

Post by bunkscene »

Thanks for the quick reply. The settings on the servers allow windows authentication and sql server atuhentication and they all allow remote connections.


Can you think of any other possible issues?


Dave
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Firewalls or other security software interfering with connections?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
bunkscene
Posts: 6
Joined: Wed Nov 29, 2006 1:34 pm

Post by bunkscene »

nope, no firewalls. It's all internal servers. I can connect to them from any machine using Sql Management studio.
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

Under which account are SQL Servers running?
It should be Network Service in order to work correctly.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
Post Reply