• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2016
  • Last Modified:

Exchange 2010 connectivity issue

Hello

Having a weird issue with one network I am looking after. All the sudden this morning the client PCs can not connect to the Exchange server.

This is a plain vanilla SBS2011 setup with Outlook 2010 / Win7 clients. 8 PCs connecting to the SBS server, local LAN, DHCP, etc - nothing fancy.

As far as I can tell the SBS / Exchange 2010 is up and running - no obvious error reported in the logs. BPA ok - everything look pristine. ActivSync client (Iphones) are connecting fine. However both OWA and Outlook clients are failing (in different ways, see below). I'm suspecting some networking / DNS / auto-discovery issue but can really pinpoint it.

I have enabled debug logging on Outlook client and here is what I get for the startup handshake

2012.09.05 11:14:09 <<<< Logging Started (level is LTF_TRACE) >>>>
2012.09.05 11:14:09 HELPER::Initialize called
2012.09.05 11:14:09 Initializing: Finding a Transport
2012.09.05 11:14:09 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
2012.09.05 11:14:09 MAPI Status: (-- -- ---/--- -- ---)
2012.09.05 11:14:09 MAPI XP Call: TransportLogon, hr = 0x00000000
2012.09.05 11:14:09 Initializing: Found a transport, Error code = 0x00000000
2012.09.05 11:14:09 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
2012.09.05 11:14:09 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
2012.09.05 11:14:09 HELPER::Initialize done, Error code = 0x00000000
2012.09.05 11:14:09 HELPER::GetCapabilities called, Error code = 0x00000000
2012.09.05 11:14:09 HELPER::Uninitialize called
2012.09.05 11:14:09 MAPI XP Call: TransportNotify(END_IN|END_OUT), hr = 0x00000000
2012.09.05 11:14:09 MAPI XP Call: TransportLogoff in EMSMDB.DLL, hr = 0x00000000
2012.09.05 11:14:09 MAPI XP Call: Shutdown, hr = 0x00000000
2012.09.05 11:14:09 Resource manager terminated

Open in new window


Can't really make out any obvious issue.

I have tried to ping autodiscover.mydomain.com and autodiscover.mydomain.local and they all resolve and ping as expected.

At the moment Outlook users get a login prompt which is not accepted with valid creds while OWA users get login prompt then blank page - no error reported.

If I try to create a new outlook profile form scratch my account is auto provisioned as expected but still have the same issue as above.

OWA comming up blank might indicate that I am missing some IIS features so I tried

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart

Open in new window


but all features as reported as installed (anyway I am pretty sure that the root problem is not with IIS / OWA).

I have tried to reset OWA and Autodiscover virtual directories as per http://technet.microsoft.com/en-us/library/ff629372.aspx to no avail.

Any further help / suggstions most welcome !!
0
Alexandre Takacs
Asked:
Alexandre Takacs
  • 4
1 Solution
 
Sushil SonawaneCommented:
Delete the all exchange virtual directory and recrate it. Before doing this please take IIS backup.

For IIS backup run below command

go to %windir%\system32\inetsrv\ folder then run the command

appcmd.exe add backup "My Backup Name"

Exchange virtual directory recration

