locked
Outlook client for CRM 2011 Online quit working - hostname could not be parsed RRS feed

  • Question

  • We have been live on CRM 2011 Online for over a week and all 40 users use the Outlook client.  Today one user's Outlook client has failed to connect.  Windows updates had been pushed out to his machine and he had just rebooted.   The updates had installed Windows Live Essentials (which we have now uninstalled in case that was the problem).    We also uninstalled and reinstalled the Outlook client.  When we try to configure (selecting CRM Online from the drop down box and pressing Test) the log says:

    17:29:17|   Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 11/03/2011 17:29:17 ===
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
    17:29:17|   Info| Client Configuration Wizard Version      : 5.0.9688.583
    17:29:17|   Info| Client Configuration Wizard LanguageID   : 1033
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    17:29:17|   Info| Query all rows in profile table
    17:29:17|   Info| Outlook is  initialized
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    17:29:17|   Info| Client Configuration Wizard Running Mode : Normal
    17:29:17|   Info| Configuration file Type : OnPremise.
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAvailableServiceIds
    17:29:17|   Info| Logon mapi store
    17:29:17|   Info| Logon admin service
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    17:29:17|   Info| Query all rows in msg service table
    17:29:17|   Info| Adding service id : {8965049e-27af-4955-a51b-358a7b78b995}
    17:29:17|   Info| Adding service id : {a25e238a-f42e-4c8d-a00e-21c662002a51}
    17:29:17|   Info| Adding service id : {99a832be-a016-4f7c-99cc-7be450ed5091}
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded
    17:29:17|   Info| Logon mapi store
    17:29:17|   Info| Logon admin service
    17:29:17|   Info| Query crm msg services in msg service table.
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    17:29:17|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    17:29:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    17:29:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    17:29:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    17:29:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    17:29:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    17:29:21|  Error| Invalid URI: The hostname could not be parsed.,    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo..ctor(String endPoint)
    17:29:21|  Error| Exception : The server address (URL) is not valid.    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizations(Boolean forceUI)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__0(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    17:29:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    17:29:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    17:29:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    17:29:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    17:29:29|  Error| Error connecting to URL: https://dev.crm.dynamics.com/XRMServices/2011/Discovery.svc Exception: System.ArgumentNullException: Value cannot be null.
    Parameter name: path1
       at System.IO.Path.Combine(String path1, String path2)
       at Microsoft.Crm.Passport.IdCrl.FederationLogOnManager..ctor(String environment)
       at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.SignIn()
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
    17:29:32|  Error| Error connecting to URL: https://dev.crm4.dynamics.com/XRMServices/2011/Discovery.svc Exception: System.ArgumentNullException: Value cannot be null.
    Parameter name: path1
       at System.IO.Path.Combine(String path1, String path2)
       at Microsoft.Crm.Passport.IdCrl.FederationLogOnManager..ctor(String environment)
       at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.SignIn()
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
    17:29:39|  Error| Error connecting to URL: https://dev.crm5.dynamics.com/XRMServices/2011/Discovery.svc Exception: System.ArgumentNullException: Value cannot be null.
    Parameter name: path1
       at System.IO.Path.Combine(String path1, String path2)
       at Microsoft.Crm.Passport.IdCrl.FederationLogOnManager..ctor(String environment)
       at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.SignIn()
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
    17:29:39|  Error| Exception : Value cannot be null.
    Parameter name: path1    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizations(Boolean forceUI)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__0(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    17:29:41|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Terminate
    17:29:41|   Info| Exit code: Default
    17:29:41|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Terminate
    17:29:41|   Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging stopped: 11/03/2011 17:29:41

     

    I have made sure that our online url is in his trusted sites.  The web client works fine on his machine.  I have searched the forums for this error and can't see the same thing with people using CRM 2011 Online. 

    Can anyone help on this issue?  I had a couple other users reboot and no one else seems to have the issue so far.

    His machine is Windows 7, Outlook 2010

    Saturday, March 12, 2011 12:14 PM

Answers

All replies