2025-07-01T08:31:49 :: Getting setting ApplicationInsights.InstrumentationKey which was not yet in cache. 2025-07-01T08:31:50 :: Getting setting ScoreModel.DataContext.ConnectionString which was not yet in cache. 2025-07-01T08:31:51 :: Getting setting ApplicationInsights.InstrumentationKey which was not yet in cache. 2025-07-01T08:31:51 :: Getting setting ScoreModel.DataContext.ConnectionString which was not yet in cache. 2025-07-01T08:31:57 :: Getting setting ScoreModel.Filters.RequireHttps which was not yet in cache. 2025-07-01T08:31:58 :: Getting setting ScoreModel.Filters.RequireHttps which was not yet in cache. 2025-07-01T08:31:59 :: Getting setting ApplicationInsights.InstrumentationKey which was not yet in cache. 2025-07-01T08:32:00 :: Getting setting ScoreModel.DataContext.ConnectionString which was not yet in cache. 2025-07-01T08:32:02 :: System Parameter Count: 6 2025-07-01T08:32:02 :: System Parameter Count: 6 2025-07-01T08:32:02 :: OWIN Started 2025-07-01T08:32:03 :: System Parameter Count: 6 2025-07-01T08:32:04 :: System Parameter Count: 6 2025-07-01T08:32:04 :: OWIN Started 2025-07-01T08:32:23 :: Getting setting ScoreModel.Filters.RequireHttps which was not yet in cache. 2025-07-01T08:32:54 :: Class: ScoreModel.Business.Stage.GenericGetStage`2[[ScoreModel.Business.Context.GenericContext`1[[ScoreModel.Domain.Entities.SystemParameter, ScoreModel.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], ScoreModel.Business, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[ScoreModel.Domain.Entities.SystemParameter, ScoreModel.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Error Message: An error occurred while executing the command definition. See the inner exception for details. | Exception: System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable) 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.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) 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.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.b__c(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.b__6() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.b__5() at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ScoreModel.Business.Stage.GenericGetStage`2.Execute(T input) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business\Base\Stage\GenericGetStage.cs:line 27, Error Message: An error occurred while executing the command definition. See the inner exception for details. Exception: System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable) 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.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) 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.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.b__c(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.b__6() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.b__5() at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ScoreModel.Business.Stage.GenericGetStage`2.Execute(T input) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business\Base\Stage\GenericGetStage.cs:line 27 LineNo : 0 InnerException : System.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable) 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.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) 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.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.b__c(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) ClientConnectionId:838bd893-50c6-480d-9cdb-75208bf88999 Error Number:-1,State:0,Class:20 ClientConnectionId before routing:0da191c9-da03-4f9a-ba7d-5ed082c49bfc Routing Destination:f589dd40248b.tr52023.eastus1-a.worker.database.windows.net,11009 2025-07-01T08:32:54 :: Class: ScoreModel.API.Provider.AuthorizationOAuthOption, Error Message: Value cannot be null. Parameter name: source | Exception: , Error Message: Value cannot be null. Parameter name: source | Exception: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ScoreModel.API.Provider.AuthorizationOAuthOption.getSystemParameters() in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\Provider\AuthorizationOAuthOption.cs:line 57 2025-07-01T08:32:54 :: Error occuredAuthorizationOAuthOption: System Parameter data is null for Authorization OAuth Option, Error Message: AuthorizationOAuthOption: System Parameter data is null for Authorization OAuth Option | Exception: System.NullReferenceException: AuthorizationOAuthOption: System Parameter data is null for Authorization OAuth Option at ScoreModel.API.Provider.AuthorizationOAuthOption.getSystemParameters() in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\Provider\AuthorizationOAuthOption.cs:line 71 at ScoreModel.API.Provider.AuthorizationOAuthOption..ctor() in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\Provider\AuthorizationOAuthOption.cs:line 32 at ScoreModel.API.AuthorizationServer.Configuration(IAppBuilder app) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\AuthorizationServer.cs:line 18 2025-07-01T08:32:54 :: OWIN Started 2025-07-01T08:46:11 :: Getting setting ScoreModel.ShowUtilityValuesInResult which was not yet in cache. 2025-07-01T08:46:16 :: Getting setting ScoreModel.ShowUtilityValuesInResult which was not yet in cache. 2025-07-01T08:46:17 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'C:\home\site\wwwroot\Logs\ScoreModel_07012025_0_To_12.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'C:\home\site\wwwroot\Logs\ScoreModel_07012025_0_To_12.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Common.Service.BaseConfigurationService.GetSetting(String settingName, Boolean decrypt) at ScoreModel.Common.Service.BaseConfigurationService.GetSetting(String settingName) at ScoreModel.Business.Logic.Helper.UtilityHelper.CanShowUtilityValuesInResponse() in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\Helper\UtilityHelper.cs:line 466 at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest, Boolean isForLoanOffer) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\Helper\UtilityHelper.cs:line 182 at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\UtilityService.cs:line 39 at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\Controllers\UtilityController.cs:line 80 2025-07-01T08:46:18 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'C:\home\site\wwwroot\Logs\ScoreModel_07012025_0_To_12.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'C:\home\site\wwwroot\Logs\ScoreModel_07012025_0_To_12.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Common.Service.BaseConfigurationService.GetSetting(String settingName, Boolean decrypt) at ScoreModel.Common.Service.BaseConfigurationService.GetSetting(String settingName) at ScoreModel.Business.Logic.Helper.UtilityHelper.CanShowUtilityValuesInResponse() in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\Helper\UtilityHelper.cs:line 466 at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest, Boolean isForLoanOffer) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\Helper\UtilityHelper.cs:line 182 at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Business\ScoreModel.Business.Logic\UtilityService.cs:line 39 at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) in G:\Projects\Project7(Aramark)\Projects\LMS\Score Model - API\ScoreModel\Service\ScoreModel.API\Controllers\UtilityController.cs:line 80 2025-07-01T08:46:22 :: Getting setting ScoreModel.ShowUtilityValuesInResult which was not yet in cache.