Quantcast
Channel: Outlook IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 33562

Outlook 2007 SP3 freeze on autodiscover

$
0
0

At a customer site I encountered a problem with Outlook 2007 autodiscovery. If I create a new mail profile for a user using autodiscovery, Outlook freezes at "Log on to server". After waiting for over 5 minutes there doesn't seem to be any change, and when I try to exit Outlook Windows reports the program is unresponsive and asks whether I want to wait or force close the program. When I restart Outlook, everything seems configured correctly. As far as I know, Exchange, IIS, AD and DNS are all configured correctly for autodiscover too.

When I test this on the internal network with a computer that's not joined to the domain (Windows 7 Professional SP1 + Office 2007 SP3 the freeze doesn't occur. After entering my name, email address and password I get prompted for username and password from autodiscover.<external domain>. I guess this is because the customer's Windows AD name doesn't match up with their external (internet) domain name. After entering username and password in the correct format (like <user@internal domain>) the autodiscovery process completes without problems.

We're using Exchange 2007 SP3 in combination with Windows 7 Enterprise 32-bit and Office 2007. I tested the following combination of patchlevels:

Windows 7 RTM + Office 2007 SP2 - works
Windows 7 RTM + Office 2007 SP2 + KB2509470 - works
Windows 7 RTM + Office 2007 SP2 + KB2583910 - hangs
Windows 7 RTM + Office 2007 SP3 - hangs
Windows 7 SP1 + Office 2007 SP2 - works
Windows 7 SP1 + Office 2007 SP2 + KB2509470 - works
Windows 7 SP1 + Office 2007 SP2 + KB2583910 - hangs
Windows 7 SP1 + Office 2007 SP3 - hangs

All in all I'm quite sure KB2583910 is causing this issue, but I have no idea what could be wrong. The description of the update isn't very helpful (see http://support.microsoft.com/kb/2583910). Can anyone help me where to search for a deeper cause of this?

Output of various tests:

<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <User>
      <DisplayName>User Name</DisplayName>
      <LegacyDN>/O=<organisation>/OU=<ou>/cn=Recipients/cn=<username></LegacyDN>
      <DeploymentId><some id></DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server><internal servername></Server>
        <ServerDN>/o=<organisation>/ou=<administrative group>/cn=Configuration/cn=Servers/cn=<servername></ServerDN>
        <ServerVersion>72038053</ServerVersion>
        <MdbDN>/o=<organisation>/ou=<administrative group>/cn=Configuration/cn=Servers/cn=<servername>/cn=Microsoft Private MDB</MdbDN>
        <PublicFolderServer><internal servername></PublicFolderServer>
        <AD><dc.domain.internal></AD>
        <ASUrl>https://<internal servername>/ews/exchange.asmx</ASUrl>
        <EwsUrl>https://<internal servername>/ews/exchange.asmx</EwsUrl>
        <OOFUrl>https://<internal servername>/ews/exchange.asmx</OOFUrl>
        <UMUrl>https://<internal servername>/unifiedmessaging/service.asmx</UMUrl>
        <OABUrl>https://<internal servername>/oab/2fdbfee5-9076-417b-b80f-6c7706bd371e/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server><external servername></Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl><external servername>/EWS/Exchange.asmx</ASUrl>
        <EwsUrl><external servername>/EWS/Exchange.asmx</EwsUrl>
        <OOFUrl><external servername>/EWS/Exchange.asmx</OOFUrl>
        <OABUrl><external servername>/OAB/2fdbfee5-9076-417b-b80f-6c7706bd371e/</OABUrl>
        <CertPrincipalName>msstd:*.<external domain name></CertPrincipalName>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <External>
          <OWAUrl AuthenticationMethod="Fba">https://<external servername>/owa</OWAUrl>
          <Protocol>
            <Type>EXPR</Type>
            <ASUrl>https://<external servername>/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </External>
        <Internal>
          <OWAUrl AuthenticationMethod="Basic, Fba">https://<external servername>/owa</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://<external servername>/ews/exchange.asmx</ASUrl>
          </Protocol>
        </Internal>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

[PS] C:\Windows\system32>test-mapiconnectivity -identity <user's email address> -verbose
VERBOSE: Test-MAPIConnectivity : Beginning processing.
VERBOSE: Test-MAPIConnectivity : Searching objects "<user's email address>" of type "ADUser" under the root "$null".
VERBOSE: Test-MAPIConnectivity : Previous operation run on global catalog server '<DC name>'.
VERBOSE: Test-MAPIConnectivity : Searching objects "<mailbox database>" of type "MailboxDatabase" under the root "$null".
VERBOSE: Test-MAPIConnectivity : Previous operation run on domain controller '<DC name>'.
VERBOSE: Test-MAPIConnectivity : Searching objects "<exchange server name>" of type "Server" under the root "$null".
VERBOSE: Test-MAPIConnectivity : Previous operation run on domain controller '<DC name>'.
VERBOSE: Testing MAPI connectivity to Mailbox "<user's email address>".

MailboxServer      Database           Result    Latency(MS) Error
-------------      --------           ------    ----------- -----
<server> Mailbox Database   Success            95
VERBOSE: Test-MAPIConnectivity : Ending processing.


[PS] C:\Windows\system32>test-outlookwebservices -identity <username> | fl


Id      : 1003
Type    : Information
Message : About to test AutoDiscover with the e-mail address <user's email address>.

Id      : 1006
Type    : Information
Message : The Autodiscover service was contacted at https://<internal servername>/autodiscover/autodiscover.xml.

Id      : 1016
Type    : Success
Message : [EXCH]-Successfully contacted the AS service at https://<internal servername>/ews/exchange.asmx. The elapsed time was 15 milliseconds.

Id      : 1015
Type    : Success
Message : [EXCH]-Successfully contacted the OAB service at https://<internal servername>/ews/exchange.asmx. The elapsed time was 0 milliseconds.

Id      : 1014
Type    : Success
Message : [EXCH]-Successfully contacted the UM service at https://<internal servername>/unifiedmessaging/service.asmx. The elapsed time was 0 milliseconds.

Id      : 1016
Type    : Success
Message : [EXPR]-Successfully contacted the AS service at https://<external servername>/EWS/Exchange.asmx. The elapsed time was 31 milliseconds.

Id      : 1015
Type    : Success
Message : [EXPR]-Successfully contacted the OAB service at https://<external servername>/EWS/Exchange.asmx. The elapsed time was 0 milliseconds.

Id      : 1014
Type    : Information
Message : [EXPR]-The UM is not configured for this user.

Id      : 1017
Type    : Success
Message : [EXPR]-Successfully contacted the RPC/HTTP service at https://<external servername>/Rpc. The elapsed time was 156 milliseconds.

Id      : 1006
Type    : Success
Message : The Autodiscover service was tested successfully.

[PS] C:\Windows\system32>setspn -l <server> | fl
Registered ServicePrincipalNames for CN=<server>,OU=<some OU>,OU=<some other OU>,DC=<dc>,DC=<dc>:
        HTTP/<server.domain.external>
        WSMAN/<server>
        WSMAN/<server.domain.internal>
        exchangeRFR/<server>
        exchangeRFR/<server.domain.internal>
        exchangeMDB/<server>
        exchangeMDB/<server.domain.internal>
        TERMSRV/<server.domain.internal>
        TERMSRV/<server>
        POP/<server>
        POP/<server.domain.internal>
        POP3/<server>
        POP3/<server.domain.internal>
        IMAP/<server>
        IMAP/<server.domain.internal>
        IMAP4/<server>
        IMAP4/<server.domain.internal>
        tapinego/<server>
        tapinego/<server.domain.internal>
        SmtpSvc/<server.domain.internal>
        SmtpSvc/<server>
        SMTP/<server.domain.internal>
        SMTP/<server>
        RestrictedKrbHost/<server>
        HOST/<server>
        RestrictedKrbHost/<server.domain.internal>
        HOST/<server.domain.internal>

OLKdisc.log:

Thread Tick Count Date/Time Description

Account Configuration Version rmj.rmm.rup.0
3304 0x006A4EEC 05/30/12 17:02:12 Starting AD lookup for e-mail address
3304 0x006A5062 05/30/12 17:02:13 AD lookup for e-mail address succeeded (0x00000000)
3304 0x006A5542 05/30/12 17:02:14 +++++++++++++++++++++++++++++++
3304 0x006A5542 05/30/12 17:02:14 AUTODISCOVER GET SETTINGS BEGIN
3304 0x006A5542 05/30/12 17:02:14  SMTP=<user email address>
3304 0x006A55DE 05/30/12 17:02:14 Attempting URL https://<exchange.domain.internal>/autodiscover/autodiscover.xml found through SCP
3304 0x006A55DE 05/30/12 17:02:14 Autodiscover to https://<exchange.domain.internal>/autodiscover/autodiscover.xml starting
3304 0x006A565B 05/30/12 17:02:14 GetLastError=0; httpStatus=401.
3304 0x006A565B 05/30/12 17:02:14 AutoDiscover supported auth schemes:
3304 0x006A565B 05/30/12 17:02:14  Negotiate
3304 0x006A565B 05/30/12 17:02:14  NTLM
3304 0x006A565B 05/30/12 17:02:14  Basic
3304 0x006A565B 05/30/12 17:02:14 AutoDiscover attempting Auto-Negotiate with Desktop Credentials.
3304 0x006A565B 05/30/12 17:02:14 AutoDiscover USING pcreds->dwAuthScheme:
3304 0x006A565B 05/30/12 17:02:14  Negotiate
3304 0x006A566B 05/30/12 17:02:14 GetLastError=0; httpStatus=200.
3304 0x006A567A 05/30/12 17:02:14 Autodiscover XML Received
3304  ---BEGIN XML---
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <User>
      <DisplayName>User Name</DisplayName>
      <LegacyDN>/O=<organisation>/OU=<ou>/cn=Recipients/cn=<username></LegacyDN>
      <DeploymentId>9ca2a915-9bd1-45b9-93d8-e04ed3ca604e</DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server><exchange.domain.internal></Server>
        <ServerDN>/o=<organisation>/ou=<ou>/cn=Configuration/cn=Servers/cn=<server></ServerDN>
        <ServerVersion>72038053</ServerVersion>
        <MdbDN>/o=<organisation>/ou=<ou>/cn=Configuration/cn=Servers/cn=<server>/cn=Microsoft Private MDB</MdbDN>
        <PublicFolderServer><exchange.domain.internal></PublicFolderServer>
        <AD><dc.domain.internal></AD>
        <ASUrl>https://<exchange.domain.internal>/ews/exchange.asmx</ASUrl>
        <EwsUrl>https://<exchange.domain.internal>/ews/exchange.asmx</EwsUrl>
        <OOFUrl>https://<exchange.domain.internal>/ews/exchange.asmx</OOFUrl>
        <UMUrl>https://<exchange.domain.internal>/unifiedmessaging/service.asmx</UMUrl>
        <OABUrl>https://<exchange.domain.internal>/oab/2fdbfee5-9076-417b-b80f-6c7706bd371e/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server><exchange.domain.external></Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl>https://<exchange.domain.external>/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://<exchange.domain.external>/EWS/Exchange.asmx</EwsUrl>
        <OOFUrl>https://<exchange.domain.external>/EWS/Exchange.asmx</OOFUrl>
        <OABUrl>https://<exchange.domain.external>/OAB/2fdbfee5-9076-417b-b80f-6c7706bd371e/</OABUrl>
        <CertPrincipalName>msstd:*.<domain.external></CertPrincipalName>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <External>
          <OWAUrl AuthenticationMethod="Fba">https://<exchange.domain.external>/owa</OWAUrl>
          <Protocol>
            <Type>EXPR</Type>
            <ASUrl>https://<exchange.domain.external>/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </External>
        <Internal>
          <OWAUrl AuthenticationMethod="Basic, Fba">https://<exchange.domain.internal>/owa</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://<exchange.domain.internal>/ews/exchange.asmx</ASUrl>
          </Protocol>
        </Internal>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>
3304  ----END XML----
3304 0x006A56A9 05/30/12 17:02:14 Autodiscover to https://<exchange.domain.internal>/autodiscover/autodiscover.xml succeeded (0x00000000)
3304 0x006A56A9 05/30/12 17:02:14 AUTODISCOVER GET SETTINGS END
3304 0x006A56A9 05/30/12 17:02:14 -----------------------------




Viewing all articles
Browse latest Browse all 33562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>