Announcement

Collapse
No announcement yet.

Exchange ActiveSync problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exchange ActiveSync problem

    I'm a new admin and have imitatively tasked to fix the ActiveSync functionality in our Exchange 2003.

    I've used the https://www.testexchangeconnectivity.com/ and receive the following:
    Testing Exchange ActiveSync
    Exchange ActiveSync test Failed
    Test Steps
    Attempting to resolve the host name email.domain.com in DNS.
    Host successfully resolved
    Additional Details
    IP(s) returned: 1xx.1xx.1xx.2xx

    Testing TCP Port 443 on host email.domain.com 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 email.domain.com 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 = 8/28/2008 7:25:27 AM, NotAfter = 8/28/2010 7:25:27 AM"



    Testing Http Authentication Methods for URL https://email.domain.com/Microsoft-Server-Activesync/
    The test passed with some warnings encountered. Please expand additional details.
    Tell me more about this issue and how to resolve it
    Additional Details
    The following authentication methods are enabled but are not allowed Authentication methods for this service. Methods: Negotiate, NTLM

    Attempting an ActiveSync session with server
    Errors were encountered while testing the ActiveSync session
    Test Steps
    Attempting to send OPTIONS command to server
    Testing the OPTIONS command failed. See Additional Details for more info
    Additional Details
    A Web Exception occurred because an HTTP 401 - Unauthorized response was received from IIS6
    I was pointed to http://technet.microsoft.com/sl-si/library/dd439361(en-us,EXCHG.80).aspx and downloaded the document for Exchange 2003, but am lost as to what to do.

    As I understand it the problem lies with the IIS configuration. I'd greatly appreciate if anyone could point me in the right direction to resolve this (in layman's terms if at all possible).

    The former admin hinted that he thinks it might have something to do with .NET, but he wasn't sure at all.

  • #2
    Re: Exchange ActiveSync problem

    Does OWA work?
    If you browse to the address shown in your browser (https://host.example.com/Microsoft-Server-ActiveSync) and have show friendly error messages turned off, does it state that it is trying to use asp.net 2.0 - if so, then it needs to be 1.1.

    DO you have Forms Based Authentication enabled? That can break ActiveSync. See MSKB 817379.

    Simon.
    --
    Simon Butler
    Exchange MVP

    Blog: http://blog.sembee.co.uk/
    More Exchange Content: http://exchange.sembee.info/
    Exchange Resources List: http://exbpa.com/
    In the UK? Hire me: http://www.sembee.co.uk/

    Sembee is a registered trademark, used here with permission.

    Comment


    • #3
      Re: Exchange ActiveSync problem

      OWA works fine.

      I just tried (from outside the office, with no VPN) https://host.example.com/Microsoft-Server-ActiveSync and get "The page cannot be found, HTTP Error 404 - File or directory not found"

      I'm currently unable to RDP into the office and check if that directory even exists...it probably should.

      Comment


      • #4
        Re: Exchange ActiveSync problem

        Reset the virtual directories would be the first thing I would suggest.
        http://support.microsoft.com/default.aspx?kbid=883380

        Simon.
        --
        Simon Butler
        Exchange MVP

        Blog: http://blog.sembee.co.uk/
        More Exchange Content: http://exchange.sembee.info/
        Exchange Resources List: http://exbpa.com/
        In the UK? Hire me: http://www.sembee.co.uk/

        Sembee is a registered trademark, used here with permission.

        Comment


        • #5
          Re: Exchange ActiveSync problem

          Here's how it currently looks: http://img138.imageshack.us/img138/9771/exchange.jpg
          As suggested, some folders appear to be missing.

          Since I'm very hesitent to try any of the methods in 883380 at least before I know I can easily restore this, I'm wondering if there's an easy way to just add the Microsoft-Server-ActiveSync folder manually.

          Some suggestions are at
          http://www.eggheadcafe.com/software/...microsoft.aspx, but again I need to make a simple backup before doing any of this.

          I also don't see the Microsoft-Server-ActiveSync in System Manager.

          Verbose, close to step-by-step instructions would be immensely helpful. This is my first week on the job and I can't make any mistakes, OWA... works fine right now.

          Comment


          • #6
            Re: Exchange ActiveSync problem

            You don't restore anything - because that is what the KB article does. The directories cannot be created by hand, Exchange must create them. That article puts IIS in to a position where the directories are recreated to the default settings in IIS manager - basically doing the same thing that occurs when Exchange is first installed.

            Not sure what you are expecting to see in ESM - the only reference to ActiveSync will be in Global Settings. It doesn't appear as a virtual directory like other folders do.

            Simon.
            --
            Simon Butler
            Exchange MVP

            Blog: http://blog.sembee.co.uk/
            More Exchange Content: http://exchange.sembee.info/
            Exchange Resources List: http://exbpa.com/
            In the UK? Hire me: http://www.sembee.co.uk/

            Sembee is a registered trademark, used here with permission.

            Comment


            • #7
              Re: Exchange ActiveSync problem

              Sembee, thank you for your patience. I'm leaning towards Method 2: Use Adsutil.vbs . The first step is to backup the database, I did this as suggested.

              I also went to the server and performed a backup of the entire metabase by following http://www.microsoft.com/technet/pro....mspx?mfr=true

              Method 2: Use Adsutil.vbs suggests one needs to delete:
              • Exadmin
              • Exchange
              • ExchWeb
              • Microsoft-Server-ActiveSync
              • OMA
              • Public

              Is this even needed in my case since only Microsoft-Server-ActiveSync is missing and that one obviously cannot be deleted.

              I was referencing the other link regarding what to see in ESM (I'll ignore it).

              I'd just need the confirmation that everything will be exactly (other directories, permissions, settings...) how it is right now (even without Microsoft-Server-ActiveSync) if I restore using one of the above created backups.

              Please forgive my reluctance, I know it's a simple KB to follow, but I need to be sure that I can return to the previous state with ease.

              Comment


              • #8
                Re: Exchange ActiveSync problem

                The whole point of that article is to get you back to the state that Exchange default directories are in at the point of installation. Copying back any kind of back is rather pointless task because you are copying back a non working configuration.

                I have done the reset 100s of times without any issues. I don't bother backing up the metabase either as I see no point.

                Simon.
                --
                Simon Butler
                Exchange MVP

                Blog: http://blog.sembee.co.uk/
                More Exchange Content: http://exchange.sembee.info/
                Exchange Resources List: http://exbpa.com/
                In the UK? Hire me: http://www.sembee.co.uk/

                Sembee is a registered trademark, used here with permission.

                Comment


                • #9
                  Re: Exchange ActiveSync problem

                  Sembee, I understand it resets all Exchange related directories to the defaults (hopefully the rest remain untouched), but the only thing that currently isn't working for me is ActiveSync, so I'd like to have a plan to be able to go to the previous state, even if that means ActiveSync will not work for the time being. They much more heavily rely on OWA.

                  Comment


                  • #10
                    Re: Exchange ActiveSync problem

                    The point is, as I have tried to explain, you wouldn't put the previous configuration back, because that would be a waste of time. As long as you follow the article correctly, then it will have everything in place correctly because Exchange is creating the folders.

                    You aren't actually deleting any live data, it is a configuration - a configuration managed by Exchange. It either works or it doesn't - there is not going to be anything special about the configuration of your server.

                    Simon.
                    --
                    Simon Butler
                    Exchange MVP

                    Blog: http://blog.sembee.co.uk/
                    More Exchange Content: http://exchange.sembee.info/
                    Exchange Resources List: http://exbpa.com/
                    In the UK? Hire me: http://www.sembee.co.uk/

                    Sembee is a registered trademark, used here with permission.

                    Comment


                    • #11
                      Re: Exchange ActiveSync problem

                      Sembee, thank you so much. I got it working!
                      817379 also had to be applied, but it works great now.

                      I also installed the MobileAdmin application so I can remote wipe the devices, but am getting the following:
                      Code:
                         Server Error in '/MobileAdmin' Application.   
                      
                       Runtime Error 
                      
                      Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 
                      
                      Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
                      
                         <!-- Web.Config Configuration File -->
                      
                      <configuration>
                          <system.web>
                              <customErrors mode="Off"/>
                          </system.web>
                      </configuration>
                      Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
                      
                         <!-- Web.Config Configuration File -->
                      
                      <configuration>
                          <system.web>
                              <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
                          </system.web>
                      </configuration>
                      Any idea how I go about resolving this one, Google finds quite a few pages on this topic, but no solutions.

                      Comment


                      • #12
                        Re: Exchange ActiveSync problem

                        That usually means the wrong version of asp.net is being used.

                        Simon.
                        --
                        Simon Butler
                        Exchange MVP

                        Blog: http://blog.sembee.co.uk/
                        More Exchange Content: http://exchange.sembee.info/
                        Exchange Resources List: http://exbpa.com/
                        In the UK? Hire me: http://www.sembee.co.uk/

                        Sembee is a registered trademark, used here with permission.

                        Comment


                        • #13
                          Re: Exchange ActiveSync problem

                          I thought as much and changed it on the virtual directory, but still get the same error. I have no idea where else I should check.

                          Comment


                          • #14
                            Re: Exchange ActiveSync problem

                            Did you run iisreset after making the change? It doesn't take effect until you do.

                            Simon.
                            --
                            Simon Butler
                            Exchange MVP

                            Blog: http://blog.sembee.co.uk/
                            More Exchange Content: http://exchange.sembee.info/
                            Exchange Resources List: http://exbpa.com/
                            In the UK? Hire me: http://www.sembee.co.uk/

                            Sembee is a registered trademark, used here with permission.

                            Comment


                            • #15
                              Re: Exchange ActiveSync problem

                              Yes, I did

                              Comment

                              Working...
                              X