OMA problem - Event ID: 1503 Source: MSExchangeOMA

Hi guys

I'm desperate for help with this issue, as I've got a number of people asking why OMA isn't working.  I'm running SBS 2003 with exchange and sharepoint (including v3).  I've checked that all the IIS settings and HTTP protocol settings reconcile with all KB articles that I've come accross, as far as I'm aware (disable Forms Based Authentication, no SSL, correct authentication on all virtual sites etc.).  I'm getting the following error in event viewer, which I  believe is some sort of issue with .NET 1.1?

When I navigate to http://server/oma I get a blank page with the following message:

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

OWA works perfectly when using https, however a few errors are displayed on the page when http, although it's still operational.  I'm assuming that it's ok for companyweb and default web site to operate through the same port?  The IP address of companyweb is defined as the server, however default web site is [All Unassigned].  

I didn't set this server up, so not quite sure what's been done.  Unfortunately a clean install is not an option.

Any suggestions would be much appreciated, it's driving me mad!

Many thanks

Event Type:	Error
Event Source:	MSExchangeOMA
Event Category:	(1000)
Event ID:	1503
Date:		14/05/2009
Time:		11:20:23
User:		N/A
Computer:	SERVER
An unknown error occurred while processing the current request:
Message: Item has already been added.  Key in dictionary: "AspCookielessSession"  Key being added: "AspCookielessSession"
Source: mscorlib
Stack trace:
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at System.Web.SessionState.SessionStateModule.OnBeginRequest(Object source, EventArgs eventArgs)
   at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
For more information, see Help and Support Center at

Open in new window

Who is Participating?

Improve company productivity with a Business Account.Sign Up

jonesgilesConnect With a Mentor Author Commented:
I resolved the above by replacing the web.config from another SBS 2003 box.  I decided to give this a go as it was an ASP.NET issue.  I also didn't have the application names and pools set correctly for all of the virtual servers.  It seems to be an issue that was caused by the installation of .NET 2x.

I'm now able to naviage to //server/exchange and //server/oma through IE, however am now receiving a slightly different error when attempting to sync with with a mobile device.
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
jonesgilesAuthor Commented:
Many thanks for the link.  I've tried the majority of the suggestions with no luck, i'm afraid.  How do I check if I have a host header set for the website managing Exchange web access?

I tried:
"Damien Genbrugge (Last update 1/26/2008):
We encountered this event after changing the IP-address of our Exchange-server. We forgot to change the IP-restrictions on the "Exchange-OMA" virtual directory in IIS. Changing to the correct IP resolved the issue.

Anonymous (Last update 9/16/2007):
In my case, this problem occurs if a host header is set for the website managing Exchange web access.

Ben Weeks (Last update 2/20/2007):
"EventID 1101 from source MSExchangeOMA" may prove useful in solving this problem.

Anonymous (Last update 3/27/2006):
I had this same issue and it ended up being caused by my dual nic setup. I disabled the second nic and it worked fine.

Jens Haase (Last update 12/12/2005):
This event occurred after a SP2 installation on a Server where CRM was also installed. The following resolution helped. Edit the web.config File in the \Program Files\Exchsrvr\OMA\Browse directory and search for a line:

<sessionState mode="InProc"/>

Then add the following line in a new line above this line:

<pages enableSessionState="true"/>. "

However received the following error message when navigating to http://server/oma:

"Parser Error Message: Sections must only appear once per config file. See the help topic <location> for exceptions.

Source Error:

Line 110:              To disable cookies, set sessionState cookieless="true".
Line 111:      -->
Line 112:            <pages enableSessionState="true"/>
Line 113:            <sessionState mode="InProc" cookieless="true" timeout="20" />
Line 114:            <mobileControls SessionStateHistorySize="8">"

Thanks again for your suggestions, any comments on the above would be much appreciated.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.