Announcement

Collapse
No announcement yet.

OMA nightmare

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

  • OMA nightmare

    We have our exchange server hosted in a data centre - we have full control via remote desktop but the hardware is all look after by another company. Recently we had the server moved to a new location and what I thought was just simply a new IP on the dns records turned out to cause more problems.

    We are using RPC over HTTP to connect via client.

    The main problems I have at the moment is not being able to connect to OMA or Active-sync which worked fine before the move. Originally we only had access via webmail until I reset the IIS settings and managed to get the client connection back up.

    I have tried a number of things to get round the OMA / ASync problems:

    Installing Device Update 4.

    http://www.msexchange.org/tutorials/...tallation.html

    http://support.microsoft.com/kb/817379

    Method 2 above from microsoft just ended up giving me access to OWA minus SSL. I didn't quite see how I could use this to solve activesync issue - do I set the server on the device as server/exchange-oma and turn SSL off the device (because this didn't work)


    Currently I am getting:

    A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.

    When I try to login to server/oma



    I am assuming once I solver the oma issue it will help with the activesync problem. Can anyone suggest anything else I can try to get this working?

    It would be most appreciated as I seem to of hit a brick wall.

    Evernt view error:

    Event Type: Error
    Event Source: MSExchangeOMA
    Event Category: (1000)
    Event ID: 1503
    Date: 01/05/2007
    Time: 10:48:23
    User: N/A
    Computer: CLPMAIL01
    Description:
    An unknown error occurred while processing the current request:
    Message: The remote server returned an error: (400) Bad Request.
    Source: Microsoft.Exchange.OMA.ExchangeDataProvider
    Stack trace:
    at Microsoft.Exchange.OMA.ExchangeDataProvider.OmaWeb Request.GetRequestStream()
    at Microsoft.Exchange.OMA.ExchangeDataProvider.Exchan geServices.GetSpecialFolders()
    at Microsoft.Exchange.OMA.ExchangeDataProvider.Exchan geServices..ctor(UserInfo user)

    Message: Exception has been thrown by the target of an invocation.
    Source: mscorlib
    Stack trace:
    at System.Reflection.RuntimeConstructorInfo.InternalI nvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
    at System.Reflection.RuntimeConstructorInfo.Invoke(Bi ndingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at Microsoft.Exchange.OMA.UserInterface.Global.Sessio n_Start(Object sender, EventArgs e)

    Message: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.Provi derException was thrown.
    EventMessage:
    UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
    Source: Microsoft.Exchange.OMA.UserInterface
    Stack trace:
    at Microsoft.Exchange.OMA.UserInterface.Global.Sessio n_Start(Object sender, EventArgs e)
    at System.Web.SessionState.SessionStateModule.RaiseOn Start(EventArgs e)
    at System.Web.SessionState.SessionStateModule.Complet eAcquireState()
    at System.Web.SessionState.SessionStateModule.BeginAc quireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
    at System.Web.AsyncEventExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)



    I have found the ms hotfix
    http://support.microsoft.com/?kbid=820745

    Has anyone tried this and made it work for this kind of problem? Is there somewhere I can download it from without having to contact Microsoft - having not contacted them before I would expect it to take sometime and also the fact we have the server hosted in a data centre I wonder how the licencing effects it?

    Thanks
    Last edited by simoncpage; 1st May 2007, 12:01.
    Simon
    -------

  • #2
    Re: OMA nightmare

    817379 does not give you OWA without SSL.
    You have probably made the same mistake that many make - they expect a setting somewhere to turn on or turn off SSL. Well there isn't one. The Require SSL option does not turn on or off the option - with require SSL turned off you can still use SSL. All of my Exchange servers do not have any require SSL enable don them - I simply do not allow the users to connect on http:// from outside the network. Port 80 isn't even open and some redirect in place.

    817379 does actually have some flaws in it, where the problems with the settings can be carried over to the new configuration.

    Therefore what I suggest is that you reset the virtual folders using
    http://support.microsoft.com/default.aspx?kbid=883380. Remember to remove the registry change that you made for it. Verify that OWA works correctly. Then follow my instructions which are similar to 817379 with some variations.
    http://www.amset.info/exchange/mobile-85010014.asp

    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: OMA nightmare

      okay thanks for the reply will try that - definitely not worth pursuing the id error 1503 that the event view show with OMA connections?
      Simon
      -------

      Comment


      • #4
        Re: OMA nightmare

        Its a standard bad request error. Ignore the error code, look at the text. There is a a http error in there, so the problem is with the virtual server settings.

        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: OMA nightmare

          Tried as you said but no difference - if I try to connect via my browser to http://server/oma I am still getting the same error at the bottom and blank screen but with a oma.aspx extension etc.

          If I connect to http://server/exchange-oma I get OWA (not the cut down OMA).


          Thanks

          -----------------------------------

          Event Type: Error
          Event Source: MSExchangeOMA
          Event Category: (1000)
          Event ID: 1503
          Date: 02/05/2007
          Time: 01:25:36
          User: N/A
          Computer: CLPMAIL01
          Description:
          An unknown error occurred while processing the current request:
          Message: Type 'OmaAdapters.OmaXhtmlMultiLineTextBoxAdapter,Micro soft.Exchange.OMA.UserInterface' used as adapter not found. (D:\Program Files\Exchsrvr\OMA\Browse\web.config line 101)
          Source: System.Web
          Stack trace:
          at System.Web.Configuration.HttpConfigurationRecord.E valuate(String configKey, SectionRecord section)
          at System.Web.Configuration.HttpConfigurationRecord.G etConfig(String configKey, Boolean cacheResult)
          at System.Web.Configuration.HttpConfigurationRecord.G etConfig(String configKey, Boolean cacheResult)
          at System.Web.HttpContext.GetConfig(String name)
          at System.Web.UI.MobileControls.ControlsConfig.GetFro mContext(HttpContext context)
          at System.Web.UI.MobileControls.MobilePage.get_Reques tingDeviceConfig()
          at System.Web.UI.MobileControls.MobilePage.get_Adapte r()
          at System.Web.UI.MobileControls.MobilePage.OnUnload(E ventArgs e)
          at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
          at System.Web.UI.Page.ProcessRequestCleanup()
          at System.Web.UI.Page.ProcessRequest()
          at System.Web.UI.Page.ProcessRequest(HttpContext context)
          at System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
          at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)


          For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
          Simon
          -------

          Comment


          • #6
            Re: OMA nightmare

            The behaviour of exchange-oma is what I would expect. You have replaced the /exchange virtual directory, not the /oma directory. OMA makes an internal call to the OWA directory to get the data.

            However, the error you have posted is not one that I have seen before and would tend to indicate something is wrong with the files themselves.

            Are you using host headers? I have seen that cause similar problems.

            Otherwise you could be looking at reinstalling Exchange. Exchange reinstalled on top should be ok, no data will be touched. You will need to service pack it again.

            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: OMA nightmare

              What re-install would you suggest SP2?

              Yes I am using host headers. I have tried adding the NetBIOS name as one as recommended by MS.
              Simon
              -------

              Comment


              • #8
                Re: OMA nightmare

                Can you remove the host headers? If the server needs to host multiple web sites, can you use multiple IP addresses instead?

                If you have to reinstall, you will need to reinstall Exchange from the CD (add/remove programs then choose reinstall from the menus once setup has started) then the service pack. The service pack on its own will not be enough.

                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: OMA nightmare

                  Removed host headers - still the same - I guess its cd repair time - any pointers to look out for when doing this?

                  Thanks
                  Simon
                  -------

                  Comment


                  • #10
                    Re: OMA nightmare

                    Not really, bung in CD let it do its thing. Service pack immediately and then reboot. Let the users back on the 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: OMA nightmare

                      I have tried a repair and reinstalling the service packs but this didn't seem to work.

                      this is what I used for the reinstall:

                      How to Reinstall Exchange 2003 over a Damaged Installation
                      http://technet.microsoft.com/en-us/l...85978bb07.aspx

                      don't think I have rebooted the server so this might solve it...

                      otherwise any other ideas? Could it be a problem with IIS?
                      Last edited by simoncpage; 15th May 2007, 19:35.
                      Simon
                      -------

                      Comment


                      • #12
                        Re: OMA nightmare

                        A reinstall of Exchange would not fix a problem with IIS. If the problem is with IIS then you are looking at a much larger job.

                        The official supported way to deal with IIS issues is to remove Exchange, then remove IIS and reboot. Then reinstall IIS and reinstall Exchange and restore from back up.

                        A method I have used in the past through (use at your own risk) is to stop and disable all of the Exchange services.
                        Remove IIS and reboot (Exchange services still disabled).
                        Reinstall IIS, updates etc and reboot.
                        Change the Exchange services from Disabled to Automatic but do NOT start them.
                        Reinstall Exchange, service pack and then reboot.

                        However the above technique is not supported and make sure that you have a good backup.
                        If you want something supported then you will need to follow this:
                        http://support.microsoft.com/default.aspx?kbid=320202

                        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

                        Working...
                        X