
I have a user that as soon as she logs on to her computer, the CRM organization is removed from the Outlook client. What's weird is that the client works fine until the user logs off and then back on to their computer. I have enabled tracing and below is the logs. These log files are just after the client is configured with the organization. Every time the organization is removed, tracing is turned back off and the log files are deleted, so I can't tell what happens when the organization is removed. This problem is not isolated to the user's computer. I have tried on another machine with the same results.
I have searched all over for the various error messages in the log files and have tried every solution I have come across. CRM is on-premise Here's what I have done.
Microsoft.Crm.Application.Outlook.ConfigWizard-Client log
# CRM Tracing Version 2.0 # LocalTime: 2015-10-01 08:30:51.970 # Categories: # CallStackOn: Yes # ComputerName: DEM-AMA # CRMVersion: 6.1.0000.0581 [2015-10-01 08:30:51.970] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread: 12 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | CrmException..ctor ilOffset = 0x7 at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7 at ClaimsBasedAuthProvider`1.AuthenticateClaims() ilOffset = 0x63 at ClaimsBasedAuthProvider`1.SignIn() ilOffset = 0x1C at ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError) ilOffset = 0x44 at DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials) ilOffset = 0x41 at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow) ilOffset = 0x9C at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow) ilOffset = 0x112 at ServerForm.LoadOrganizations(Boolean forceUI) ilOffset = 0x44 at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e) ilOffset = 0x24 at BackgroundWorker.WorkerThreadStart(Object argument) ilOffset = 0xD at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) ilOffset = 0xFFFFFFFF at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) ilOffset = 0xB1 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4 at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0 at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA2 >Crm Exception: Message: Credentials required, ErrorCode: -2147220988 [2015-10-01 08:30:51.986] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread: 12 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | ClientAuthProvidersFactory`1.SignIn ilOffset = 0x44 at ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError) ilOffset = 0x44 at DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials) ilOffset = 0x41 at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow) ilOffset = 0x9C at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow) ilOffset = 0x112 at ServerForm.LoadOrganizations(Boolean forceUI) ilOffset = 0x44 at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e) ilOffset = 0x24 at BackgroundWorker.WorkerThreadStart(Object argument) ilOffset = 0xD at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) ilOffset = 0xFFFFFFFF at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) ilOffset = 0xB1 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4 at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0 at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA2 >Silent sign-in failed and requested UiMode is silentonly. Failing authentication process. [2015-10-01 08:30:51.986] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread: 12 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | DeploymentsInfo.InternalLoadOrganizations ilOffset = 0x9C at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow) ilOffset = 0x9C at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow) ilOffset = 0x112 at ServerForm.LoadOrganizations(Boolean forceUI) ilOffset = 0x44 at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e) ilOffset = 0x24 at BackgroundWorker.WorkerThreadStart(Object argument) ilOffset = 0xD at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) ilOffset = 0xFFFFFFFF at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) ilOffset = 0xB1 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4 at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0 at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA2 >Exception during Signin Microsoft.Crm.CrmException: Credentials required at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.AuthenticateClaims() at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.SignIn() at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow) [2015-10-01 08:31:04.717] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread: 4(MSCRM:-RegistryWatcher.RegTrackerThreadProc) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | RegistryCollection.UpdateCollection ilOffset = 0x36 at RegistryCollection.UpdateCollection(Object sender, EventArgs e) ilOffset = 0x36 at RegistryWatcher.RegTrackerThreadProc() ilOffset = 0x45 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) ilOffset = 0x2F at ThreadHelper.ThreadStart() ilOffset = 0x25 >Error occurred while refreshing registry cache, cache has been cleared. Exception: System.IO.IOException: No more data is available. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.GetValueNames() at Microsoft.Crm.RegistryCollection.UpdateCollection(Object sender, EventArgs e)
*This post is locked for comments
I have the same question (0)