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)

Unable to install profiler by Plugin Registration tool 2015

(0) ShareShare
ReportReport
Posted on by

Hi,

Two to three months before I worked on one plugin development project. That time I used Plugin Registration tool to debug my program. Last week I opened one new online demo account for my another plugin development. Unfortunately I am not able to install profiler. My online demo account was created in MS Dynamics CRM 2015. I am not sure about the update. And I am using SDK 2015 to register the profiler. I am getting below error message while install profiler.

Anyone please check out my error message below and help me to resolve this issue?

Error Message:

==========

Unhandled Exception: System.InvalidOperationException: Unable to import the solution for the Plug-in Profiler.
at PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service)
at Microsoft.Crm.Tools.Libraries.OrganizationHelper.InstallProfiler(CrmOrganization org)
at 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=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The new mbs_typename attribute is set as the primary name attribute for the mbs_pluginprofile entity. The mbs_pluginprofile entity already has the mbs_label attribute set as the primary name attribute. An entity can only have one primary name attribute.
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
<ErrorCode>-2147192802</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">mbs_label</a:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<a:key>1</a:key>
<a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">mbs_pluginprofile</a:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<a:key>2</a:key>
<a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">mbs_typename</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>The new mbs_typename attribute is set as the primary name attribute for the mbs_pluginprofile entity. The mbs_pluginprofile entity already has the mbs_label attribute set as the primary name attribute. An entity can only have one primary name attribute.</Message>
<Timestamp>2015-10-05T18:21:53.5641643Z</Timestamp>
<InnerFault>
<ErrorCode>-2147192802</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The new mbs_typename attribute is set as the primary name attribute for the mbs_pluginprofile entity. The mbs_pluginprofile entity already has the mbs_label attribute set as the primary name attribute. An entity can only have one primary name attribute.</Message>
<Timestamp>2015-10-05T18:21:53.5641643Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service)

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Unable to install profiler by Plugin Registration tool 2015

    Hi Natraj Yegnaraman,

    Thanks for your suggestion. After I download and installed suggest version 7.1.1 I can able to install profiler. Thanks a lot.

  • Community Member Profile Picture
    on at
    RE: Unable to install profiler by Plugin Registration tool 2015

    Before clicking the 'Install Profiler' button on the Plugin Registration tool, make sure that the assembly you are working on is selected.

  • Verified answer
    NatrajY Profile Picture
    3,040 on at
    RE: Unable to install profiler by Plugin Registration tool 2015

    1. Confirm that you are using the current version of Plugin Registration tool. The error message says that the version of Microsoft.Xrm.Sdk.dll is 7.0.0. The current version of the SDK is 7.1.0.

    http://www.microsoft.com/en-us/download/details.aspx?id=44567

    2. If you are already using 7.1.0, check whether there is already a PluginProfiler solution in CRM, and uninstall it if there is one. Then try installing it again from the Plugin Registration tool.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans