我在配置3臺服務器的情況下運行NServiceBus安裝程序4.6.1:1個主站和2個工作站。NServiceBus 4.6.5主站無法安裝
我成功地安裝了1個工人用下面的命令:
NServiceBus.Host.exe Worker.Profiles.MyProduction /install /serviceName:Worker /displayName:"My Worker"
我試着用下面的命令在主服務器做同樣的:
NServiceBus.Host.exe Worker.Profiles.MyProduction NServiceBus.Master NServiceBus.PerformanceCounters /install /serviceName:Worker /displayName:"My Worker"
它引發以下錯誤:
2017-03-21 11:54:01,351 [1] INFO NServiceBus.ConfigureRavenPersistence [(null)] <(null)> - Connection to RavenDB at http://localhost:8080 verified. Detected ve rsion: Product version: 2.0.3/5a4b7ea, Build version: 2375 2017-03-21 11:54:01,476 [1] WARN NServiceBus.Installation.GatewayHttpListenerIn staller [(null)] <(null)> - Failed to grant to grant user 'DEVDOMAIN\myuser' HttpListener permissions. Processing will continue. Try running the following command from an admin console: netsh http add urlacl url= http://localhost/Worker/ user="DEVDOMAIN\myuser"
The error message from running the above command is: Url reservation add failed, Error: 87 The parameter is incorrect. 2017-03-21 11:54:01,476 [1] INFO NServiceBus.Persistence.Raven.RavenUserInstall er [(null)] <(null)> - Adding user 'DEVDOMAIN\myuser' to raven. Instance:' http://localhost:8080 ', Database:'Worker'. 2017-03-21 11:54:01,788 [1] INFO NServiceBus.Installation.PerformanceMonitorUse rsInstaller [(null)] <(null)> - Skipped adding user 'DEVDOMAIN\myuser' to gro up 'Performance Monitor Users' because the user is already in group.
所以我試着從命令行cmd中獲得的命令作爲ñ管理員:
netsh http add urlacl url=http://localhost/Worker/ user="DEVDOMAIN\myuser"
,我仍然得到以下錯誤:
Url reservation add failed, Error: 87 The parameter is incorrect.
在越來越安裝在我的主服務器NServiceBus任何幫助嗎?
根據https://msdn.microsoft.com/en-us/library/windows/desktop /cc307223(v=vs.85).aspx用戶參數不需要用引號引起來,當你刪除它們時它會改變什麼嗎? – Sabacc