Hangfire Support for Microsoft Sql Server Managed Instance

sql-server
Tags: #<Tag:0x00007f788cac8530>

#1

Application startup exception: System.PlatformNotSupportedException: The SQL Server edition of the target server is unsupported, e.g. SQL Azure.
at Hangfire.SqlServer.SqlServerObjectsInstaller.Install(DbConnection connection, String schema)
at Hangfire.SqlServer.SqlServerStorage.<>c__DisplayClass24_0.b__0(DbConnection connection)
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func2 func) at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
at Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in C:…\Startup.cs:line 166
— End of stack trace from previous location where exception was thrown —


#2

Just fixed in the recent release, please see https://www.hangfire.io/blog/2018/07/21/hangfire-1.6.20.html.