PublishAllXmlRequest publishRequest = new PublishAllXmlRequest();
PublishAllXmlResponse publishResponse = (PublishAllXmlResponse)Service.IOrganizationService.Execute(publishRequest);
When this Message is used to Publish all content, if I try import a solution using:
ImportSolutionRequest ISR = new ImportSolutionRequest(); ISR.CustomizationFile = File.ReadAllBytes(file);
ImportSolutionResponse result = (ImportSolutionResponse)Service.IOrganizationService.Execute(ISR);
This always return a System.ServiceModel.QuotaExceededException saying that "The size necessary to buffer the XML content exceeded the buffer quota."
I tried to wait 5 - 10 - 20 min and resend the execute of this message, but always the same exception appear. And in dynamics CRM it's possible to import the solution normally.
Maybe i did not understood your issue properly. Are you trying to import the solution after you get the PublishAllXmlResponse (after Publish All was finished) or before (while publishing all customizations)?
I did a mistake, this QuotaExceededException is a problem on the missing dependencies, I don't know why this not show the System.ServiceModel.FaultException that show the missing dependencies. But the cause is not the publish.
Can you elaborate on how you fixed this issue? Which assemblies were you missing?
I am having same error but slightly different scenario.
see my post, thanks.
Business Applications communities