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

Error at bulk update #237

Open
Serjanya opened this issue Aug 1, 2024 · 1 comment
Open

Error at bulk update #237

Serjanya opened this issue Aug 1, 2024 · 1 comment
Labels

Comments

@Serjanya
Copy link

Serjanya commented Aug 1, 2024

Hello, trying to update 100 custom entities. Got this error
image

It works only at this configuration:
image


System.ServiceModel.FaultException:
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://schemas.microsoft.com/xrm/2011/Contracts/Services:request. The InnerException message was 'Error in line 1 position 13259. Element 'http://schemas.microsoft.com/xrm/2011/Contracts/Services:request' contains data from a type that maps to the name 'http://schemas.microsoft.com/xrm/2011/Contracts:UpdateMultipleRequest'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'UpdateMultipleRequest' and namespace 'http://schemas.microsoft.com/xrm/2011/Contracts'.'.  Please see InnerException for more details.
Bulk Data Updater

Server stack trace: 
- System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
- System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
- System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
- System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
- Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.ExecuteRequest(OrganizationRequest request, JobExecuteOptions executeoptions)
- Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.UpdateRecordsWork(BackgroundWorker bgworker, DoWorkEventArgs workargs, IEnumerable`1 includedrecords, JobExecuteOptions executeoptions, Boolean isn)
- Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.<>c__DisplayClass53_0.<UpdateRecords>b__4(BackgroundWorker bgworker, DoWorkEventArgs workargs)
- System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
- System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

  • XrmToolBox Version: 1.2023.12.68
  • BulkDataUpdater Version: 1.2024.6.1
  • DB Version: 8.2.28.11
  • Deployment: OnPremise
@rappen
Copy link
Owner

rappen commented Sep 8, 2024

Thanks @Serjanya, sorry about late response.
Seems hard to reproduce the error... 😕 but I have made a few minor adjustments in the code, hope it works in the future 🙏

Please get back to me to see if it's still a problem, or if it works in the next release!

@rappen rappen added the bug label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants