Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Error installing profiler with latest plugin regsitration tool for CRM 2011

Posted on by 595

Hi All,

I am using the latest plugin registration tool to install profiler for debugging a workflow in CRM 2011.

But when i tried to install profiler i am getting the below error

Unhandled Exception: System.InvalidOperationException: Unable to import the solution for the Plug-in Profiler.
   bei PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service)
   bei Microsoft.Crm.Tools.Libraries.OrganizationHelper.InstallProfiler(CrmOrganization org)
   bei Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass27.<InstallProfiler_Clicked>b__1f(Object o, DoWorkEventArgs e)
Inner Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The import file is invalid. XSD validation failed with the following error: 'Das SolutionPackageVersion-Attribut wurde nicht deklariert.'. The validation failed at: '...<?xml version="1.0" encoding="utf-8"?><ImportExportXml version="5.0.9690.2538"  <<<<<ERROR LOCATION>>>>> SolutionPackageVersion="6.0" languagecode="1033" generatedBy="OnPremise" xmlns:xsi="www.w3.org/.../XMLSchema-instance"><SolutionManifest><UniqueName>PluginProfiler</UniqueName><LocalizedNames><LocalizedName description="Plug-in Profiler" languagecode="1033" /></LocalizedNames><Descriptions /><Version>2.0.0.0</Version><Managed>1</Managed><Publisher><UniqueName>mbs</UniqueName><LocalizedNames><LocalizedName description="CRM Developer Tools" languagecode="1033" /></LocalizedNames><Descriptions /><EMailAddress xsi:nil="true"></EMailAddress><SupportingWebsiteUrl xsi:nil="true"></SupportingWebsiteUrl><CustomizationPrefix>mbs</CustomizationPrefix><CustomizationOptionValuePrefix>86434</CustomizationOptionValuePrefix><Addresses><Address><AddressNumber>1</AddressNumber><AddressTypeCode>1</AddressTypeCode><City xsi:nil="true"></City><County xsi:nil="true"></County><Country xsi:nil="true"></Country><Fax xsi:nil="true"></Fax><FreightTermsCode xsi:nil="true"></FreightTermsCode><ImportSequenc...'."
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
  <ErrorCode>-2147188710</ErrorCode>
  <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <a:key>0</a:key>
      <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">The SolutionPackageVersion-Attribute has not been declared.</a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>1</a:key>
      <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;ImportExportXml version="5.0.9690.2538" </a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>2</a:key>

Any ideas?

Thanks,

Abhilash.

*This post is locked for comments

  • Verified answer
    Joe Griffin Profile Picture
    Joe Griffin 1,254 on at
    RE: Error installing profiler with latest plugin regsitration tool for CRM 2011

    Hi Abhilash,

    It is likely that if you are using the latest SDK (2016 or 365), then this is the reason why the solution import for the Profiler is failing.

    I would recommend you download the 2011 SDK and try importing the PluginProfiler.Solution.zip solution, in the Bin folder:

    www.microsoft.com/.../details.aspx

    This article for the 2011 Profiler goes into more detail on the steps required:

    msdn.microsoft.com/.../hh372952(v=crm.5).aspx

    Hope this helps!

    Regards

    Joe

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans