Hi,
We are using NSB 6.4.3 trial licence via IIS, and get the error below. We have lots of different app pools using different identities so giving them elevated permissions to modify reg keys doesn’t seem like the best solution. Can anybody provide some assistance please.
2019-08-02 15:05:59.079 FATAL NServiceBus.Features.LicenseReminder Failed to initialize the license
System.UnauthorizedAccessException: Access to the registry key ‘HKEY_CURRENT_USER\SOFTWARE\ParticularSoftware’ is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Particular.Licensing.TrialStartDateStore.GetTrialStartDate()
at Particular.Licensing.ActiveLicense.Find(String applicationName, LicenseSource[] licenseSources)
at NServiceBus.LicenseManager.InitializeLicense(String licenseText, String licenseFilePath)
at NServiceBus.Features.LicenseReminder.Setup(FeatureConfigurationContext context)