Column "updatecount" of relation "lock" already exists at Npgsql.Internal.NpgsqlConnector in postgres when use IIS server

Hi all,

I’m encountering an issue when using the .NET Framework with IIS Server. Could everyone please help me? Thanks!

package i use.
package id=“Hangfire.Core” version=“1.8.0”
package id=“Hangfire.PostgreSql” version=“1.20.0”

log bug

tart installing Hangfire SQL objects… ERROR 2026-03-27 08:25:03,050 468ms PostgreSqlStorage ateAndExecuteVoid3 - Error while executing install/upgrade Npgsql.PostgresException (0x80004005): 42701: column “updatecount” of relation “lock” already exists at Npgsql.Internal.NpgsqlConnector.<g__ReadMessageLong|213_0>d.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Npgsql.NpgsqlDataReader.d__47.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.d__113.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Npgsql.NpgsqlCommand.d__113.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Npgsql.NpgsqlCommand.d__101.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Npgsql.NpgsqlCommand.ExecuteNonQuery() at

I think it issue when IIS restart or start again