STTP2HIDS in Windows Server

So I’ve been running the STTP2HIDS tool ( successfully in Windows 10, to read data from OpenPDC and send them to an external database in a different computer. However, now I’d like to move OpenPDC and STTP2HIDS to a Windows Server machine. OpenPDC seems to work fine, but the STTP2HIDS tool throw an exception when executed. As i’m not familiar with C#, I would really appreciate some help.
The error said :

Error: The type initializer for ‘sttp.CommonPINVOKE’ threw an exception.

And this is a photo of the Windows Server cmd:


Still having trouble with this?


Yes, I couldn’t solve it. I really would appreciate your help.