Announcement

Collapse
No announcement yet.

At a loss with Activesync and Exchange errors

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

  • At a loss with Activesync and Exchange errors

    Hi all,

    Windows SBS 2003 SP2
    Exchange 2003 SP2
    Activesync 4.5
    Windows Mobile 5
    HP iPaq 6915

    I can access Exchange using RPC/HTTP and via OWA, but not through Activesync. The error I get is 85010014. I have created a certificate for the Email, which aklong with the Server root certificate has been installed on the PC the PDA cradles with and on the PDA itself.

    Now - When I try to access OMA, I get a Runtime Error in Server Application error. I'm now thinking this is the problem, however I'm sure I have read somewhere that OMA is not required for the combination of software that I am using. I don't however know where to start with regards to the runtime error.

    So all in all, I'm now at a total loss. I have googled it to death for the last few days, I've installed the Massync.dll hotfix from MS, reset the directory authentications and have fiddled with all sorts of SSL configs.

    Could someone give me a hand please?

    Thank you,

    Karl

    P.S - if I have missed any info, please say so

  • #2
    Re: At a loss with Activesync and Exchange errors

    The error you are getting is an authentication error - also often connected to SSL certificate issues.

    Is this SBS or SBS R2?
    Is the SSL certificate commercial or are you using the self generated certificate?

    If you browse to https://host.domain.com/oma using Pocket IE, do you get a certificate prompt?

    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: At a loss with Activesync and Exchange errors

      Hi Simon

      This is non-R2

      I am using a certificate generated using selfssl from the IIS RTK

      If I browse to OMA using Pocket IE I get a logon prompt followed by a Runtime Error after a period of about 20 second.

      Thanks,

      Karl
      Last edited by karlos3018; 25th May 2008, 22:08.

      Comment


      • #4
        Re: At a loss with Activesync and Exchange errors

        Well you shouldn't have used the IIS Resource Kit to generate the certificate. SBS will do that for you when you run the Configure Email and Connect to the Internet wizard. You have run the wizard? If you haven't run the wizard to configure the feature then you need to do so.

        What about the OMA test? You need to confirm the certificate acceptance.

        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: At a loss with Activesync and Exchange errors

          I've run the CEIW and generated a certificate.

          When I go to https://domain.com/oma I am prompted to accept the certificate, then to login. It is after I login that I get a Runtime error. The OMA site also works without SSL and produces a Runtime error.

          Karl.

          Comment


          • #6
            Re: At a loss with Activesync and Exchange errors

            All the time you get a certificate prompt on the device, you will be unable to use EAS using SSL. EAS on the device cannot cope with the SSL prompt. That is why I usually recommend a commercial SSL certificate that is trusted by Windows Mobile. GoDaddy certificates are the cheapest ones (http://www.certificatesforexchange.com/) .

            The runtime error - unsure what that is without seeing the exact error. However ensure that the /exchange, /oma and /Microsoft-Server-ActiveSync virtual directories are set to use asp.net 1.1 and not 2.0.

            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: At a loss with Activesync and Exchange errors

              Blimey - didn't realise you could get them so cheap now! I'll get one sorted.

              I have been able to change some of the ASP versions to 1.1, but some were on 2.0 and greyed out:

              /exchange = 2.0, greyed out
              /oma = changed to 1.1
              /Microsoft-Server-ActiveSync = changed to 1.1

              Is there anything I can get (error logs for example) to enable the Runtime error to be deciphered?

              Comment


              • #8
                Re: At a loss with Activesync and Exchange errors

                Exchange is not an asp.net 2.0 application. asp.net 1.1 and 2.0 are basically two different applications - 2.0 is not backwards compatible. Therefore if you have 2.0 in use then that is the problem.

                Check the web site itself is not set to use asp.net 2.0 - if it is, change it back to 1.1.
                You could also try resetting the virtual directories: http://support.microsoft.com/default.aspx?kbid=883380

                After doing the above you must run the wizard again so that it is configured correctly for SBS integration.

                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: At a loss with Activesync and Exchange errors

                  I ahve changed the site to use 1.1 - however exchange is still on 2,0 - is it worth uninstalling 2.0? I reset the directories yesterday as part of my frantic trouleshooting.

                  Comment


                  • #10
                    Re: At a loss with Activesync and Exchange errors

                    .net framework 2.0 is not required for Exchange operation, so you could try removing it.
                    I am wondering though whether the older version isn't installed correctly.

                    In the following directory:

                    C:\Windows \Microsoft.NET\Framework\

                    There will be a directory 1.1.xxxx

                    run the following command (use a command prompt) in that directory:

                    aspnet_regiis.exe -i

                    Then run iisreset again and see if you can change the asp.net version.

                    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: At a loss with Activesync and Exchange errors

                      Simon,

                      I removed ASP 2.0 and I now get presented with a HTTP 404. Could this be linked to the SSL configuration?

                      Thanks, I think we're getting somewhere

                      EDIT: I think something is amiss with the SSL - My Outlook will now not connect when using SSL. Obviously, I would prefer it to use SSL - I can't think what I've done now as I've changed so many things whilst trying to get this sorted...
                      Last edited by karlos3018; 26th May 2008, 20:47.

                      Comment


                      • #12
                        Re: At a loss with Activesync and Exchange errors

                        Remove the SSL certificate and remove the option to require SSL on the virtual directories and the web site. Then run iisreset to write those changes to the IIS metabase.
                        Once complete, test again on http.

                        You should also run the Connect to the internet wizard again. Making changes on SBS outside of the wizard is not advisable, so you need to run it again - that should fix many of the problems. If it does not configure everything with a green tick, then you need to check to see what it is failing on.

                        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: At a loss with Activesync and Exchange errors

                          Thanks Simon, that enabled Outlook to work with SSL again

                          The OMA side of things now shows a "Server Error in "/" Application. The resource cannot be found." HTTP 404 after I login.

                          Comment


                          • #14
                            Re: At a loss with Activesync and Exchange errors

                            I haven't seen that error before. Have you reset the virtual directories since pulling asp.net 2.0 out?

                            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: At a loss with Activesync and Exchange errors

                              Hi Simon,

                              I have managed to get EAS working I followed this guide that was in your Sig and it now works However I have noticed that now Outlook on my laptop does not connect, I get presented with a password prompt when I open the program. The laptop connects to the server using HTTP and SSL. I have found it connects OK when the certificate is removed from the Default Web Site, however when it is enabled, even with restarting IIS, running IISreset and running the CEICW again, I am prompted for a login which the server does not accept.

                              Comment

                              Working...
                              X