nick_99_98
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.
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.
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
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.Pre ferencing
Stack trace:
at Microsoft.Exchange.OMA.Pre ferencing. AdUserObje ct.FindUse rViaCreds( NetworkCre dential creds, WindowsIdentity identity)
at Microsoft.Exchange.OMA.Pre ferencing. OmaUserInf o.ClearCac he()
at Microsoft.Exchange.OMA.Pre ferencing. OmaUserInf o..ctor(Ne tworkCrede ntial creds, WindowsIdentity identity)
at Microsoft.Exchange.OMA.Pre ferencing. OmaUserInf o..ctor(Ne tworkCrede ntial creds)
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
at System.Reflection.RuntimeC onstructor Info.Inter nalInvoke( BindingFla gs invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
at System.Reflection.RuntimeC onstructor Info.Invok e(BindingF lags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateI nstanceImp l(BindingF lags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateIns tance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.Exchange.OMA.Use rInterface .Global.Se ssion_Star t(Object sender, EventArgs e)
Message: Exception of type Microsoft.Exchange.OMA.Dat aProviderI nterface.P roviderExc eption 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.Use rInterface
Stack trace:
at Microsoft.Exchange.OMA.Use rInterface .Global.Se ssion_Star t(Object sender, EventArgs e)
at System.Web.SessionState.Se ssionState Module.Rai seOnStart( EventArgs e)
at System.Web.SessionState.Se ssionState Module.Com pleteAcqui reState()
at System.Web.SessionState.Se ssionState Module.Beg inAcquireS tate(Objec t source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.AsyncEventExecu tionStep.S ystem.Web. HttpApplic ation+IExe cutionStep .Execute()
at System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously)
Is this a configuration issue or is it becuase I am usung non-standard Ports.
An unknown error occurred while processing the current request:
Message: Object reference not set to an instance of an object.
Source: Microsoft.Exchange.OMA.Pre
Stack trace:
at Microsoft.Exchange.OMA.Pre
at Microsoft.Exchange.OMA.Pre
at Microsoft.Exchange.OMA.Pre
at Microsoft.Exchange.OMA.Pre
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
at System.Reflection.RuntimeC
at System.Reflection.RuntimeC
at System.RuntimeType.CreateI
at System.Activator.CreateIns
at Microsoft.Exchange.OMA.Use
Message: Exception of type Microsoft.Exchange.OMA.Dat
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.Use
Stack trace:
at Microsoft.Exchange.OMA.Use
at System.Web.SessionState.Se
at System.Web.SessionState.Se
at System.Web.SessionState.Se
at System.Web.AsyncEventExecu
at System.Web.HttpApplication
Is this a configuration issue or is it becuase I am usung non-standard Ports.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Thanks again.