locked
CRM 2011 - Unable to install the Profiler RRS feed

  • Question

  • Hello,

    I am working on a new CRM 2011 project. I downloaded the latest CRM 2011 SDK. I ran the plugin registration tool. I can connect and see all the plugins. When I click Install Profiler, I get the following error:

    Unhandled Exception: System.InvalidOperationException: Unable to import the solution for the Plug-in Profiler.
       at PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(IOrganizationService service)
       at Microsoft.Crm.Tools.PluginRegistration.OrganizationHelper.InstallProfiler(CrmOrganization org)
       at Microsoft.Crm.Tools.PluginRegistration.OrganizationControl.toolProfilerInstall_Click(Object sender, EventArgs e)
    Inner Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.
    Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>An unexpected error occurred.</Message>
      <Timestamp>2015-08-20T17:44:46.5762237Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147220970</ErrorCode>
        <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>System.TypeInitializationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #16470177</Message>
        <Timestamp>2015-08-20T17:44:46.576712Z</Timestamp>
        <InnerFault>
          <ErrorCode>-2147220970</ErrorCode>
          <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
          <Message>System.Security.SecurityException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4AB58280</Message>
          <Timestamp>2015-08-20T17:44:46.576712Z</Timestamp>
          <InnerFault i:nil="true" />
          <TraceText i:nil="true" />
        </InnerFault>
        <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 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
       at PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(IOrganizationService service)

    I think this is a security issue but not sure. I am running this on a secure VM. I am an Admin on this box and a user in Deployment Manager.

    Any advice or help would be greatly appreciated.

    Looking forward to hearing from you experts out there.

    Thanks so much.

    -H

    Thursday, August 20, 2015 5:51 PM