locked
CRM Outlook client cannot connect to CRM Server 2011 when outside the domain RRS feed

  • Question

  • I'm having problem sign in to CRM client for outlook when outside the domain

    i have try a lot of fixing but out of luck

    I'm using MS CRM 2011, no IFD installed

    Externally:

    1. CRM through IE web URL- OK

    2. CRM through outlook client  - ERROR

    Internally:

    1. CRM through IE web URL- OK

    2. CRM through outlook client  - OK

    log file

    -------------------------------------------------------------------

    [2013-11-07 15:52:50.891] Process:OUTLOOK |Organization:078fdd97-50a8-4fe9-9a03-edf041a9825a |Thread:   30 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | AuthSupport.Authenticate  ilOffset = 0x15
    at AuthSupport.Authenticate(IntPtr ownerWindowHandle)  ilOffset = 0x15
    at ClientOrganizationContext.RunStateEngineAsync(Object state)  ilOffset = 0xD
    at QueueUserWorkItemCallback.WaitCallback_Context(Object state)  ilOffset = 0x1A
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)  ilOffset = 0x8E
    at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x35
    at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0x81
    at _ThreadPoolWaitCallback.PerformWaitCallback()  ilOffset = 0x51
    > TraceException: Unhandled Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'http://ids-crm11/idimension/XRMServices/2011/Organization.svc?wsdl'.
       at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
       at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
       at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
       at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)
       at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)
       at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri)
       at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)
       at Microsoft.Crm.Application.SMWrappers.ClientOrganizationContextFactory.ClientOrganizationContext.Authenticate(CrmServerType serverType)
       at Microsoft.Crm.Application.SMWrappers.AuthSupport.Authenticate(IntPtr ownerWindowHandle)
    Inner Exception: System.Net.WebException: The remote name could not be resolved: 'ids-crm11'
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)
       at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

    -----------------------------------------------------------------------------------------------

    Thursday, November 7, 2013 9:41 AM

Answers

  • i have edit the system registry file under MSCRM, all the address 'http://ids-crm11' change to the IP
    • Marked as answer by bingbin9 Tuesday, November 12, 2013 3:47 AM
    Tuesday, November 12, 2013 3:46 AM

All replies

  • Not using IFD is the issue since outlook session is not authenticated to connect to CRM. I guess when you access it through web browser, it must be asking for authentication to connect to AD.

    But the error should be different. Your outlook is saying that it cannot access ''http://ids-crm11/idimension/XRMServices/2011/Organization.svc'. Are you able to access this url from your web browser? Or you are using some other server name to access CRM from the browser?


    - Arvind


    Thursday, November 7, 2013 9:48 AM
  • ''http://ids-crm11/idimension/XRMServices/2011/Organization.svc'.  I'm not able to access to using this link

    i using the an IP to access to CRM on Web Browser and at the CRM Configuration Wizard i using the same IP

    Some of my friend can access via Outlook outside domain with same Configuration 

    Thursday, November 7, 2013 10:14 AM
  • This is because, once you are out of your company's network, the DNS you cannot to, doesn't know what is the address of 'http://ids-crm11'. Following could be possible solutions to it:

    -> Configure your outlook connector using IP when you are not in domain. That way it should use the IP itself and not convert it to server address 'http://ids-crm11'

    -> Tell your laptop/computer that all requests made to 'http://ids-crm11' should be routed to the IP instead. For this you could edit the 'hosts' file of your system located at: C:\Windows\System32\drivers\etc\
    Add a new entry to it like below(use your CRM server's IP) and make sure that it gets saved(you may need to unset the system/readonly attribte of it):
    127.0.0.1 ids-crm11
    Or instead of editing this system file, you may install some router software which could route requests.


    - Arvind


    Friday, November 8, 2013 5:54 AM
  • i have edit the system registry file under MSCRM, all the address 'http://ids-crm11' change to the IP
    • Marked as answer by bingbin9 Tuesday, November 12, 2013 3:47 AM
    Tuesday, November 12, 2013 3:46 AM