Fences Local License Server Service Issue
We were running a Fences License Server (version 2.12 - yes, its old) running on Server 2008 R2. I migrated the server over to another server running Server 2019 and if I run the LicenseServiceApp locally it works perfectly fine. However, when I register it to run as a service like this:
LicenseServiceApp.exe action=install
The service registers fine, however, it does not actually bind to the port and so obviously it is not working.
The Windows Event Viewer shows this error for the CyrptoLicensingService when I start it:
System.IO.FileNotFoundException: Could not load file or assembly 'LicenseServiceApp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=4a3c0a4c668b48b4' or one of its dependencies. The system cannot find the file specified.
File name: 'LicenseServiceApp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=4a3c0a4c668b48b4'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Web.Hosting.HostingEnvironment.CreateInstance(Type type)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at A.c699fd9982bc616c7034b1cf345df51a0.c72a06687b11280cb7af99771f5b18c9e()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Any assistance would be greatly appreciated.