web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

"There is an error in XML document" when deploying using latest build of dynamics 365 toolkit

(0) ShareShare
ReportReport
Posted on by 265

With the latest version of the Dynamics 365 Developer toolkit (1.3.2000.8884), when we try and deploy to CRM we get an error "There is an error in XML document" before the "Select what you would like to deploy" option is displayed.

This is with a project which was deploying fine the day before the latest version of the toolkit self-installed.
We've even reverted to a changeset of the solution from two weeks ago to check whether builds that worked perviously will still deploy - we get the same error message with this changeset too.

This does not happen with brand new solutions built today with the latest version of the toolkit.

It does not happen on a developer's machine who has not yet installed the latest version of the toolkit.

Can we get hold of the previous version of the toolkit from anywhere so we get round this for now?

Here are the last few lines from the Build pane of the Output window:
1>  Processing Component: SolutionPluginAssemblies
1>   - ADSS.Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=70ee5f5f501987f8
1>   - ADSS.Workflows, Version=1.3.0.0, Culture=neutral, PublicKeyToken=9fb47a7374a15540
1>  Processing Component: SdkMessageProcessingSteps
1>  
1>  Unmanaged Pack complete.
1>  
2>------ Build started: Project: CrmPackage, Configuration: Release Any CPU ------
2>    C:\Program Files (x86)\MSBuild\14.0\bin\csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /errorendlocation /preferreduilang:en-US /highentropyva+ /reference:"H:\Code\Software Solutions\Applications\ADSS\Dev-CI\Plugins\bin\Release\ADSS.Plugins.dll" /reference:"H:\Code\Software Solutions\Applications\ADSS\Dev-CI\Workflows\bin\Debug\ADSS.Workflows.dll" /reference:"H:\Code\Software Solutions\Applications\ADSS\Dev-CI\Customizations\bin\Debug\BSP.ADS.Customizations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Core.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\ADSS.CrmPackage.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output obj\Release\\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs obj\Release\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs obj\Release\\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
2>    CrmPackage -> H:\Code\Software Solutions\Applications\ADSS\Dev-CI\CrmPackage\bin\Release\ADSS.CrmPackage.dll
3>------ Deploy started: Project: CrmPackage, Configuration: Release Any CPU ------
3>Error: There is an error in XML document (283, 90).
========== Build: 2 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ben Walker Profile Picture
    265 on at
    RE: "There is an error in XML document" when deploying using latest build of dynamics 365 toolkit

    The issue turned out to be that the MessagePropertyName attribute of the Image node in the crmRegister file used to accept a value of "id" for Post Create plugin images. It now needs to be capitalised "Id".

    Using the previous version of the toolkit it was fine to have "id" but now it wants "Id".

    It does now correctly populate the field for Post Create images wheras before it would put "target" so this issue (community.dynamics.com/.../232488) is fixed.

  • omgcrm Profile Picture
    2,585 on at
    RE: "There is an error in XML document" when deploying using latest build of dynamics 365 toolkit

    Hello Ben Walker

    Thank you !Thank you !Thank you !Thank you !

    I was stuck in the same issue from the past 3-4 days. I tried changing the SDK DLL, added them GAC, Changed project version, .NET Frameworks reinstalled, and what not!

    Finally saw your post! It saved me! Once again thanks for you share! 

    Regards,

    Sreekanth

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans