Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

profiler installation error

(0) ShareShare
ReportReport
Posted on by 2,397

Hi, I am installing profiler in a new domain, and get the below error: I believe I have system admin and customizer access.

Unhandled Exception: System.Exception: Solution Import Failed: 31 Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Access is denied.Detail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>f64a06e4-59f8-47fd-94d6-144eda4e0f51</ActivityId>
  <ErrorCode>-2147187707</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Access is denied.</Message>
  <Timestamp>2017-06-19T16:58:37.9578262Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>f64a06e4-59f8-47fd-94d6-144eda4e0f51</ActivityId>
    <ErrorCode>-2147187707</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>Access is denied.</Message>
    <Timestamp>2017-06-19T16:58:37.9578262Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault>
      <ActivityId>f64a06e4-59f8-47fd-94d6-144eda4e0f51</ActivityId>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
      <Message>System.UnauthorizedAccessException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6860B9B5</Message>
      <Timestamp>2017-06-19T16:58:37.9578262Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault i:nil="true" />
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </InnerFault>
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
   at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
   at Microsoft.Crm.Asynchronous.ExecuteSdkMessageOperation.InternalExecute(AsyncEvent asyncEvent)

   at PluginProfiler.Library.ProfilerManagementUtility.ImportSolutionAsyncAndWait(CrmServiceClient service, String prtpath, Boolean publishWorkflows, Boolean overwriteUnmanagedCustomizations, Int32 sleepInterval, Int32 asyncWaitTimeout)
   at PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service, String prtpath)
   at Microsoft.Crm.Tools.Libraries.OrganizationHelper.InstallProfiler(CrmOrganization org, String prtPath)
   at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass27.<InstallProfiler_Clicked>b__1f(Object o, DoWorkEventArgs e)


*This post is locked for comments

  • ram r Profile Picture
    ram r on at
    RE: profiler installation error

    Check the version of CRM and the SDK version are in sync.

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: profiler installation error

    Just checked deployment, I am with deployment admin access, but still get the error

  • ram r Profile Picture
    ram r on at
    RE: profiler installation error

    If you are using on prem, try giving deployment admin role to your user in deployment manager.

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: profiler installation error

    I have admin and customizer access in CRM. You mean to try server admin user access?

  • Suggested answer
    ram r Profile Picture
    ram r on at
    RE: profiler installation error

    Try the following

    1. Try with an admin user

    2. Use the plugin profiler from latest SDK

    At first look, seems to be an access issue.

  • NatrajY Profile Picture
    NatrajY 3,040 on at
    RE: profiler installation error

    Check if you are also the deployment admin.

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: profiler installation error

    what may cause this issue?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans