Fatal error occurred during execution of 'Server Core'

I am getting the below error in my logs, I have already upgraded the hangfire to 1.3.1. Does anyone know about how this error should be dealt with?

“Fatal error occurred during execution of ‘Server Core’ component. It will be stopped. See the exception for details.”

Thanks!

I’ve recently release Hangfire 1.3.2, and instead of failing instantly on any exception during the start, it will retry it several times. However, only logging an inner exception will help to identify a problem. What logging library are you using?

Our app is using NLog library form logging.

We are using the following layout for our applications to store exceptions also, look at the ${exception} tag:

<target name="logfile" xsi:type="File" layout="[${longdate}] ${level:uppercase=true:padding=5:fixedLength=true} - ${logger:padding=30:fixedLength=true} - ${message}${onexception:${newline}${newline}${exception:format=Message,Type,Method,StackTrace:innerFormat=Message,Type,Method,StackTrace:maxInnerExceptionLevel=10}${newline}}" fileName="${basedir}/../gamezone.log" archiveEvery="Day" concurrentWrites="false" />

Here you go…

String or binary data would be truncated.
The statement has been terminated. System.Data.SqlClient.SqlException Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action1[System.Action]) at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action2 paramReader) at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable1 commandTimeout, Nullable`1 commandType)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.ServerBootstrapper.Execute(CancellationToken cancellationToken)
at Hangfire.Server.ServerSupervisor.ExecuteComponent()
at Hangfire.Server.ServerSupervisor.RunComponent()