Connecting to a Remote Database |
Required Edition |
Enterprise Automation |
Additional Software |
SQL Server or SQL Express |
The following instructions describe how to connect to a remote database.
Two authentication modes are available when connecting to the BarTender System Database. The selected authentication method defines the security credentials that are used when connecting to a remote 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 login name and password from a non-trusted connection, SQL Server performs the authentication itself by checking to see if a SQL Server login account has been set up and if the specified password matches the one previously recorded.
In order for BarTender to communicate with a remote BarTender System Database instance, remote access and the TCP/IP protocol on the host database must be enabled. If you are using MSSQL 2005, use the SQL Server Configuration Manager to enable the TCP/IP connections.
Open the Microsoft SQL Server Management software.
In the Object Explorer, right-click the Server Instance name and select Properties. The Server Properties dialog appears.
Select Security from the Server Properties Select a Page pane.
Under Server Authentication, select the type of authorization from the following options.
Windows Authentication. Allows you to connect with a local user account that has the proper read, write and create database permissions.
SQL Server Authentication. Allows you to connect with a SQL Server Authentication login name and password which is predefined during the SQL Server install. SQL Server performs the authentication by checking to see if a SQL Server login account has been set up and if the specified password matches the one previously recorded.
Select Connections from the Server Properties Select a Page pane.
Under Remote server connections, ensure that the Allow remote connections to this server check box is selected.
Close the Server Properties dialog.
Open 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, select TCP/IP.
In the Toolbar Menu, select Action.
Select Enable.
The BarTender System Service running on the server requires access to the SQL Server. For the BarTender System Service to communicate with a remote SQL Server, you will need to set up an account that has Read/Write and Create Database access to the SQL Server.
To set up or change the BarTender System Service account information
From the Window's Start menu, right-click My Computer and select Manage.
Expand Services and Applications.
From the tree menu, select Services.
Double-click BarTender System Service to launch the BarTender System Server Properties dialog.
From the Log On tab, select the option for This Account.
Enter the account information and password. Ensure that the account has Read/Write access to the SQL Server.
At the bottom of the dialog, select Apply.
From the General tab, click the Stop button.
Once the service has stopped running, select the Start button to restart the BarTender System Service.
Click OK to close the dialog.
To connect to the remote database
From the Windows Start menu, select BarTender, then System Database Setup to launch the BarTender System Database Setup dialog.
Click the System Database Setup Wizard button.
On the System Database Setup Wizard "Welcome" page, click Next.
Enable Connect to an existing database and click Next.
Specify the Database Server name by either entering it in the text box or browsing to it using the Browse button.
Select the authentication type. If using SQL Server Authentication enter a login name and password. Click Next.
Select to use an existing BarTender System Database or to create a new one, and click Next.
If you are creating a new database, enter a name. The default name is BarTender. Click Next.
Click Setup and Finish when prompted.