Xrm.DataProviders icon indicating copy to clipboard operation
Xrm.DataProviders copied to clipboard

Error on RetrieveMultiple

Open Power-Maverick opened this issue 5 years ago • 0 comments

Got an error after installing the managed solution and configuring the data source along with virtual entity. Below is the detailed error.

Unhandled exception: Exception type: System.ServiceModel.FaultException1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): BGuidinger.Xrm.DataProviders.Dynamics365.RetrieveMultiple: System.Net.WebException: The remote server returned an error: (400) Bad Request.Detail: <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"> <ActivityId>276b2456-a258-47c6-8fb4-4e291282b9ab</ActivityId> <ErrorCode>-2147220956</ErrorCode> <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> <Message>An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): BGuidinger.Xrm.DataProviders.Dynamics365.RetrieveMultiple: System.Net.WebException: The remote server returned an error: (400) Bad Request.</Message> <Timestamp>2019-03-05T15:48:22.0452151Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource>PluginExecution</ExceptionSource> <InnerFault i:nil="true" /> <OriginalException>System.Net.WebException at System.Net.HttpWebRequest.GetResponse() at BGuidinger.Xrm.DataProviders.Dynamics365.DataService.GetResponse[TResponse](HttpWebRequest request) at BGuidinger.Xrm.DataProviders.Dynamics365.DataService.GetToken() at BGuidinger.Xrm.DataProviders.Dynamics365.DataService.GetRequest(String method, String url, Nullable1 pageSize) at BGuidinger.Xrm.DataProviders.Dynamics365.DataService.GetEntities(QueryExpression query) at BGuidinger.Xrm.DataProviders.RetrieveMultipleBase.Execute(IServiceProvider serviceProvider) at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.<>c__DisplayClass14_3.<Execute>b__0() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain) at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain) at Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter& workerCounter, Boolean returnTraceInfo)</OriginalException> <TraceText i:nil="true" /> </OrganizationServiceFault>

Power-Maverick avatar Mar 05 '19 15:03 Power-Maverick