Closed erfaanm closed 5 years ago
This is the output of the BillingWebJob.exe It is not populating the database with any information Please help
[05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Adding audit information in AuditData table.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Job started for fetching billing data at 05/23/2019 09:00:02 [05/23/2019 09:00:02 > fca8fa: INFO] Starting job processing for Customer Type csp [05/23/2019 09:00:02 > fca8fa: INFO] Starting CSP Routine. Current Usage, Historic Usage and Historic Billing data will be updated.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Fetching records for Current Month's Usage from the API. This may take a while. If this operation is timimg out, consider increasing the TimeOut limit in Configuration file. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Error encountered: [05/23/2019 09:00:02 > fca8fa: INFO] One or more errors occurred. [05/23/2019 09:00:02 > fca8fa: INFO] InnerException : [05/23/2019 09:00:02 > fca8fa: INFO] Operation returned an invalid status code 'Unauthorized' [05/23/2019 09:00:02 > fca8fa: INFO] StackTrace : [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task1.get_Result() [05/23/2019 09:00:02 > fca8fa: INFO] at BillingWebJob.Helpers.CspDataHelper.StartCspRoutine(Int32& status, Int32& totalRecordsCount, String& blobStorageUri) in C:\Users\USERNAME\Desktop\peek-masterog\peek-master\AzureBillingAnalytics\BillingWebJob\Helpers\CspDataHelper.cs:line 534 [05/23/2019 09:00:02 > fca8fa: INFO] at BillingWebJob.Program.CronJob(TimerInfo timer) in C:\Users\USERNAME\Desktop\peek-masterog\peek-master\AzureBillingAnalytics\BillingWebJob\Program.cs:line 122 [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Adding audit information in AuditData table.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Operation complete. Exiting this run. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Executed 'Program.CronJob' (Succeeded, Id=ad8b7ec0-a4be-4ddd-a652-0370be6acba9)
1.GetResultCore(Boolean waitCompletionNotification) [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task
This is the output of the BillingWebJob.exe It is not populating the database with any information Please help
[05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Adding audit information in AuditData table.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Job started for fetching billing data at 05/23/2019 09:00:02 [05/23/2019 09:00:02 > fca8fa: INFO] Starting job processing for Customer Type csp [05/23/2019 09:00:02 > fca8fa: INFO] Starting CSP Routine. Current Usage, Historic Usage and Historic Billing data will be updated.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Fetching records for Current Month's Usage from the API. This may take a while. If this operation is timimg out, consider increasing the TimeOut limit in Configuration file. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Error encountered: [05/23/2019 09:00:02 > fca8fa: INFO] One or more errors occurred. [05/23/2019 09:00:02 > fca8fa: INFO] InnerException : [05/23/2019 09:00:02 > fca8fa: INFO] Operation returned an invalid status code 'Unauthorized' [05/23/2019 09:00:02 > fca8fa: INFO] StackTrace : [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) [05/23/2019 09:00:02 > fca8fa: INFO] at System.Threading.Tasks.Task
1.get_Result() [05/23/2019 09:00:02 > fca8fa: INFO] at BillingWebJob.Helpers.CspDataHelper.StartCspRoutine(Int32& status, Int32& totalRecordsCount, String& blobStorageUri) in C:\Users\USERNAME\Desktop\peek-masterog\peek-master\AzureBillingAnalytics\BillingWebJob\Helpers\CspDataHelper.cs:line 534 [05/23/2019 09:00:02 > fca8fa: INFO] at BillingWebJob.Program.CronJob(TimerInfo timer) in C:\Users\USERNAME\Desktop\peek-masterog\peek-master\AzureBillingAnalytics\BillingWebJob\Program.cs:line 122 [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Adding audit information in AuditData table.. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Operation complete. Exiting this run. [05/23/2019 09:00:02 > fca8fa: INFO] [05/23/2019 09:00:02 > fca8fa: INFO] Executed 'Program.CronJob' (Succeeded, Id=ad8b7ec0-a4be-4ddd-a652-0370be6acba9)