Ehab Salem
asked on
Cannot connect to Exchange OMA
I am trying to configure Outlook Mobile access on Exchange server 2003 SP2. When I browse to the link: https://mymailserver/oma I get the error:
Could not get URL https://mailserver/oma/
HTTP Error : 500 (Internal Server Error)
OWA is working fine on the same server.
Could not get URL https://mailserver/oma/
HTTP Error : 500 (Internal Server Error)
OWA is working fine on the same server.
ASKER
If I logon on the server itself: https://localhost/oma I get:
Server Error in '/OMA' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Access to the path "C:\WINDOWS\Microsoft.NET\ Framework\ v1.1.4322\ Temporary ASP.NET Files\oma\55aaeb43\5ef6625 7" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessE xception: Access to the path "C:\WINDOWS\Microsoft.NET\ Framework\ v1.1.4322\ Temporary ASP.NET Files\oma\55aaeb43\5ef6625 7" is denied.
Server Error in '/OMA' Application.
--------------------------
Access to the path "C:\WINDOWS\Microsoft.NET\
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessE
Are you using SSL?
Forms Based authentication?
If so then you should review
http://support.microsoft.com/default.aspx?kbid=817379
and my own take on the issue:
http://www.amset.info/exchange/mobile-85010014.asp
Simon.
Forms Based authentication?
If so then you should review
http://support.microsoft.com/default.aspx?kbid=817379
and my own take on the issue:
http://www.amset.info/exchange/mobile-85010014.asp
Simon.
ASKER
SSL yes, but no FBA.
I checked http://support.microsoft.com/kb/818486 and this is exactly my error, and went thru it.
Now I am getting a different error:
A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
And event ID 1503 in the server.
I checked http://support.microsoft.com/kb/818486 and this is exactly my error, and went thru it.
Now I am getting a different error:
A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
And event ID 1503 in the server.
Did you remove the require SSL option before doing anything? If not, then the entire process was a waste of time as you cannot have require SSL enabled.
Also ensure that you do not have asp.net 2.0 enabled for any of the exchange virtual directories in IIS Manager. It should be version 1.1 only.
Simon.
Also ensure that you do not have asp.net 2.0 enabled for any of the exchange virtual directories in IIS Manager. It should be version 1.1 only.
Simon.
ASKER
ASP.Net is ver 1.1.432
I removed the require SSL option (from OMA only) but still getting the same error, but why do i have to remove it?
I removed the require SSL option (from OMA only) but still getting the same error, but why do i have to remove it?
ASKER
In the Server Event viewer I have the ID 1503:
An unknown error occurred while processing the current request:
Message: The remote server returned an error: (403) Forbidden.
Source: Microsoft.Exchange.OMA.Exc hangeDataP rovider
Stack trace:
at Microsoft.Exchange.OMA.Exc hangeDataP rovider.Om aWebReques t.GetReque stStream()
at Microsoft.Exchange.OMA.Exc hangeDataP rovider.Ex changeServ ices.GetSp ecialFolde rs()
at Microsoft.Exchange.OMA.Exc hangeDataP rovider.Ex changeServ ices..ctor (UserInfo user)
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)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
An unknown error occurred while processing the current request:
Message: The remote server returned an error: (403) Forbidden.
Source: Microsoft.Exchange.OMA.Exc
Stack trace:
at Microsoft.Exchange.OMA.Exc
at Microsoft.Exchange.OMA.Exc
at Microsoft.Exchange.OMA.Exc
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
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the clarification. It is the SSL issue error indeed, but I removed it only from OMA, I had to remove it from the exchange as well.
This KB helped me:
http://support.microsoft.com/?id=817379
This KB helped me:
http://support.microsoft.com/?id=817379
817379 is almost required action for anyone using a single server. SBS R2 comes with the change already made.
it would be so simple if Microsoft allowed integrated authentication on the /exchange virtual directory when FBA was enabled.
Simon.
it would be so simple if Microsoft allowed integrated authentication on the /exchange virtual directory when FBA was enabled.
Simon.
ASKER
Server Error in '/OMA' 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="mycustomp
</system.web>
</configuration>