(http://technet.microsoft.com/en-us/library/aa998589.aspx).
0
 
Alexandre TakacsCTOAuthor Commented:
And once deleted as per linked procedures what do you suggest (just to be sure I get your point) ?!
0
 
Alexandre TakacsCTOAuthor Commented:
I have tried the "test autoconfigure" feature of outlook and here is the result


      <DisplayName>myco Admin</DisplayName>
      <LegacyDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=MyAdmin</LegacyDN>
      <AutoDiscoverSMTPAddress>myAdmin@myco.ch</AutoDiscoverSMTPAddress>
      <DeploymentId>27513dc3-92f8-42fc-9705-8ca09ee12a17</DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server>mycoSBS.myco.local</Server>
        <ServerDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=mycoSBS</ServerDN>
        <ServerVersion>738180DA</ServerVersion>
        <MdbDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=mycoSBS/cn=Microsoft Private MDB</MdbDN>
        <PublicFolderServer>mycoSBS.myco.local</PublicFolderServer>
        <AD>mycoSBS.myco.local</AD>
        <ASUrl>https://ts.myco.ch/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://ts.myco.ch/EWS/Exchange.asmx</EwsUrl>
        <EcpUrl>https://mycosbs.myco.local/ecp/</EcpUrl>
        <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
        <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
        <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
        <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
        <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
        <OOFUrl>https://ts.myco.ch/EWS/Exchange.asmx</OOFUrl>
        <UMUrl>https://ts.myco.ch/EWS/UM2007Legacy.asmx</UMUrl>
        <OABUrl>https://ts.myco.ch/OAB/374myco4cb9b-d75d-46b7-a653-1e72d247863f/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server>exchange.myco.ch</Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl>https://exchange.myco.ch/ews/exchange.asmx</ASUrl>
        <EwsUrl>https://exchange.myco.ch/ews/exchange.asmx</EwsUrl>
        <OOFUrl>https://exchange.myco.ch/ews/exchange.asmx</OOFUrl>
        <UMUrl>https://exchange.myco.ch/ews/UM2007Legacy.asmx</UMUrl>
        <OABUrl>https://exchange.myco.ch/OAB/3744cb9b-d75d-46b7-a653-1e72d247863f/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <Internal>
          <OWAUrl AuthenticationMethod="Basic, Fba">https://mycosbs.myco.local/owa/</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://ts.myco.ch/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </Internal>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

Open in new window


I thing we identified the issue as the server is mycoSBS.myco.local and there are references to ts.myco.local which used to resolve to the same machine but not anymore... So that seems to be the problem. I have updated the url and now the autodiscovery log seems correct

<?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>Synergix Admin</DisplayName>
      <LegacyDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Myco Admin</LegacyDN>
      <AutoDiscoverSMTPAddress>mycoAdmin@myco.com</AutoDiscoverSMTPAddress>
      <DeploymentId>27513dc3-92f8-42fc-9705-8ca09ee12a17</DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server>mycoSBS.myco.local</Server>
        <ServerDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SBS</ServerDN>
        <ServerVersion>738180DA</ServerVersion>
        <MdbDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SBS/cn=Microsoft Private MDB</MdbDN>
        <PublicFolderServer>mycoSBS.myco.local</PublicFolderServer>
        <AD>mycoSBS.myco.local</AD>
        <ASUrl>https://mycoSBS.myco.local/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://mycoSBS.myco.local/EWS/Exchange.asmx</EwsUrl>
        <EcpUrl>https://mycoSBS.myco.local/ecp/</EcpUrl>
        <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
        <EcpUrl-aggr>?p=personalsettings/EmailmycoSBS.myco.localSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
        <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
        <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
        <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
        <OOFUrl>https://mycoSBS.myco.local/EWS/Exchange.asmx</OOFUrl>
        <UMUrl>https://mycoSBS.myco.local/EWS/UM2007Legacy.asmx</UMUrl>
        <OABUrl>https://exchange.myco.com/OAB/3744cb9b-d75d-46b7-a653-1e72d247863f/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server>exchange.myco.com</Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl>https://exchange.myco.com/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://exchange.myco.com/EWS/Exchange.asmx</EwsUrl>
        <EcpUrl>https://exchange.myco.com/ecp/</EcpUrl>
        <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
        <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
        <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
        <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
        <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
        <OOFUrl>https://exchange.myco.com/EWS/Exchange.asmx</OOFUrl>
        <UMUrl>https://exchange.myco.com/EWS/UM2007Legacy.asmx</UMUrl>
        <OABUrl>https://exchange.myco.com/OAB/3744cb9b-d75d-46b7-a653-1e72d247863f/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <Internal>
          <OWAUrl AuthenticationMethod="Basic, Fba">https://mycoSBS.myco.local/owa/</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://mycoSBS.myco.local/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </Internal>
        <External>
          <OWAUrl AuthenticationMethod="Fba">https://exchange.myco.com/owa/</OWAUrl>
          <Protocol>
            <Type>EXPR</Type>
            <ASUrl>https://exchange.myco.com/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </External>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

Open in new window

but I still have my issue...

Thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Simon Butler (Sembee)ConsultantCommented:
As it is SBS, the first thing to do is run the Fix my network wizard in the management tool. That will resolve a lot of issues and should be the first thing done if anything is amiss.

Simon.
0
 
Alexandre TakacsCTOAuthor Commented:
Ok managed to self solve the issue by carefully reviewing / editing the urls in EMC under client access OWA / ECP / EAS / OAB tabs then restart of IIS (there where some typos there).

Thanks anyway for the help.
0
 
Alexandre TakacsCTOAuthor Commented:
self solved
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now