Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Import-CrmPackage PowerShell Error Config File Parsing Error

Posted on by Microsoft Employee

Hi 

during Import-CrmPackage receiving error "Config File Parsing Error".

VERBOSE: Reading the import configuration. Please wait.--Working

VERBOSE: Import configuration loaded.--Complete

VERBOSE: Reading the solutions. Please wait.--Working

WARNING: Config File Parsing Error

Import-CrmPackage : Config File Parsing Error

At PowerShell\DeployPackage.ps1:55 char:1

 

+ CategoryInfo : ParserError: (Microsoft.Xrm.T...mportCrmPackage:ImportCrmPackage) [Import-CrmPackage], Exception

+ FullyQualifiedErrorId : 18,Microsoft.Xrm.Tooling.PackageDeployment.Powershell.Cmdlets.ImportCrmPackage

-Satya

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import-CrmPackage PowerShell Error Config File Parsing Error

    I figure out my issue. Just make sure that the package deployer when built contains the zip folder with the solution in it. The solutionpackage zip file wasn't being built with the dll. In VS just got to the properties of the zip file and select "copy always" for the copy to output directory

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import-CrmPackage PowerShell Error Config File Parsing Error

    Hey Albert,

    Were you able to figure out the issue? I'm having the same issue.

    Regards

    Hayden

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import-CrmPackage PowerShell Error Config File Parsing Error

    Hi there,

    I encountered the same issue after succesfully did it the first time. Did you managed to figure out the issue?

    Regards,

    Albert

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans