This topic describes how to connect the Review Assistant server to a Microsoft SQL Server database.
Review Assistant uses Microsoft SQL Server as a database engine for storing data. Therefore, you need to set up the connection to SQL Server. First, you need SQL Server and SQL Server Management Studio (SSMS) to be installed. Please review the list of supported SQL Servers.
You can specify the connection string using one of the authentication methods: Windows Authentication or SQL Server Authentication. The connection methods differ in the two modes, so let’s consider each mode separately.
In SSMS, connect to SQL Server as a system administrator.
If you installed SQL Server with default settings, you need to enable SQL Server Authentication mode. For more information see Change Server Authentication Mode on MSDN.
Create an empty database and specify its name, for example, “ReviewAssistant”. For more information see Create a Database on MSDN.
Create a new SQL Server Authentication login (e.g. “RA”), specify the login name and password. For more details see Create a Login on MSDN.
Assign the db_owner role to a user for the Review Assistant database.
After you setup the login, in the Configuration Wizard, specify the connection string according to the following template:
Server = .\SQLEXPRESS; Database = ReviewAssistant; Integrated Security = False; User ID = user; Password = user_password
wherein:
Verify the connection using the Test Connection button in Configuration Wizard. If the connection is successful, you will get the following message:
Click Save & Close.
In SSMS, connect to SQL Server as a system administrator.
Create an empty database and specify its name, for example, “Review Assistant”. For more information see Create a Database on MSDN.
In the Devart Review Assistant Properties window, click the Log On tab and specify the Windows user (using the Browse button) under which you log in to the SQL Server and click OK.
Note:
In case you reinstall Review Assistant you need to perform this step again.
In the Configuration Wizard, specify the connection string according to the following template:
Server = .\SQLEXPRESS; Database = ReviewAssistant; Integrated Security = True
wherein:
For more information see SqlConnection.ConnectionString Property on MSDN.
If the connection is successful you will get the following message:
Click Save & Close. This will run the server.
If you previously used Review Assistant v.3.2 or below, the data will be automatically migrated. If you did not use Review Assistant, you will be able to connect in the Visual Studio client using the default username\password: Admin\Admin.