1

I tried to use HangFire with SQL Server 2017 but it doesn't work.

The error encountered is

Hangfire.BackgroundJobClientException: 'background job creation failed'

The same setting works with SQL Server 2016.

Even with the compatibility Level setting, can not create the database

GlobalConfiguration.Configuration
              .SetDataCompatibilityLevel(CompatibilityLevel.Version_170)

Does someone have the same problem.

Thank you.

4
  • Are your user permissions identical between the two instances? What is the inner exception as that will provide way more detail into what may be causing the job creation to fail.
    – Tommy
    Sep 19, 2019 at 14:49
  • yes, Same persmissions : InnerException {"Incorrect syntax near ','."} System.Exception {System.Data.SqlClient.SqlException}
    – MNF
    Sep 19, 2019 at 15:16
  • What version of hangfire are you using?
    – Tommy
    Sep 19, 2019 at 15:36
  • I am using v1.7.6
    – MNF
    Sep 19, 2019 at 15:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy