Closed Fernandobo21 closed 4 years ago
I was having the same problem yesterday. It also seems that if there is sufficient time between runs it still fails. The first one failed and I tried to re-run it some hours later and it failed again (time-out). It wasn't until I tried doing it today that I went looking to see if anyone else was having this issue, and found this. Sure enough, once I canceled the task mid run and immediately re-ran, it worked on the re-run.
@Fernandobo21 @Guyanthalas
Might be worth trying to add the publish customizations task before the export of the solution to see if it fixes the problem?
@WaelHamze I added the "Publish Customization" step before exporting the solution, and it worked.
Even so, I do not understand well why before it did not work the first time and the following ones did.
Thank you very much for the help.
@WaelHamze Mine was Publish/increment version/Export... changed it to Increment/Publish/Export and the problem persists.
Update, I don't think this is on your code. As a test, I installed the Power Platform Tools and used their "export solution" task. It also stalls out. Re-run works perfectly. Still no idea why it is happening, but at least I can take it off your shoulders to fix.
Check the Issue I linked to above. It has an alternate PowerShell script that you can try.
Closing this as a duplicate of #183
hi,
Found an issue with the MSCRM Export Solution task. The first time in the day that we tried to export a solution
always stay working more than 5 minutes. then if we stop that execution and then retry, works fine and in only 2 minutes.
Attached an image with the configuration and another image with the transcurred time.
Thanks in advance.