Trying to install Quartz.net, having issue running server

坚强是说给别人听的谎言 提交于 2019-12-07 13:40:32

问题


So I have been following the instructions here for installing Quartz.NET. However, when I try running "Quartz.Server.exe -i" from the command prmopt, I get this error:

Topshelf.HostFactory Error: 0 : The service terminated abnormally, Topshelf.Host
ConfigurationException: The service was not properly configured:
[Failure] Command Line An unknown command-line option was found: SWITCH: i (True
)
[Success] Name QuartzServer
[Success] DisplayName Quartz Server
[Success] Description Quartz Job Scheduling Server
[Success] ServiceName QuartzServer
   at Topshelf.Configurators.ValidateConfigurationResult.CompileResults(IEnumera
ble`1 results)
   at Topshelf.HostFactory.New(Action`1 configureCallback)
   at Topshelf.HostFactory.Run(Action`1 configureCallback)

Does anybody know what is going on?


回答1:


Try using the command line without the "-i"

C:\Program Files (x86)\Quartz.Net>Quartz.Server.exe



回答2:


if you want to install it as a service just use:

Quartz.Server.exe install

instead of -i or -install or /install or ....

if you will run it without any parameter it will be run as command line application




回答3:


I got into same error, and got 'Access Denied' when running through services.msc. Finally the issue was due to a misconfigured entry in quartz config ( wrong delegate ).



来源:https://stackoverflow.com/questions/15951842/trying-to-install-quartz-net-having-issue-running-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!