jamesnovak / PortalRecordsMoverConsole

Port of the Portal Records Mover XrmToolbox plugin by Tanguy Touzard
GNU General Public License v3.0
12 stars 8 forks source link

Used deprecated connection settings & Getting error Object reference not set to an instance of an object #10

Open mahipalreddybhusireddy opened 2 years ago

mahipalreddybhusireddy commented 2 years ago

It was worked before with same configuration, now it is throwing below error. Is any connection issues from PortalRecordsMoverConsole to Dynamics CRM? Looks it is failing to load items. Is any Deprecated connection string used? like OAuthType:Office365?

Any inputs please?

Error Log: 2022-05-19 11.35.09: Beginning the export - SourceEnvironment: https://sssssss.crm6.dynamics.com/, ExportFilename:WebRoles.xml 2022-05-19T11:35:12.2804421Z 2022-05-19 11.35.12: Loading Metadata for current environment: https://sssssss.crm6.dynamics.com/ 2022-05-19T11:35:12.3243345Z 2022-05-19T11:35:12.3283846Z Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. 2022-05-19T11:35:12.3285714Z at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.Execute(OrganizationRequest request) 2022-05-19T11:35:12.3286656Z at PortalRecordsMover.AppCode.MetadataManager.GetEntitiesList(IOrganizationService service, List`1 logicalNames) 2022-05-19T11:35:12.3287785Z at PortalRecordsMover.AppCode.Exporter.g__RetrieveRecordsForExport|9_1(<>c__DisplayClass9_0& ) 2022-05-19T11:35:12.3288376Z at PortalRecordsMover.AppCode.Exporter.Export() 2022-05-19T11:35:12.3288825Z at PortalRecordsMover.PortalMover.Main(String[] args) 2022-05-19T11:35:17.0344671Z ##[error]Process completed with exit code -532462766. 2022-05-19T11:35:17.0348474Z ##[section]Finishing: Export WebRoles