XPACS Installation Guide (Windows)
Prerequisites
- ASP.NET Core
- SQL Server 2016+
- Seq logger
- RabbitMQ message broker
Installation
Unzip the latest release content to a deployment folder, e.g. C:\XPacs
. Then open the XPacsStarter
subfolder.
Running XPACS
XPACS modules can simply run as console applications by starting XPacsStarter
.
Making XPACS a Windows Service
Install XPACS as a Windows service by running (as administrator):
XPacsStarter install
Then start the service in Windows Services Manager or by running:
XPacsStarter start
It can stop in Windows Services Manager or by running:
XPacsStarter stop
It can uninstall by running:
XPacsStarter uninstall
See more options by using the help
command.
Troubleshooting
XPACS cannot create a database on the startup
It may occur when running XPACS as a service and the local system account does not have the sysadmin role (mainly happening on the last versions of SQL Server). Then open SQL Server Management Studio, double click the Security
-> Logins
-> NT AUTHORITY\SYSTEM
object, select the Server Roles
page, check the sysadmin
role box, then click OK
. Afterward, one should restart XPACS.
The issue may occur due to unknown reasons. It means that one should create the XPACS database manually: open SQL Server Management Studio, right-click the Databases
object, select the New Database
menu item, type XPacs_Ndt
in the Database Name
field, then click OK
. Afterward, one should restart XPACS.
The latest version of SQL Server Management Studio can download here.