Asked by:
Dynamics CRM 2011 Outlook client configuration failed

Question
-
Hello everybody,
Last Sunday a colleague experienced a problem with his CRM client for Outlook and he decided to delete and the reapply the configuration via the configuration wizard. The configuration process failed with this error:
Exception : InternalOperationPlugin: Could not find method 'RetrievePrivilegeMaxDepthFromTeamRoles' on 'Microsoft.Crm.ObjectModel.PrivilegeService'. in Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
The user is a System Administrator and he can access CRM via browser.
No other client is experiencing this issue, but I suppose it's not user related, because if I try configuring the same machine with another user profile, I get the same.
So I uninstalled every piece of CRM related software on that notebook and then I tried re-installing "from scratch".. no way, it always go in exception during the configuration process. I've also tried to configure another organization.. no way.
We've tried to configure on another PC and we've succeded.. but, of course, he needs the CRM client running on that notebook :-(
Some system info:
- Outlook 2010 SP2 (build number 14.0.7113.5005) x86
- Windows 7 Pro x64
- Dynamics CRM 2011 for Office Outlook rollup 16 (build number 5.0.9690.3911)
Any idea?
Thanks in advance!
Bye
Wednesday, February 26, 2014 1:57 PM
All replies
-
Update:
I tried to restore .NET framework via control panel, no change at all.
I found some error reports on the server:
Error Type: System.Reflection.TargetInvocationException
Error Message: Exception has been thrown by the target of an invocation.
Error Stack Trace:
at RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) ilOffset = 0xFFFFFFFF
at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xD8
at ConstructorInfo.Invoke(Object[] parameters) ilOffset = 0x0
at VersionedPluginProxyStepBase.InitializePlugin(IOrganizationContext context, StepDescription stepDescription, SecureConfigurationCache stepSecureConfigurationCache, Type type) ilOffset = 0x8F
at V5PluginProxyStep..ctor(Guid stepId, SecureConfigurationCache stepSecureConfigurationCache, CrmEventLog eventLog, IOrganizationContext context) ilOffset = 0xF4
at PluginStep..ctor(Guid stepId, SecureConfigurationCache stepSecureConfigurationCache, CrmEventLog eventLog, IOrganizationContext context) ilOffset = 0xA4
at PipelineStepFactory.CreateInstance(Guid stepId, IOrganizationContext context) ilOffset = 0x26
at PipelineStepCacheLoader.LoadCacheData(Guid key, ExecutionContext context) ilOffset = 0x39
at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) ilOffset = 0x43
at CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context) ilOffset = 0x0
at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context) ilOffset = 0x97
at MessageProcessorCacheLoader.GetCustomizationLevel(MessageProcessor mp, ExecutionContext context) ilOffset = 0x63
at MessageProcessorCacheLoader.LoadCacheData(MessageProcessorKey key, ExecutionContext context) ilOffset = 0xE
at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) ilOffset = 0x43
at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context) ilOffset = 0x97
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0x24
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x1D3
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse) ilOffset = 0x205
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x34
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x24
InnerException:
Error Type: Microsoft.Crm.CrmInvalidOperationException
Error Message: InternalOperationPlugin: Could not find method 'RetrievePrivilegeMaxDepthFromTeamRoles' on 'Microsoft.Crm.ObjectModel.PrivilegeService'.
Error Stack Trace:
at InternalOperationPlugin.InitializeLogicalMethod(MessageProcessorKey key, XmlDocument doc, IOrganizationContext context) ilOffset = 0x11A
at InternalOperationPlugin..ctor(StepDescription stepDescription, IOrganizationContext context) ilOffset = 0x6
InnerException:
Error Type: System.InvalidOperationException
Error Message: InternalOperationPlugin: Could not find method 'RetrievePrivilegeMaxDepthFromTeamRoles' on 'Microsoft.Crm.ObjectModel.PrivilegeService'.
Error Stack Trace:
Stack Frame:
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x226
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0xE7
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x41
at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) ilOffset = 0xC6
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) ilOffset = 0x1D7
at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) ilOffset = 0xF1
at ChannelHandler.AsyncMessagePump(IAsyncResult result) ilOffset = 0x21
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result) ilOffset = 0x55
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at AsyncQueueReader.Set(Item item) ilOffset = 0x21
at InputQueue`1.Dispatch() ilOffset = 0x121
at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) ilOffset = 0x22
at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) ilOffset = 0x5
at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) ilOffset = 0x3C
Custom Message: RequestName: RetrievePrivilegeMaxDepthFromTeamRolesThursday, February 27, 2014 7:36 PM -
Final update:
we solved this strange situation installing CRM 2011 on a brand new server and importing the organization on that deployment.
We took this difficult decision when a second user experienced the problem, during configuration of his new PC.
- Proposed as answer by Adam Vero Saturday, March 15, 2014 10:19 AM
Friday, March 14, 2014 4:50 PM