Показать сообщение отдельно
Старый 13.07.2018, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1133: Rename the view that causes the drama
Источник: https://crmtipoftheday.com/1133/rena...ses-the-drama/
==============

Problem

Guido “Future Olive Farmer” Preite was not having any luck importing a solution:

This is the situation: Sandbox is 9.0.2.441, Production is 9.0.2.197. From the sandbox we exported a solution as managed, when we import to production we get the following error:
this solution package cannot be imported because it contains invalid xml…

The technical details log starts with: The element ‘savedquery’ has incomplete content. List of possible elements expected: ‘LocalizedNames’.

Solution

Jason “The Coldest MVP” Cosman serving the truth:

If you determine which view it is missing from [the solution] then change the name of the view and publish. Than change the view name back and publish the solution. You then can export the solution and import with no issues.

Thank you

(For the record: time to response – 19 minutes. Gotta love SLAs of the MVP family. – t.j.)

Guido is back in business:

Your fix to rename the view worked, thank you very much. I manually searched for the view inside the XML (hint: that’s the way to find the offender – t.j.)

(Facebook and Twitter cover photo by Drew Graham on Unsplash)



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