Avatar of nick_99_98
nick_99_98Flag for Canada

asked on 

OMA and Active-Sync on different ports.

Does your Default Web Site have to use Port 80 or Port 443 to be able to use Active Sync and OMA.  I am having many problems even getting OMA to work with just a browser.  OWA works fine, internal and external and with SSL or without.

I am to the point of re-installing everything and starting over but first need to know if it will work on other ports.  

I am getting the same errors as everyone else that has posted here and I have tried all solutions provided in the forums.  
Microsoft Legacy OSExchangeMicrosoft Server OS

Avatar of undefined
Last Comment
nick_99_98
Avatar of Keyguard
Keyguard

I believe the problem is more with the mobile device - I'm not sure there's any way you can change the ports that uses. Otherwise there would be no problem changing the ports on the default website. Most problems I've experienced with Activesync in the past have been related to authentication - you should set it to only use "Basic Authentication" to start with. It can also be quite touchy about how you supply the user credentials, even if you have supplied the default domain setting in IIS - I've found that with IE it often likes the username in the format username@domain.local whereas in Mobile Activesync it prefers the domain to be set separately as just DOMAIN
Avatar of nick_99_98
nick_99_98
Flag of Canada image

ASKER

Thanks for the quick response.  However trying different ways of representing the username has not seemed to make a difference.  When trying https://servername:4433/oma (i have changed the default web site to use 4433 instead of 443, and OWA works fine this way).  I am prompted for usename and password.  After entering I get the classic   A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator message.  I do have the following written into the App. Log on the Exchange Server.  
An unknown error occurred while processing the current request:
Message: Object reference not set to an instance of an object.
Source: Microsoft.Exchange.OMA.Preferencing
Stack trace:
   at Microsoft.Exchange.OMA.Preferencing.AdUserObject.FindUserViaCreds(NetworkCredential creds, WindowsIdentity identity)
   at Microsoft.Exchange.OMA.Preferencing.OmaUserInfo.ClearCache()
   at Microsoft.Exchange.OMA.Preferencing.OmaUserInfo..ctor(NetworkCredential creds, WindowsIdentity identity)
   at Microsoft.Exchange.OMA.Preferencing.OmaUserInfo..ctor(NetworkCredential creds)

Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags 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.Session_Start(Object sender, EventArgs e)

Message: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.ProviderException 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.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Is this a configuration issue or is it becuase I am usung non-standard Ports.

ASKER CERTIFIED SOLUTION
Avatar of Sembee
Sembee
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Sembee
Sembee
Flag of United Kingdom of Great Britain and Northern Ireland image

I must type quicker.

The non standard port will break things. Put it back to the default.
Make sure that you don't have require SSL enabled on either /exchange or /oma

Simon.
SOLUTION
Avatar of Keyguard
Keyguard

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of nick_99_98
nick_99_98
Flag of Canada image

ASKER

Oh I am well aware of article 817379.  Can probally do it by memory now. :)  I was afraid that it might be a port issue.  There is no FBA configured and I have many, many times ensured that /exchange and all do not have SSL required (although I do have a home grown certificate installed - boss needs to have OMA work with SSL. :(

Going to try 817379 one more time with the tips from your web site.  I had not removed the certificate form the Default web Site before tyring 817370 before.

Thanks
SOLUTION
Avatar of LeeDerbyshire
LeeDerbyshire
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of nick_99_98
nick_99_98
Flag of Canada image

ASKER

OK, thanks for all the advice.  We have multilple IP addresses available to us here.  I am going to move the OMA/AS/OWA to a differnet IP address that I can use port 80 and 443 with.  However I will not be able to do that until the weekends.

Thanks again.
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo