Canada - National - D365/CRM

Solution Imprt fail due to invalid XML

  • 1.  Solution Imprt fail due to invalid XML

    Posted 12 days ago
    ​​​After making simple changes, changes to views and deleting a duplicate view, to my on premise Test environment. Now when I attempt to bring the managed solution in to my production site I get the error:

    'This solution package cannot be imported because it contains invalid XML. You can attempt to repair the file by manually editing the XML contents using the information found in the schema validation errors, or you can contact your solution provider.'

    I've even tried only taking the bare minimum of that entity over in the solution and I still get the error.

    When I expand the Technical Details I get the following:


    The element 'savedquery' has incomplete content. List of possible elements expected: 'LocalizedNames'.

    00" /><cell name="esi_datesubmitted" width="100" /><cell name="ownerid" width="100" /></row></grid></layoutxml><querytype>0</querytype><fetchxml><fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"><entity name="esi_corporationrenewal"><attribute name="esi_alf_corporationname" /><attribute name="esi_a49_permitnumber" /><attribute name="ownerid" /><attribute name="esi_datesubmitted" /><attribute name="statuscode" /><order attribute="esi_alf_corporationname" descending="false" /><filter type="and"><filter type="and"><condition attribute="createdon" operator="this-fiscal-year" /><condition attribute="statuscode" operator="in"><value>859270000</value><value>859270004</value><value>859270005</value><value>859270001</value><value>859270006</value></condition></filter><condition attribute="new_a1a_yearalpha" operator="eq" value="2020" /></filter><attribute name="esi_corporationrenewalid" /></entity></fetch></fetchxml><IntroducedVersion>1.0</IntroducedVersion></savedquery><savedquery><IsCustomizable>1</IsCustomizable><CanBeDeleted>1</CanBeDeleted><isquickfindquery>0</isquickfindquery><isprivate>0</isprivate><isdefault>0</isdefault><returnedtypecode>10110</returnedtypecode><savedqueryid>{8b754901-a19f-e711-80f9-44a842372414}</savedqueryid><layoutxml><grid name="resultset" object="10110" jump="esi_name" select="1" preview="1" icon="1"><row name="result" id="esi_corporationrenewalid"><cell name="esi_alf_corporationname" width="300" /><cell name="esi_a49_permitnumber" width="125" /><cell name="esi_a36_denieddate" width="100" /><cell name="ownerid" width="100" /></row></grid></layoutxml><querytype>0</querytype><fetchxml><fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"><entity name="esi_corporationrenewal"><attribute name="esi_a49_permitnumber" /><attribute name="esi_a36_denieddate" /><attribute name="esi_alf_corporationname" /><attribute name="ownerid" /><order attribute="esi_alf_corporationname" descending="fal


    Any suggestions on how to fix this?

    Thank you in advance





    ------------------------------
    Amanda Mombourquette
    Database Administrator
    CPSNS
    Bedford NS
    ------------------------------


If you've found this thread useful, dive deeper into User Group community content by role