...
While the
installer is running, and at the stage of asking for the MS SQL credentials, navigate to theCompanyname Agiloft\resources\resources.zip\resources\java\lib\mssqlxa
directory and open the files inside your zip viewer.Copy the
sqljdbc_xa.dll
file from the directory to the Binn directory of the SQL Server computer.Note: For a default SQL Server install, the location is
C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Binn
.- Run the
xa_install.sql
database script from the directory: - In the command prompt, enter sqlcmd -i xa_install.sql. This script installs the extended stored procedures that are called by
sqljdbc_xa.dll
. These extended stored procedures implement distributed transaction and XA support for the Microsoft SQL Server JDBC Driver. You will need to run this script as an administrator of the SQL Server instance. You can ignore errors about being unable to drop procedures that don't exist.
- Change the password and database name (sw2_std) if needed in the
aluser.sql
script and run it the same way asxa_install.sql
. The script creates an user with processadmin an
user with SysAdmin role and the ability to use XA Transactions. Repeat the same as step #2 forCompanyname aladmin.sql
as well. This script will create another user with sysadmin roleFor best results, do not revoke the SysAdmin role for this user. - Close the SQL Server Management Studio. If this is not closed, the
installer will not be able to get an exclusive lock to set the database options, and will wait forever.Companyname - Continue with the
installation.Companyname
...