locked
CRM 2015 Outlook Client connection Error : Server was unable to process request RRS feed

  • Question

  • Hi Team,

    I am trying to connect my organization to my production server through Outlook client Configuration Wizard.

    I am getting Below error. Please Check suggest the solution if you have.


    Below Error I got in trace Logs:

    15:59:04|   Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 7/21/2015 3:59:04 PM ===
    15:59:04|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
    15:59:04|   Info| Client Configuration Wizard Version      : 7.0.0001.0129
    15:59:04|   Info| Client Configuration Wizard LanguageID   : 1033
    15:59:04|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    15:59:05|   Info| Query all rows in profile table
    15:59:05|   Info| Outlook is  initialized
    15:59:05|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    15:59:05|   Info| Client Configuration Wizard Running Mode : Normal
    15:59:05|   Info| Configuration file Type : OnPremise.
    15:59:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
    15:59:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    15:59:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile
    15:59:05|   Info| Logon mapi store
    15:59:05|   Info| Logon admin service
    15:59:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    15:59:05|   Info| Query all rows in msg service table
    15:59:05|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    15:59:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
    15:59:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown
    15:59:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer
    15:59:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    15:59:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    15:59:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    15:59:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    15:59:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    15:59:08|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    15:59:08|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    15:59:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    15:59:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    15:59:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    15:59:10|   Info| Current UTC date/time from APAC.bosch.com: 07/21/2015 10:29:10
    15:59:10|   Info| NetApiStatus for NetApiBufferFree: 0
    15:59:10|   Info| Client UTC Date/Time: 07/21/2015 10:29:10
    15:59:10|   Info| Difference (in minutes) between client time and actual time: 0.00319485333333333
    15:59:10|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    15:59:10|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    15:59:10|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    15:59:10|   Info| Attempting IFD org service connection.
    15:59:10|   Info| Non-https scheme found, trying with https scheme.
    15:59:12|   Info| Error connecting to URL: {0} Exception: {1}| https://servername/XRMServices/2011/Organization.svc, System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it <IP>:443
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.<>c__DisplayClass9.<DiscoverAuthority>b__0()
       at Microsoft.ExceptionHelper.ExceptionFilter.TryFilter[TEx](Action body, Predicate`1 filter, Action`1 catchClause)
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()
    15:59:12|   Info| IFD org service connection failed. Exception: {0}| Unable to connect to the remote server
    15:59:12|   Info| Attempting IFD discovery service connection.
    15:59:12|   Info| Fill organization comboBox with server information.
    15:59:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    15:59:12|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerInfo.RunServerDiagnostics
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(CrmServer)
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.UserLicenseDiagnostic.ExecuteInternal
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.UserLicenseDiagnostic.ExecuteInternal
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.ClientCompatibilityDiagnostic.ExecuteInternal
    15:59:13|   Info| Client Compatibility result: 0
    15:59:13|   Info| Client is compatible with the server
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.ClientCompatibilityDiagnostic.ExecuteInternal
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(CrmServer)
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerInfo.RunServerDiagnostics
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    15:59:13|   Info| Action type : Add.
    15:59:13|   Info| Add GlobalRepositoryConfigurator.
    15:59:13|   Info| Add AddinConfigurator.
    15:59:13|   Info| Add OrganizationRepositoryConfigurator.
    15:59:13|   Info| Add PrimaryConfigurator.
    15:59:13|   Info| Add OutlookConfigurator.
    15:59:13|   Info| Add FinalConfiguratorConfigurator.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    15:59:13|   Info| Get action list.
    15:59:13|   Info| Get action total progress : 55.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionEntry
    15:59:13|   Info| Action command type : Add.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    15:59:13|Warning| Error deleting folder C:\Users\mgm6kor\AppData\Local\Microsoft\MSCRM\Traces: The process cannot access the file 'BMHE1045039-Microsoft.Crm.Application.Outlook.ConfigWizard-Client-20150721-1.log' because it is being used by another process.. Marking it for the deletion upon the reboot.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    15:59:13|   Info| Deleted user application files.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    15:59:13|   Info| Copied registry values created by setup in HKLM to HKCU on configuration
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    15:59:13|   Info| Set default settings to client configuration.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    15:59:13|   Info| ASP Net version key name : Software\Microsoft\ASP.NET\4.0.30319.0
    15:59:13|   Info| ASP Net install path : C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    15:59:13|   Info| Created Crm allow list key.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    15:59:13|   Info| Set laptop client registry key values.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    15:59:13|   Info| No extended chars in http://cobvm020.apac.bosch.com/G1PJ-DM/XRMServices/2011/Organization.svc were found. No need for short naming.
    15:59:13|   Info| Set platform root registry keys.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    15:59:13|   Info| Set platform root key value.
    15:59:13|   Info| Set user id registry key.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    15:59:13|   Info| Set configuration registry key values.
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    15:59:13|   Info| Added SQM registry keys.
    15:59:13|   Info| Added SQM queue directory.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    15:59:13|   Info| Added SQM registry key values and directory.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    15:59:13|   Info| Enabled the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    15:59:13|   Info| Registered the form region for IPM.Note in Office registry hive.
    15:59:13|   Info| Registered the form region for IPM.Appointment in Office registry hive.
    15:59:13|   Info| Registered the form region for CRM.Task in Office registry hive.
    15:59:13|   Info| Registered the form region for CRM.Contact in Office registry hive.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    15:59:13|   Info| Created Crm integrate key.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    15:59:13|   Info| Set org-based registry values.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryOrg
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.UpdateMailboxConfigFolder
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenMapiSession
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.GetCrmOrgMailboxConfigFolder
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenTaskFolder
    15:59:13|   Info| A default mailbox is found and opened.
    15:59:13|   Info| Found and opened the default inbox.
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenTaskFolder
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.GetCrmOrgMailboxConfigFolder
    15:59:13|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.SetConfigFolderProps
    15:59:13|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.SetConfigFolderProps
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenMapiSession
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.UpdateMailboxConfigFolder
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryOrg
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    15:59:14|   Info| Set Primary Org values.
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    15:59:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Configure
    15:59:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    15:59:14|   Info| Logon mapi store
    15:59:14|   Info| Logon admin service
    15:59:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    15:59:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    15:59:14|   Info| Query all rows in msg service table
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    15:59:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    15:59:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.InitializeMapiStoreForFirstTime
    16:00:17|  Error| Exception : An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.    at Microsoft.Crm.MapiStore.DataStore.WaitInitialized()
       at Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.InitializeMapiStoreForFirstTime()
       at Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Configure(IProgressEventHandler progressEventHandler)
       at Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure(Object stateInfo)
    16:00:17|  Error| Exception : Server was unable to process request. 

    Thanks

    Naveen Dasari


    Naveen



    Tuesday, July 21, 2015 11:33 AM

All replies

  • Do you have SSL set up on that server?  What about IFD?  It looks like you tried to connect over SSL to the CRM server using the internal server name.  Either the CRM server is not set up for SSL internally (which is common), or you don't have that internal server's self-signed certificate published to your computer (which is rare).  Try connecting over just HTTP instead.

    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

    Tuesday, July 21, 2015 12:37 PM
  • Hi Wayne Walton,

    Thanks for you reply. The server is configured for http:// protocol and I tried using the http:// URL then I got this Error log.For my Other test environment it's working fine.

    is there any thing else I can check?

    Thanks

    Naveen Dasari


    Naveen

    Wednesday, July 22, 2015 4:41 AM
  • Do you have a redirect on your IIS server?  The logs clearly state an attempt to connect to https on port 443, which shouldn't happen if you're just going http.

    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

    Wednesday, July 22, 2015 2:04 PM