Показать сообщение отдельно
Старый 13.08.2019, 18:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1294: Export solution before running solution checker
Источник: https://crmtipoftheday.com/1294/expo...ution-checker/
==============

tl;dr

If you are getting “Couldn’t Complete” message from the solution checker, verify you can export the solution before running the solution checker. That way you’ll be able to see what’s wrong instead of an unhelpful “couldn’t complete” message.

Today’s tip is from Andrew Wolfe. Got a tip? Send it to jar@crmtipoftheday.com.

Tip

I created a solution recently in a test system and ran the solution checker but I constantly got a “Couldn’t Complete” message. I logged this with Microsoft who, as ever, needed to see me run the checker and see the message before they’d look for what was wrong. The answer from Microsoft in the logs was:

Microsoft.Crm.CrmException: Failed to export Business Process "Compliments Process" because solution does not include corresponding Business Process entity "aaw_complimentsprocess". If this is a newly created Business Process in Draft state, activate it once to generate the Business Process entity and include it in the solution.
So I tried exporting the solution as unmanaged and got the same error message as Microsoft had found. My BPF was published but I used “Add Required Components” to add the associated entity. I then tested that I could export the solution, this time it worked and then the solution checker could also complete and give me a set of results. So check you can export a solution before you run solution checker as that way you’ll be able to see what’s wrong rather than a just couldn’t complete message.



Источник: https://crmtipoftheday.com/1294/expo...ution-checker/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.