I get alot of these, following proper SQL Permissions by not giving the Service Account full DB Access to dbo.
<Exception act="Ice:BO:SysConfig/SysConfigSvcContract/PassSessionValues" machine="GRECORAPP" pid="9104" tid="174"><![CDATA[System.Data.SqlClient.SqlException (0x80131904): Caller does not have permissions to execute the stored procedure.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 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.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Ice.Extensibility.AppserverStartupEvents.AppServerStartupEvent.ExecuteSQLQueryAndAppendToStringBuilder(IceContext ctx, StringBuilder sBuilder, Func`2 stringBuilderAction) in C:\_Releases\ICE\RL10.2.600.0FW\Source\Server\Internal\Extensibility\AppserverStartupEvents\AppServerStartupEvent.cs:line 158
ClientConnectionId:086ca7ff-8790-4ea4-acba-c049cf8c0c69
Error Number:27219,State:1,Class:16]]></Exception>
I narrowed it down, they are basically trying to capture the SQL Error Logs from the file and return it to the dll for whatever reason.
AppServerStartupEvent.cs

