Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

ImportSolutionRequest for Default-Solution fails

$
0
0

Hi,

I implemented a Solutionhelper, which automates
export/import a solution. I exported the default-solution for backup purposes
(works fine). Now I want to import this solution on the CRM again. However, the
import fails with following error: EndpointNotFoundException (Error 404). I
also tried to import a custom-solution with success.

For me it looks like if there are some constraints for
default-solution-import.

Do you guys have any suggestions and maybe a
resolution for this problem.

Many thanks and best regards

Klemens


FileInfo importFile = new FileInfo(this.inPut);
if (importFile.Exists)
{
  ImportSolutionRequest impSolReq = new ImportSolutionRequest()
  {
    CustomizationFile = File.ReadAllBytes(importFile.FullName),
    PublishWorkflows = true,
                };
  this.service.Execute(impSolReq);
  this.PublishAll();
}//if



Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>