Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mahipalreddybhusireddy opened this issue May 19, 2022 · 0 comments

Comments

@mahipalreddybhusireddy
Copy link

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

@mahipalreddybhusireddy mahipalreddybhusireddy changed the title Getting error Object reference not set to an instance of an object. Used deprecated connection settings & Getting error Object reference not set to an instance of an object May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant