Saltar al contenido principal

Búsqueda

Búsqueda

Connecting to System Database with Command line

Comentarios

1 comentario

  • Avatar
    Jasper Wen
    Moderador

    By design with the System Database connection setup, Windows authentication is going to authenticating based on the user logged into the Windows system. SQL authentication is going to authenticate based on the account created in SQL Server.

    From looking at your command you are trying to do Windows authentication but also trying specify user credentials. This is not going to work for the reason mentioned above. You can only specify user credentials for SQL authentication. This also follows how it normally works through the BarTender System Database wizard user interface.

    Below are examples of running command line for connecting to an existing BarTender System Database. Just replace the parameter values with the appropriate server name, database name, and credentials for SQL authentication.

    You can also find more information about our System Database command line parameters in our BarTender help here.

    Using Windows authentication

    SystemDatabaseWizard.exe /Silent /Log=C:\log /Type=Connect /Server=SQLServername /Authentication=Windows /Database=BarTender

    Using SQL authentication

    SystemDatabaseWizard.exe /Silent /Log=C:\log /Type=Connect /Server=SQLServername /Authentication=SQL /UserName=JohnDoe /Password=test /Database=BarTender

    0

Iniciar sesión para dejar un comentario.