Windows Vista Forums

Re: SBS Activesync error

  1. #1


    HughSmith Guest

    Re: SBS Activesync error


    Hi Ace,

    Have run the Exchange Remote Connectivity Analyzer at
    https://www.testexchangeconnectivity.com/



    Fails with an Http 500 error - output below

    Testing Exchange ActiveSync
    Exchange ActiveSync test Failed
    Test Steps
    Attempting to resolve the host name remote.warmmyhome.co.nz in DNS.

    Host successfully resolved
    Additional Details
    IP(s) returned: 203.97.49.172

    Testing TCP Port 443 on host remote.warmmyhome.co.nz to ensure it is
    listening and open.
    The port was opened successfully.
    Testing SSL Certificate for validity.
    The certificate passed all validation requirements.
    Test Steps
    Validating certificate name
    Successfully validated the certificate name
    Additional Details
    Found hostname remote.warmmyhome.co.nz in Certificate Subject Common
    name

    Testing certificate date to ensure validity
    Date Validation passed. The certificate is not expired.
    Additional Details
    Certificate is valid: NotBefore = 5/20/2009 5:06:37 AM, NotAfter =
    5/20/2014 5:06:37 AM"



    Testing Http Authentication Methods for URL
    https://remote.warmmyhome.co.nz/Micr...er-Activesync/
    Http Authentication Methods are correct
    Additional Details
    Found all expected authentication methods and no disallowed methods.
    Methods Found: Basic

    Attempting an ActiveSync session with server
    Errors were encountered while testing the ActiveSync session
    Test Steps
    Attempting to send OPTIONS command to server
    OPTIONS response was successfully received and is valid
    Additional Details
    Headers received: MicrosoftOfficeWebServer: 5.0_Pub
    Pragma: no-cache
    Public: OPTIONS, POST
    Allow: OPTIONS, POST
    MS-Server-ActiveSync: 6.5.7638.1
    MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
    MS-ASProtocolCommands:
    Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
    Content-Length: 0
    Date: Sat, 12 Dec 2009 04:40:24 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET



    Attempting FolderSync command on ActiveSync session
    FolderSync command test failed
    Tell me more about this issue and how to resolve it
    Additional Details
    Exchange ActiveSync returned an HTTP 500 response.

    I followed the link in the test results to
    http://technet.microsoft.com/en-nz/l...EXCHG.80).aspx
    but I am not sure how this stuff relates to SBS (as I know SBS does some
    stuff to combine front-end and back-end into one box).

    Any advice you have would be appreciated.

    Thanks,

    Hugh


    --
    HughSmith
    ------------------------------------------------------------------------
    HughSmith's Profile: http://forums.techarena.in/members/162787.htm
    View this thread: http://forums.techarena.in/small-bus...er/1280938.htm

    http://forums.techarena.in


      My System SpecsSystem Spec

  2. #2


    Ace Fekay [MCT] Guest

    Re: SBS Activesync error

    "HughSmith" <HughSmith.432ine@newsgroup> wrote in message
    news:HughSmith.432ine@newsgroup

    >
    > Hi Ace,
    >
    > Have run the Exchange Remote Connectivity Analyzer at
    > https://www.testexchangeconnectivity.com/
    >
    > Fails with an Http 500 error - output below
    >
    > Testing Exchange ActiveSync
    > Exchange ActiveSync test Failed
    > Test Steps
    > Attempting to resolve the host name remote.warmmyhome.co.nz in DNS.
    >
    > Host successfully resolved
    > Additional Details
    > IP(s) returned: 203.97.49.172
    >
    > Testing TCP Port 443 on host remote.warmmyhome.co.nz to ensure it is
    > listening and open.
    > The port was opened successfully.
    > Testing SSL Certificate for validity.
    > The certificate passed all validation requirements.
    > Test Steps
    > Validating certificate name
    > Successfully validated the certificate name
    > Additional Details
    > Found hostname remote.warmmyhome.co.nz in Certificate Subject Common
    > name
    >
    > Testing certificate date to ensure validity
    > Date Validation passed. The certificate is not expired.
    > Additional Details
    > Certificate is valid: NotBefore = 5/20/2009 5:06:37 AM, NotAfter =
    > 5/20/2014 5:06:37 AM"
    >
    >
    >
    > Testing Http Authentication Methods for URL
    > https://remote.warmmyhome.co.nz/Micr...er-Activesync/
    > Http Authentication Methods are correct
    > Additional Details
    > Found all expected authentication methods and no disallowed methods.
    > Methods Found: Basic
    >
    > Attempting an ActiveSync session with server
    > Errors were encountered while testing the ActiveSync session
    > Test Steps
    > Attempting to send OPTIONS command to server
    > OPTIONS response was successfully received and is valid
    > Additional Details
    > Headers received: MicrosoftOfficeWebServer: 5.0_Pub
    > Pragma: no-cache
    > Public: OPTIONS, POST
    > Allow: OPTIONS, POST
    > MS-Server-ActiveSync: 6.5.7638.1
    > MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
    > MS-ASProtocolCommands:
    > Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
    > Content-Length: 0
    > Date: Sat, 12 Dec 2009 04:40:24 GMT
    > Server: Microsoft-IIS/6.0
    > X-Powered-By: ASP.NET
    >
    >
    >
    > Attempting FolderSync command on ActiveSync session
    > FolderSync command test failed
    > Tell me more about this issue and how to resolve it
    > Additional Details
    > Exchange ActiveSync returned an HTTP 500 response.
    >
    > I followed the link in the test results to
    > http://technet.microsoft.com/en-nz/l...EXCHG.80).aspx
    > but I am not sure how this stuff relates to SBS (as I know SBS does some
    > stuff to combine front-end and back-end into one box).
    >
    > Any advice you have would be appreciated.
    >
    > Thanks,
    >
    > Hugh
    >
    >
    > --
    > HughSmith

    You know, I had a feeling this was the issue. I was going to ask if you are
    using Forms Based Authentication. I forgot, SBS is set to Forms Based by
    default (IIRC). Therefore, you will have to follow Method #2 in the
    following link. I had to set this on a few of my customer sites to get it to
    work, but trying to think back, I believe they were non-SBS servers. I
    thought the SBS wizard configures this for you?

    Nonetheless, please read the following to understand what is going on, and
    the fix for it.

    Exchange ActiveSync and Outlook Mobile Access errors occur when SSL or
    forms-based authentication is required for Exchange Server 2003
    http://support.microsoft.com/?kbid=817379

    Ace




      My System SpecsSystem Spec

  3. #3


    HughSmith Guest

    Re: SBS Activesync error


    Hi Ace

    I have followed the steps in http://support.microsoft.com/?kbid=817379,
    method 2.

    When I got to step 8 of Create a secondary virtual directory for
    Exchange server I ran into an issue as the exchange-oma vdir already
    existed as a sub folder of Default Website in IIS, and I see further
    down in that article that SBS must use this name for OMA.

    So I deleted the existing exchange-oma vdir from IIS and re-ran the
    whole process from the beginning of "Create a secondary virtual
    directory for Exchange server" onwards.

    My original problem remains.

    I followed the link through to http://support.microsoft.com/kb/898131/
    and ran the steps here as I was unable to browse to https://FQDN/oma.

    After adding an additional identity for the default website as per
    898131 I can now successfully browse the exchange folders of my testoma
    user.

    Then proceeded to rerun the activesync test at
    https://www.testexchangeconnectivity.com/.

    Same error as before - output below...

    Testing Exchange ActiveSync
    Exchange ActiveSync test Failed
    Test Steps
    Attempting to resolve the host name remote.warmmyhome.co.nz in DNS.

    Host successfully resolved
    Additional Details
    IP(s) returned: 203.97.49.172

    Testing TCP Port 443 on host remote.warmmyhome.co.nz to ensure it is
    listening and open.
    The port was opened successfully.
    Testing SSL Certificate for validity.
    The certificate passed all validation requirements.
    Test Steps
    Validating certificate name
    Successfully validated the certificate name
    Additional Details
    Found hostname remote.warmmyhome.co.nz in Certificate Subject Common
    name

    Testing certificate date to ensure validity
    Date Validation passed. The certificate is not expired.
    Additional Details
    Certificate is valid: NotBefore = 5/20/2009 5:06:37 AM, NotAfter =
    5/20/2014 5:06:37 AM"



    Testing Http Authentication Methods for URL
    https://remote.warmmyhome.co.nz/Micr...er-Activesync/
    Http Authentication Methods are correct
    Additional Details
    Found all expected authentication methods and no disallowed methods.
    Methods Found: Basic

    Attempting an ActiveSync session with server
    Errors were encountered while testing the ActiveSync session
    Test Steps
    Attempting to send OPTIONS command to server
    OPTIONS response was successfully received and is valid
    Additional Details
    Headers received: MicrosoftOfficeWebServer: 5.0_Pub
    Pragma: no-cache
    Public: OPTIONS, POST
    Allow: OPTIONS, POST
    MS-Server-ActiveSync: 6.5.7638.1
    MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
    MS-ASProtocolCommands:
    Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
    Content-Length: 0
    Date: Sun, 13 Dec 2009 03:20:25 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET



    Attempting FolderSync command on ActiveSync session
    FolderSync command test failed
    Tell me more about this issue and how to resolve it
    Additional Details
    Exchange ActiveSync returned an HTTP 500 response.

    Clicked through on the More info link to
    http://technet.microsoft.com/en-nz/l...EXCHG.80).aspx.

    Downloaded the IIS Auth Diagnostics Tool (from
    http://www.microsoft.com/downloads/d...displaylang=en).


    I'll stick those diagnostics in a separate post below.

    Next step?

    Cheers,

    Hugh


    --
    HughSmith
    ------------------------------------------------------------------------
    HughSmith's Profile: http://forums.techarena.in/members/162787.htm
    View this thread: http://forums.techarena.in/small-bus...er/1280938.htm

    http://forums.techarena.in


      My System SpecsSystem Spec

  4. #4


    Ace Fekay [MCT] Guest

    Re: SBS Activesync error

    "HughSmith" <HughSmith.4347rb@newsgroup> wrote in message
    news:HughSmith.4347rb@newsgroup

    >
    > Hi Ace
    >
    > I have followed the steps in http://support.microsoft.com/?kbid=817379,
    > method 2.
    >
    > When I got to step 8 of Create a secondary virtual directory for
    > Exchange server I ran into an issue as the exchange-oma vdir already
    > existed as a sub folder of Default Website in IIS, and I see further
    > down in that article that SBS must use this name for OMA.
    >
    > So I deleted the existing exchange-oma vdir from IIS and re-ran the
    > whole process from the beginning of "Create a secondary virtual
    > directory for Exchange server" onwards.
    >
    > My original problem remains.
    >
    > I followed the link through to http://support.microsoft.com/kb/898131/
    > and ran the steps here as I was unable to browse to https://FQDN/oma.
    >
    > After adding an additional identity for the default website as per
    > 898131 I can now successfully browse the exchange folders of my testoma
    > user.
    >
    > Then proceeded to rerun the activesync test at
    > https://www.testexchangeconnectivity.com/.
    >
    > Same error as before - output below...
    >
    > Testing Exchange ActiveSync
    > Exchange ActiveSync test Failed
    > Test Steps
    > Attempting to resolve the host name remote.warmmyhome.co.nz in DNS.
    >
    > Host successfully resolved
    > Additional Details
    > IP(s) returned: 203.97.49.172
    >
    > Testing TCP Port 443 on host remote.warmmyhome.co.nz to ensure it is
    > listening and open.
    > The port was opened successfully.
    > Testing SSL Certificate for validity.
    > The certificate passed all validation requirements.
    > Test Steps
    > Validating certificate name
    > Successfully validated the certificate name
    > Additional Details
    > Found hostname remote.warmmyhome.co.nz in Certificate Subject Common
    > name
    >
    > Testing certificate date to ensure validity
    > Date Validation passed. The certificate is not expired.
    > Additional Details
    > Certificate is valid: NotBefore = 5/20/2009 5:06:37 AM, NotAfter =
    > 5/20/2014 5:06:37 AM"
    >
    >
    >
    > Testing Http Authentication Methods for URL
    > https://remote.warmmyhome.co.nz/Micr...er-Activesync/
    > Http Authentication Methods are correct
    > Additional Details
    > Found all expected authentication methods and no disallowed methods.
    > Methods Found: Basic
    >
    > Attempting an ActiveSync session with server
    > Errors were encountered while testing the ActiveSync session
    > Test Steps
    > Attempting to send OPTIONS command to server
    > OPTIONS response was successfully received and is valid
    > Additional Details
    > Headers received: MicrosoftOfficeWebServer: 5.0_Pub
    > Pragma: no-cache
    > Public: OPTIONS, POST
    > Allow: OPTIONS, POST
    > MS-Server-ActiveSync: 6.5.7638.1
    > MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
    > MS-ASProtocolCommands:
    > Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
    > Content-Length: 0
    > Date: Sun, 13 Dec 2009 03:20:25 GMT
    > Server: Microsoft-IIS/6.0
    > X-Powered-By: ASP.NET
    >
    >
    >
    > Attempting FolderSync command on ActiveSync session
    > FolderSync command test failed
    > Tell me more about this issue and how to resolve it
    > Additional Details
    > Exchange ActiveSync returned an HTTP 500 response.
    >
    > Clicked through on the More info link to
    > http://technet.microsoft.com/en-nz/l...EXCHG.80).aspx.
    >
    > Downloaded the IIS Auth Diagnostics Tool (from
    > http://www.microsoft.com/downloads/d...displaylang=en).
    >
    >
    > I'll stick those diagnostics in a separate post below.
    >
    > Next step?
    >
    > Cheers,
    >
    > Hugh
    >
    >
    > --
    > HughSmith

    I assume you set the registry entries correctly as stated in Method 2.

    Curious, have you been changing the authentication methods in IIS and not in
    the ESM? You should only be using the ESM to change anything like that. If
    it is not available in the ESM, then you use IIS. This is because there is a
    utility that runs in the background called the DS2Meta function that reads
    the the data in AD (the Config Container in AD is where the Exchange stores
    it's data), and populates the IIS Metabase.

    Ace



      My System SpecsSystem Spec

Re: SBS Activesync error

Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveSync 401 error and Exchange authentication methods Milhouse Van Houten SBS Server 1 28 Jan 2010
Re: SBS Activesync error HughSmith SBS Server 1 19 Dec 2009
ActiveSync 4.2 and 4.5 installation error gmm6 .NET General 1 22 Jan 2009
activesync ClackyGirl Vista hardware & devices 1 12 Mar 2007
ActiveSync 4.2 charly978 Vista General 7 16 Oct 2006