But when I hit F5 to bootup the project, it just closes down straight away. I tried looking in the logs, but no clear indication or exception can be found there. It is only after I comment out services.AddHangfireServer(); that I am able to startup. Has anyone had these issues before?
no problem, took me ages to figure out what it was for me, as it just suddenly stopped working, figured it must have been a windows update that did it as it worked one day and not the next (windows update in bewtween)
Startup issue with Hangfire on local Umbraco 10.3.2 project
I have an Umbraco 10 project where I installed this Hangfire package:
In my Startup.cs I added the following lines to the ConfigureServices method:
But when I hit F5 to bootup the project, it just closes down straight away. I tried looking in the logs, but no clear indication or exception can be found there. It is only after I comment out services.AddHangfireServer(); that I am able to startup. Has anyone had these issues before?
I also tried just installing Sebastiaan's Cultiv.Hangfire package, but same issue with that one unfortunately :( https://our.umbraco.com/packages/developer-tools/cultivhangfire/
It could be this, it caused me a big headache at the time :D
https://github.com/HangfireIO/Hangfire/issues/2105
Ohh my god, thank you so much Huw! That did the trick! :)
no problem, took me ages to figure out what it was for me, as it just suddenly stopped working, figured it must have been a windows update that did it as it worked one day and not the next (windows update in bewtween)
was banging my head against the wall :D
is working on a reply...