Testing 2025.2.10. When running MRP the server logs show this error
Error accessing the database: You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.
I disabled all of our BPMs manually. Both Method and Data directives. It’s still coming up.
Any ideas what’s causing this?
Here’s the full error
Ice.Common.EpicorServerException: Error accessing the database: You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TrySetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader()
at Ice.Services.BO.SysAgentSvc.GetByIdForTaskAgentInternal(String agentID) in C:\_releases\ICE\ICE5.1.100.0\Source\Server\Services\BO\SysAgent\SysAgent.cs:line 274
ClientConnectionId:b778e21e-f1d3-4ddc-97c1-eb94b30a4812
Error Number:50000,State:1,Class:16
--- End of inner exception stack trace ---
at Ice.Services.BO.SysAgentSvc.GetByIdForTaskAgentInternal(String agentID) in C:\_releases\ICE\ICE5.1.100.0\Source\Server\Services\BO\SysAgent\SysAgent.cs:line 298
at Ice.Services.BO.SysAgentSvc.Retry[T](Func`1 func) in C:\_releases\ICE\ICE5.1.100.0\Source\Server\Services\BO\SysAgent\SysAgent.cs:line 1455
at Ice.Services.BO.SysAgentSvcFacade.GetByIdForTaskAgent(String agentID, Boolean firstPass) in C:\_releases\ICE\ICE5.1.100.0\Source\Server\Services\BO\SysAgent\SysAgentSvcFacade.cs:line 124
at Ice.Controllers.BO.SysAgentController.GetByIdForTaskAgent(GetByIdForTaskAgent_InputModel model) in C:\_releases\ICE\ICE5.1.100.0\Source\Server\Services\BO\SysAgent\Generated\SysAgentController.cs:line 76
at lambda_method5445(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
CorrelationId: 471626ea-574f-46bf-8e7c-216fe95cc346
