{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2779","repository_url":"https://api.github.com/repos/Particular/NServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2779/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2779/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2779/events","html_url":"https://github.com/Particular/NServiceBus/issues/2779","id":94702637,"number":2779,"title":"License priority and trials licenses","user":{"login":"mauroservienti","id":1325611,"avatar_url":"https://avatars.githubusercontent.com/u/1325611?v=3","gravatar_id":"","url":"https://api.github.com/users/mauroservienti","html_url":"https://github.com/mauroservienti","followers_url":"https://api.github.com/users/mauroservienti/followers","following_url":"https://api.github.com/users/mauroservienti/following{/other_user}","gists_url":"https://api.github.com/users/mauroservienti/gists{/gist_id}","starred_url":"https://api.github.com/users/mauroservienti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauroservienti/subscriptions","organizations_url":"https://api.github.com/users/mauroservienti/orgs","repos_url":"https://api.github.com/users/mauroservienti/repos","events_url":"https://api.github.com/users/mauroservienti/events{/privacy}","received_events_url":"https://api.github.com/users/mauroservienti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/Type:%20Discussion","name":"Type: Discussion","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-07-13T11:50:14Z","updated_at":"2016-10-05T06:55:20Z","closed_at":null,"body":"## Who's affected\r\n\r\nEveryone that:\r\n\r\n* is **not** using the `NServiceBus.Host`;\r\n* is installing more than one endpoint on the same machine;\r\n* is running endpoints with different credentials\r\n* wants to share the licence across these endpoints at the machine level installing the license in the `HKLM` registry hive.\r\n\r\n## Symptoms\r\n\r\nThe endpoint at startup creates a trial license in the `HKCU` registry hive and starts running in trial mode.\r\n\r\n## Triage\r\n\r\nnone\r\n\r\n## Steps to reproduce\r\n\r\n1. create a sample console application that starts up a bus instance (do not use the `Host`);\r\n* Clear the `HKEY_LOCAL_MACHINE\\SOFTWARE\\ParticularSoftware` and `HKEY_CURRENT_USER\\Software\\ParticularSoftware` hives of all keys;\r\n* Create a valid “License” key in the `HKEY_LOCAL_MACHINE\\SOFTWARE\\ParticularSoftware` hive;\r\n* Start the sample application, notice that the key `TrialStart` is added with the current date in `HKEY_CURRENT_USER\\Software\\ParticularSoftware`;\r\n* Modify this date to sometime in the past, such as `2015-01-13` and restart the application to cause a license failure.\r\n\r\n## Workaround\r\n\r\nInstall the license on a per user basis in the `HKCU` registry hive\r\n\r\n## References\r\n\r\n* Desk case: https://nservicebus.desk.com/agent/case/11743\r\n* [Operations Licensing](https://github.com/Particular/Operations.Licensing/issues/14)"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/251596831","html_url":"https://github.com/Particular/NServiceBus/issues/2779#issuecomment-251596831","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2779","id":251596831,"user":{"login":"andreasohlund","id":125028,"avatar_url":"https://avatars.githubusercontent.com/u/125028?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasohlund","html_url":"https://github.com/andreasohlund","followers_url":"https://api.github.com/users/andreasohlund/followers","following_url":"https://api.github.com/users/andreasohlund/following{/other_user}","gists_url":"https://api.github.com/users/andreasohlund/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasohlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasohlund/subscriptions","organizations_url":"https://api.github.com/users/andreasohlund/orgs","repos_url":"https://api.github.com/users/andreasohlund/repos","events_url":"https://api.github.com/users/andreasohlund/events{/privacy}","received_events_url":"https://api.github.com/users/andreasohlund/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T06:55:20Z","updated_at":"2016-10-05T06:55:20Z","body":"Labeled this as a bug"}}
{"actor":{"display_login":"andreasohlund"}}