2021-06-29T16:47:01 :: GrantResourceOwnerCredentials - Entry: False 2021-06-29T16:47:02 :: GrantResourceOwnerCredentials - validate: false 2021-06-29T16:47:02 :: Class: ScoreModel.Business.Logic.AccountService, Message: Login failed | Error: Invalid Credentials 2021-06-29T16:47:35 :: GrantResourceOwnerCredentials - Entry: False 2021-06-29T16:47:36 :: Authentication Ticket Created - 2021-06-29T16:47:36 :: System Parameter Count: 6 2021-06-29T17:58:03 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T17:58:45 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityResponse\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityResponse\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:00:22 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:00:35 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityResponse\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityResponse\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:01:28 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:01:49 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:05:15 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:06:28 :: Class: ScoreModel.Business.Stage.GenericGetStage`2[[ScoreModel.Business.Context.GenericContext`1[[ScoreModel.Domain.Entities.Coefficients.LoanApplicationSourceCoefficient, 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.Coefficients.LoanApplicationSourceCoefficient, 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), 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) 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:ca4387ff-4a3a-4e60-80d1-2e671bcad623 Error Number:-1,State:0,Class:20 ClientConnectionId before routing:56a56e0c-bf2b-4348-9d3c-377adc6408de Routing Destination:f85144ed072a.tr1301.eastus1-a.worker.database.windows.net,11011 2021-06-29T18:06:28 :: Error in calculating Customer Score, Error Message: Value cannot be null. Parameter name: source | Exception: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at ScoreModel.Business.Facade.GenericFacade.Get[TR](Expression`1 criteria) at ScoreModel.Business.Logic.Helper.UtilityHelper.GetLoanApplicationSourceCoefficient(LoanApplicationSourceIDs type, Boolean isForPayback, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateRate(UtilityModel model, Location location, Boolean isForPayBack, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model) 2021-06-29T18:07:27 :: Error authenticating user, Error Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) Exception: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) ---> System.ComponentModel.Win32Exception (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at WebMatrix.Data.Database.EnsureConnectionOpen() at WebMatrix.Data.Database.QueryValue(String commandText, Object[] args) at WebMatrix.WebData.DatabaseWrapper.QueryValue(String commandText, Object[] parameters) at WebMatrix.WebData.SimpleMembershipProvider.GetUserId(IDatabase db, String userTableName, String userNameColumn, String userIdColumn, SimpleMembershipProviderCasingBehavior casingBehavior, String userName) at WebMatrix.WebData.SimpleMembershipProvider.GetUserId(IDatabase db, String userName) at WebMatrix.WebData.SimpleMembershipProvider.VerifyUserNameHasConfirmedAccount(IDatabase db, String username, Boolean throwException) at WebMatrix.WebData.SimpleMembershipProvider.ValidateUser(String username, String password) at ScoreModel.API.BasicAuthHttpModule.AuthenticateUser(String credentials) ClientConnectionId:12b06db4-3771-4fce-8445-c746802222b2 Error Number:10060,State:0,Class:20 Routing Destination:f85144ed072a.tr1301.eastus1-a.worker.database.windows.net,11011 LineNo : 0 InnerException : System.ComponentModel.Win32Exception (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 2021-06-29T18:07:34 :: Error in calculating Customer Score, Error Message: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. | Exception: System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\Logs_UtilityRequest\ScoreModel_06292021_12_To_24.txt' because it is being used by another process. at ScoreModel.Common.Helper.LoggerHelper.Log(String msg, String folderName) at ScoreModel.Business.Logic.Helper.UtilityHelper.LogUtilityRequestAndResponse(UtilityModel model, UtilityResponseModel response) at ScoreModel.Business.Logic.Helper.UtilityHelper.CalculateLoanAmountDecision(UtilityModel model, Tenant tenant, Location location, Boolean isForTest) at ScoreModel.Business.Logic.UtilityService.CalculateLoanAmountDecision(UtilityModel model, ModelStateDictionary modelState) at ScoreModel.API.Controllers.UtilityController.CustomerScore(UtilityModel model)