Venus 6 - Invalid class string error from HSLRandom library

I am running a randomized distribution method that makes use of HSLRandom library, and it gives out this error during task scheduling “C:\Program Files (x86)\Hamilton\Library\HSLRandom\HSLRandom.hsl(349) : Invalid class string (0x23 - 0x2 - 0x39)”
The method was Initially developed on Venus 5, but we have recently upgraded to Venus 6. All other methods works fine after Venus 6 upgrade. Greatly appreciate any help in fixing this.

That’s a standard error when a library that is supposed to be installed has not been. I would recommend rerunning the installer.

1 Like

Thank you, Patrick! Does this mean that even though I see the HSLRandom library files in the Hamilton\Library folder, and there is no indication that the library is missing when I open the method in Method Editor, there can still be issues with library installation?

Hi @hpremathilake ,

Like @PatrickM mentioned, this error is a result of an installer being required. The library files are present, but there is a dll that needs to be registered for the library to work. Once the installer is run, the error should go away.