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)