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.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
MNF
  • 687
  • 9
  • 13
  • 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 '19 at 14:49
  • yes, Same persmissions : InnerException {"Incorrect syntax near ','."} System.Exception {System.Data.SqlClient.SqlException} – MNF Sep 19 '19 at 15:16
  • What version of hangfire are you using? – Tommy Sep 19 '19 at 15:36
  • I am using v1.7.6 – MNF Sep 19 '19 at 15:42

0 Answers0