2022-12-17 00:27:20.1492||DEBUG|CourseService.Program|init main function 2022-12-17 00:27:34.5914||ERROR|CourseService.Core.Service.RevenueService|Error processing Revenue Settlement. Details Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'CourseBasePrice'. Invalid column name 'GatewayFee'. Invalid column name 'Vat'. 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, 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.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader() at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.InitializeReader(DbContext _, Boolean result) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at CourseService.Core.Service.RevenueService.CreateRevenueSettlement() in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\RevenueService.cs:line 244 ClientConnectionId:d63443c8-7532-44e1-9a98-eb2e6d19b0df Error Number:207,State:1,Class:16 2022-12-17 00:29:34.6614||DEBUG|CourseService.Program|init main function 2022-12-17 00:29:34.7232||ERROR|CourseService.Program|Error in init System.FormatException: Could not parse the JSON file. ---> System.Text.Json.JsonReaderException: '"' is invalid after a value. Expected either ',', '}', or ']'. LineNumber: 92 | BytePositionInLine: 2. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenUntilAfterAllCommentsAreSkipped(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenOrRollback(Byte marker) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input) at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream) --- End of inner exception stack trace --- at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) --- End of stack trace from previous location where exception was thrown --- at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers) at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at CourseService.Program.Main(String[] args) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Program.cs:line 23 2022-12-17 00:29:35.9095||DEBUG|CourseService.Program|init main function 2022-12-17 00:29:35.9705||ERROR|CourseService.Program|Error in init System.FormatException: Could not parse the JSON file. ---> System.Text.Json.JsonReaderException: '"' is invalid after a value. Expected either ',', '}', or ']'. LineNumber: 92 | BytePositionInLine: 2. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenUntilAfterAllCommentsAreSkipped(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenOrRollback(Byte marker) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input) at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream) --- End of inner exception stack trace --- at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) --- End of stack trace from previous location where exception was thrown --- at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers) at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at CourseService.Program.Main(String[] args) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Program.cs:line 23 2022-12-17 00:30:10.9013||DEBUG|CourseService.Program|init main function 2022-12-17 01:47:04.9337||DEBUG|CourseService.Program|init main function 2022-12-17 01:47:06.4717||WARN|CourseService.Core.Service.CourseService|3 courses to be Processed 2022-12-17 01:47:06.4717||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 255 2022-12-17 01:47:06.5184||WARN|CourseService.Core.Service.CourseService|2 CourseAssets for CourseId 255 2022-12-17 01:47:06.5190||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 256 2022-12-17 01:47:06.5190||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 256 2022-12-17 01:47:06.5190||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 257 2022-12-17 01:47:06.5190||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 257 2022-12-17 01:47:06.5190||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/0ab9db94-0a05-40a9-ba99-daefb6c1d3ce.mp4]. 2022-12-17 01:47:06.6370||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/971df495-b0c1-4ac6-8a73-2ee618f7c759.mp4]. 2022-12-17 01:47:08.6748||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 01:47:08.7195||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 01:49:49.3687||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 01:49:50.2213||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 01:50:15.4379||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 01:50:16.2827||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 07:44:51.5399||DEBUG|CourseService.Program|init main function 2022-12-17 07:44:53.0783||WARN|CourseService.Core.Service.CourseService|3 courses to be Processed 2022-12-17 07:44:53.0982||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 255 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.CourseService|2 CourseAssets for CourseId 255 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 256 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 256 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 257 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 257 2022-12-17 07:44:53.1211||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/0ab9db94-0a05-40a9-ba99-daefb6c1d3ce.mp4]. 2022-12-17 07:44:53.2423||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/971df495-b0c1-4ac6-8a73-2ee618f7c759.mp4]. 2022-12-17 07:44:55.2483||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 07:44:55.4943||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 09:09:55.0611||DEBUG|CourseService.Program|init main function 2022-12-17 09:10:02.9853||ERROR|CourseService.Core.Service.CourseService|Error occurred. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 2022-12-17 09:10:02.9853||ERROR|CourseService.Controllers.CourseController|Error Occurred from GetMonthlyEnrollmentStatistics. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 at CourseService.Controllers.CourseController.GetMonthlyEnrollmentStatistics(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Controllers\CourseController.cs:line 1469 2022-12-17 09:24:06.2383||ERROR|CourseService.Core.Service.CourseService|Error occurred. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 2022-12-17 09:24:06.2383||ERROR|CourseService.Controllers.CourseController|Error Occurred from GetMonthlyEnrollmentStatistics. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 at CourseService.Controllers.CourseController.GetMonthlyEnrollmentStatistics(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Controllers\CourseController.cs:line 1469 2022-12-17 10:36:48.8059||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 10:36:49.6560||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 10:36:54.6279||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 10:37:04.9266||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 10:37:06.7052||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 10:48:08.6633||DEBUG|CourseService.Program|init main function 2022-12-17 11:13:41.3447||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1ODM5OCwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.wTEAhyc8ZL403Mx-sHOFXrw4LEY-Hq0WbwU-lrH_2uU 2022-12-17 11:13:41.3526||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 11:13:41.3526||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=Ic-skd50&courseId=257 2022-12-17 11:13:41.3886||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: Ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 11:15:05.2708||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1ODQ4NCwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.Wvv1-8CNIuAvaKnxEPd75qL5C5MXxo-ovijawtrVWoc 2022-12-17 11:15:05.2708||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 11:15:05.2708||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=Ic-skd50&courseId=257 2022-12-17 11:15:05.2930||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: Ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 11:15:57.7152||ERROR|CourseService.Core.Service.CourseService|Error occurred. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 2022-12-17 11:15:57.7212||ERROR|CourseService.Controllers.CourseController|Error Occurred from GetMonthlyEnrollmentStatistics. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 at CourseService.Controllers.CourseController.GetMonthlyEnrollmentStatistics(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Controllers\CourseController.cs:line 1469 2022-12-17 11:31:35.3375||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 11:31:39.9379||WARN|CourseService.Core.Service.CourseService|Calculate Percentage for Course : 255, CurrentModule : 2, CurrentSection : 1 2022-12-17 11:36:40.4524||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU3RlcGhlbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjM1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InN3aWxsb3VnaGJ5QG90YW5ldHdvcmtzb2x1dGlvbi5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJzd2lsbG91Z2hieUBvdGFuZXR3b3Jrc29sdXRpb24uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1OTc3MywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.BkkNls8J6JZCDma2a_vCl7y5-I_gIR19e-aduRP7NKk 2022-12-17 11:36:40.4524||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 11:36:40.4524||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 11:36:40.4685||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 11:46:32.3430||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU3RlcGhlbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjM1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InN3aWxsb3VnaGJ5QG90YW5ldHdvcmtzb2x1dGlvbi5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJzd2lsbG91Z2hieUBvdGFuZXR3b3Jrc29sdXRpb24uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1OTc3MywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.BkkNls8J6JZCDma2a_vCl7y5-I_gIR19e-aduRP7NKk 2022-12-17 11:46:32.3430||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 11:46:32.3430||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 11:46:32.3617||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 11:46:45.5258||WARN|CourseService.Core.Service.IntegrationService|Authorization: 2022-12-17 11:46:45.5258||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 11:46:45.5258||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 11:46:45.5258||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: Unauthorized, Content: ] 2022-12-17 12:54:41.3832||DEBUG|CourseService.Program|init main function 2022-12-17 12:54:46.9972||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 0.00 2022-12-17 12:54:46.9972||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU3RlcGhlbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjM1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InN3aWxsb3VnaGJ5QG90YW5ldHdvcmtzb2x1dGlvbi5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJzd2lsbG91Z2hieUBvdGFuZXR3b3Jrc29sdXRpb24uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1OTc3MywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.BkkNls8J6JZCDma2a_vCl7y5-I_gIR19e-aduRP7NKk 2022-12-17 12:54:46.9972||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 12:54:46.9972||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 12:54:51.1461||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 12:54:51.1646||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 0.0000, Discount= 0.0000 2022-12-17 12:54:51.1646||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 0.00, Discount= 0.0000, Gateway=101.53, BasePrice=0.0000, Amount=101.53 2022-12-17 12:55:22.4030||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 0.00 2022-12-17 12:55:22.4030||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU3RlcGhlbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjM1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InN3aWxsb3VnaGJ5QG90YW5ldHdvcmtzb2x1dGlvbi5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJzd2lsbG91Z2hieUBvdGFuZXR3b3Jrc29sdXRpb24uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1OTc3MywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.BkkNls8J6JZCDma2a_vCl7y5-I_gIR19e-aduRP7NKk 2022-12-17 12:55:22.4030||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 12:55:22.4030||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 12:55:22.4275||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 12:55:22.4275||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 0.0000, Discount= 0.0000 2022-12-17 12:55:22.4275||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 0.00, Discount= 0.0000, Gateway=101.53, BasePrice=0.0000, Amount=101.53 2022-12-17 13:00:14.3693||WARN|CourseService.Core.Service.CourseService|3 courses to be Processed 2022-12-17 13:00:14.3693||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 255 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.CourseService|2 CourseAssets for CourseId 255 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 256 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 256 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.CourseService|About to start processing CourseAssets for CourseId 257 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.CourseService|0 CourseAssets for CourseId 257 2022-12-17 13:00:14.3908||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/0ab9db94-0a05-40a9-ba99-daefb6c1d3ce.mp4]. 2022-12-17 13:00:14.5051||WARN|CourseService.Core.Service.IntegrationService|Uploading a text file [F:\WebApps\SkillDorm-V1\API-SD\wwwroot\Video\Course\/971df495-b0c1-4ac6-8a73-2ee618f7c759.mp4]. 2022-12-17 13:00:16.4606||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 13:00:16.7264||ERROR|CourseService.Core.Service.IntegrationService|Uploading Failed. Details System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CourseService.Core.Service.IntegrationService.UploadVideo(Int64 UserId, String FilePath) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\IntegrationService.cs:line 218 2022-12-17 13:50:54.3210||DEBUG|CourseService.Program|init main function 2022-12-17 13:58:58.2454||ERROR|CourseService.Core.Service.CourseService|Error occurred. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 2022-12-17 13:58:58.2592||ERROR|CourseService.Controllers.CourseController|Error Occurred from GetMonthlyEnrollmentStatistics. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 at CourseService.Controllers.CourseController.GetMonthlyEnrollmentStatistics(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Controllers\CourseController.cs:line 1469 2022-12-17 14:17:16.3073||ERROR|CourseService.Core.Service.CourseService|Error occurred. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 2022-12-17 14:17:16.3073||ERROR|CourseService.Controllers.CourseController|Error Occurred from GetMonthlyEnrollmentStatistics. Details System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day) at CourseService.Core.Service.CourseService.<>c__DisplayClass105_1.b__4(Int32 month) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3533 at System.Linq.Enumerable.SelectRangeIterator`1.ToList() at CourseService.Core.Service.CourseService.GetMonthlyEnrollmentStatistic(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService.Core\Service\CourseService.cs:line 3539 at CourseService.Controllers.CourseController.GetMonthlyEnrollmentStatistics(Nullable`1 institutionId) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\CourseService\Controllers\CourseController.cs:line 1469 2022-12-17 14:23:29.2462||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:23:29.2462||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM2OTc4NywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.ANhSksiQGSMnfshimR2JAt5LyENtZhiLu_noKwSYJBY 2022-12-17 14:23:29.2462||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:23:29.2462||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=If-skd50&courseId=257 2022-12-17 14:23:30.9373||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: If-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":null,"code":"04","success":false,"description":"Discount Code [If-skd50] does not exist"}] 2022-12-17 14:23:30.9373||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 13976.19, Discount= 0.00 2022-12-17 14:23:30.9373||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 698.81, Discount= 0.00, Gateway=325.01, BasePrice=13976.19, Amount=15000.01 2022-12-17 14:23:45.9652||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:23:45.9652||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU3RlcGhlbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjM1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InN3aWxsb3VnaGJ5QG90YW5ldHdvcmtzb2x1dGlvbi5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJzd2lsbG91Z2hieUBvdGFuZXR3b3Jrc29sdXRpb24uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM1OTc3MywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.BkkNls8J6JZCDma2a_vCl7y5-I_gIR19e-aduRP7NKk 2022-12-17 14:23:45.9652||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:23:45.9652||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=IC-SKD50&courseId=257 2022-12-17 14:23:45.9986||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: IC-SKD50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 14:23:46.0084||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 12578.5710, Discount= 1397.6190 2022-12-17 14:23:46.0084||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 628.93, Discount= 1397.6190, Gateway=302.66, BasePrice=12578.5710, Amount=13510.16 2022-12-17 14:23:47.4291||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:23:47.4291||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM2OTc4NywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.ANhSksiQGSMnfshimR2JAt5LyENtZhiLu_noKwSYJBY 2022-12-17 14:23:47.4291||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:23:47.4291||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=Ic-skd50&courseId=257 2022-12-17 14:23:47.4516||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: Ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 14:23:47.4516||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 12578.5710, Discount= 1397.6190 2022-12-17 14:23:47.4516||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 628.93, Discount= 1397.6190, Gateway=302.66, BasePrice=12578.5710, Amount=13510.16 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiVG9ueSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjEwNTQ3IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZ2l2ZW5uYW1lIjoidG9ueWF5b2tvQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6InRvbnlheW9rb0BnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9sb2NhbGl0eSI6IjAiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJTVFVERU5UIiwiZXhwIjoxNjcxMzY5Nzg5LCJpc3MiOiJza2lsbGJldGFfcml2ZXRfc3R1ZGlvIiwiYXVkIjoiU2tpbGxCZXRhUml2ZXRTdHVkaW8ifQ.V_po6cYt4MD3Qb_r8uyEtbIqEUqBrFZTOIN_2gOSVfw 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=ic-skd50&courseId=257 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 12578.5710, Discount= 1397.6190 2022-12-17 14:24:02.3536||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 628.93, Discount= 1397.6190, Gateway=302.66, BasePrice=12578.5710, Amount=13510.16 2022-12-17 14:34:07.5627||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:34:07.5627||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM3MDQyMywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.SpYyxOXZkAf41I40YtfcyzxQr2DFqg_VfoplBqBMYNE 2022-12-17 14:34:07.5627||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:34:07.5627||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=Ic-skd50&courseId=257 2022-12-17 14:34:07.5871||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: Ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 14:34:07.5871||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 12578.5710, Discount= 1397.6190 2022-12-17 14:34:07.5871||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 628.93, Discount= 1397.6190, Gateway=302.66, BasePrice=12578.5710, Amount=13510.16 2022-12-17 14:37:16.9758||WARN|CourseService.Core.Service.CourseService|Original BasePrice= 13976.19 2022-12-17 14:37:16.9758||WARN|CourseService.Core.Service.IntegrationService|Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiQ2hpbmVtZXJlbSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjMzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImdvZGJsZXNzLm9ueWVidWNoaUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJnb2RibGVzcy5vbnllYnVjaGlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY3MTM3MDQyMywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.SpYyxOXZkAf41I40YtfcyzxQr2DFqg_VfoplBqBMYNE 2022-12-17 14:37:16.9758||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:37:16.9758||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: api/Discount/GetDiscountCode?code=Ic-skd50&courseId=257 2022-12-17 14:37:16.9923||WARN|CourseService.Core.Service.IntegrationService|Discount Details for DiscountCode: Ic-skd50, CourseId : 257. Details [StatusCode: OK, Content: {"data":{"discountId":74,"name":"ForLess","description":"10% Discount on all ICSAN hosted courses","institutionId":93,"startDate":"2022-12-16T00:00:00","endDate":"2023-01-31T00:00:00","discountChargeType":2,"discountChargeTypeName":"Percentage","amount":10.00,"setUsageLimit":false,"usageLimit":0,"discountType":0,"code":"IC-SKD50","allCoursesDiscount":true,"courseId":257,"isActive":true,"usageCount":0},"code":"00","success":true,"description":"Success"}] 2022-12-17 14:37:16.9923||WARN|CourseService.Core.Service.CourseService|Calculated BasePrice= 12578.5710, Discount= 1397.6190 2022-12-17 14:37:16.9923||WARN|CourseService.Core.Service.CourseService|Calculated Info Vat= 628.93, Discount= 1397.6190, Gateway=302.66, BasePrice=12578.5710, Amount=13510.16 2022-12-17 14:37:17.0701||WARN|CourseService.Core.Service.IntegrationService|Url: https://api.skilldorm.com/notification/ 2022-12-17 14:37:17.0701||WARN|CourseService.Core.Service.IntegrationService|EndPoint: /api/Email/Send 2022-12-17 14:37:17.8998||WARN|CourseService.Core.Service.IntegrationService|Response from Payment Service: {"data":null,"code":"00","success":true,"description":"Success"} 2022-12-17 14:37:17.8998||WARN|CourseService.Core.Service.IntegrationService|Response from Payment Service: OK--OK-- 2022-12-17 14:37:17.8998||WARN|CourseService.Core.Service.IntegrationService|DiscountUrl: https://api.skilldorm.com/discount/ 2022-12-17 14:37:17.8998||WARN|CourseService.Core.Service.IntegrationService|Fetch Discount Detail Endpoint: /api/Discount/UpdateDiscountCodeUsage?count=1&discountCode=Ic-skd50 2022-12-17 14:37:17.9801||WARN|CourseService.Core.Service.IntegrationService|Update Discount Usage Response: [StatusCode: {"data":null,"code":"00","success":false,"description":"Object reference not set to an instance of an object."}, Content: OK] 2022-12-17 16:05:49.1012||DEBUG|CourseService.Program|init main function