Connecting to a Remote Database |
The following instructions describe how to connect to a remote database.
The authentication method defines the security credentials that are used when you connect to a remote database. The following authentication modes are available when you connect to the BarTender System Database:
Windows Authentication: Uses a Windows user account for connection. Access to the BarTender System Database SQL Server is controlled by your Windows account or group, which is authenticated when you log on to the Windows operating system on the client.
SQL Server Authentication: Uses SQL Server authentication for connection. When you connect with a specified user name and password from a non-trusted connection, SQL Server performs the authentication by determining whether a SQL Server account is configured and whether the specified password matches the one that was previously recorded.
For BarTender to communicate with a remote BarTender System Database instance, you must enable remote access and the TCP/IP protocol on the host database.
Start the Microsoft SQL Server Management software.
In the Object Explorer, right-click the Server Instance name, and then click Properties. The Server Properties dialog appears.
In the Server Properties Select a Page pane, click Security.
Under Server Authentication, select the type of authorization that you want, as follows:
Windows Authentication: Specifies that the connection is made by using a local user account that has the correct read, write, and create database permissions.
SQL Server Authentication: Specifies that the connection is made by using a SQL Server Authentication user name and password that are defined during the SQL Server installation process. SQL Server performs the authentication by determining whether a SQL Server account is configured and whether the specified password matches the one that was previously recorded.
In the Server Properties Select a Page pane, click Connections.
Under Remote server connections, make sure that the Allow remote connections to this server check box is selected.
Close the Server Properties dialog.
Start the SQL Server Configuration Manager software.
Expand the SQL Server Network Configuration node.
Select Protocols for MSSQLSERVER.
In the right-hand pane under Protocol Name, click TCP/IP.
In the Toolbar menu, click Action.
Click Enable.
The BarTender System Service that runs on the server requires access to the SQL Server. For the BarTender System Service to communicate with a remote SQL Server, you must configure an account that has Read/Write and Create Database access to the SQL Server.
To configure or change the BarTender System Service account information
In the Windows Search field, enter Services, and then click the link for the Services app.
In the Services dialog, double-click BarTender System Service to open the BarTender System Service Properties dialog.
Click the Log On tab, and then click to select This Account.
Enter the account information and password. Make sure that the account has Read/Write access to the SQL Server.
Click Apply.
Click the General tab, and then click Stop.
After the service is stopped, click Start to restart the BarTender System Service.
Click OK to close the dialog.
To connect to the remote database
In Administration Console, click System Database to open the System Database page.
Click the System Database Wizard link.
On the Welcome page of the wizard, click Next.
On the Select Database Type page, click to select Customize connection settings, and then click Next.
On the Select Database Server page, enter the name of the server that you want in the Server Name field, and then select the authentication type that you want in the Authentication list. If you select SQL Server Authentication, provide a user name and password. Click Next.
Complete the remaining wizard pages.