SQL Server error when installing - Advanced Installer Community
jstuardo
Posts: 88
Joined: Mon Nov 09, 2015 10:44 pm

SQL Server error when installing

Hello,

I am running an installer in a Windows 10 machine.

That installer connects to a SQL Server machine and creates a database and schema.

First I choose Trusted Connection but the attached error is shown. "Servidor Media" is the local user of the machine. When I user SQL Server Management Studio, I can connect correctly to the database and create tables.

More strange thing. When I don't choose trusted connection, and uses sa user with the password, the exact same error occurs.

I am also attaching the AIP file and the LOG.

What is going on?

I have tested in another PC and the same problem occurs.

Definetely it is not a problem in SQL Server installation. I can connect to the SQL Server instance using that user with SQL Server Management Studio. I tried with creating an ODBC data source with trusted connection and it worked too.

It seems Advanced Installer does something wrong that I don't know. Please tell me how to fix this.

Regards
Jaime
Attachments
SQL installer error.png
SQL installer error.png (45.84 KiB) Viewed 2421 times
install.log
(765.93 KiB) Downloaded 267 times
setup.aip
(82.78 KiB) Downloaded 296 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: SQL Server error when installing

Hello Jaime,

This may happen because you do not have the "Trusted Connection (Windows integrated authentication)" option checked. Could you please check this option: SQL Databases --> "Base de Datos" --> check the option and see if that helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”