Orthanc Windows Service vs Orthanc.exe in cmd

Hello,

First of all, thank you for your work, it is much appriciated!

I am am having some issues with the metadata of the scans, when veiwing it in the orthanc explorer (both 1 and 2). When i run the Orthanc.exe from cmd on windows, i can see that the Studies, Series and Instances exist, but i cant view any metadata or scans in the online viewer. However, when i start Orthanc from the Orthanc Service, the issue goes away.

Is this intended behavior or is there something i am doing wrong?

I am running orthanc version 1.12.1 with a SQLite setup.

Thank you in advance!

Hi,

When you start Orthanc at the command line, you should make sure that it reads its configuration from the same files/folder as the Windows Service.

"C:\Program Files\Orthanc Server\Orthanc.exe" --verbose "C:\Program Files\Orthanc Server\Configuration"

In this scenario, the IndexDirectory and StorageDirectory should point to the same location and therefore, you should see the same content…

Hope this helps,

Alain

Thank you, that fixed the issue.

The problem was i pointed to the orthanc.json file and not the folder.