Michael Fender
Michael Fender

Reputation: 551

Trying to install Quartz.net, having issue running server

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?

Upvotes: 3

Views: 3376

Answers (3)

Gatis Bergšpics
Gatis Bergšpics

Reputation: 441

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

Upvotes: 1

Mukthar
Mukthar

Reputation: 118

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 ).

Upvotes: 0

Mike Smith
Mike Smith

Reputation: 642

Try using the command line without the "-i"

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

Upvotes: 5

Related Questions