powerobjects: Solution Export Error – A Known Issue
There was a time before solutions existed within Dynamics 365, a simpler time, no woes relating to exporting and importing customizations. You just took the whole lot or nothing at all; those were your only options. Since it was introduced in CRM 2011, solution management has evolved enormously and now provides a rich tool set for managing packages between environments. Anyone who has worked with solutions, however, will have undoubtedly ran into a few warning messages, or even errors when importing a solution.
In this blog, we’re going to tackle a specific issue with exporting a solution – let’s dig into it in detail.
You may have carefully crafted a Dynamics 365 solution, verified all of the dependencies, and you’re ready to export the solution. Unfortunately, upon export you are eagerly awaiting a zip file to be downloaded, only to be prompted with the following error.
“Query Builder Error – The specified field does not exist in Microsoft Dynamics 365” and no log file available for further information. Oh no!
This is a known issue with the current release of Dynamics 365 and occurs under the following circumstances:
The key to resolving this issue, is finding out the identifier of the problematic roll-up field. If you know the culprit field, this isn’t too difficult – if you don’t, it can get a bit tricky as the error message shown above gives you no indication to either the name or the identifier of the field.
Thankfully, for on-premises installations, you can turn on logging, review the log files and if both the name of the attribute and ID of the attribute is logged. For online customers, a support ticket will yield the offending attribute.
With this information, a simple console application will do the trick to remove the attribute, something along the following lines.
IOrganizationService service = // create a connection to your Dynamics 365 instance
RemoveSolutionComponentRequest removeRequest = new
// this is the Guid you have found within your Dynamics 365 trace files
ComponentId = new
ComponentType = 2,
// This is the unique name, not the display name of the solution you are trying to export
SolutionUniqueName = “UniqueName”
Once executed, try exporting the solution again, and voila! You should feel the joy of receiving your carefully crafted solution export zip file.
For troubleshooting tips – check out our blog!
Happy Dynamics 365’ing!
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
|powerobjects: How to Export a Theme from One Dynamics 365 Org to Another||Blog bot||Dynamics CRM: Blogs||0||16.12.2017 00:13|
|powerobjects: PowerObjects’ Top 10 Most Popular Blog Posts of 2017||Blog bot||Dynamics CRM: Blogs||0||15.12.2017 03:21|
|powerobjects: A Custom Dynamics 365 Solution for Mid Minnesota Legal Aid [VIDEO]||Blog bot||Dynamics CRM: Blogs||0||16.11.2017 01:12|
|Dynamics CRM Tools: Bulk Export Solution: There also a tool for that||Blog bot||Dynamics CRM: Blogs||0||11.02.2012 16:13|
|NAV Team: Export to Excel on Dynamics NAV: RTC||Blog bot||Dynamics CRM: Blogs||0||18.08.2011 17:58|
|Опции темы||Поиск в этой теме|