Exchange 2010 - OWA Can't Delete Mails - An Unexpected Error occured and your requeste couldn't be handled
When I try and and delete anything in my mailbox using OWA I get an "An Unexpected Error occured and your requeste couldn't be handled".
Upon looking in the event log I find the following:
Log Name: Application
Source: System.ServiceModel 3.0.0.0
Date: 21/09/2010 18:10:00
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: SYSTEM
Computer: exchange2010.nameremoved.co.uk
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/30542218
Exception: System.ServiceModel.ServiceActivationException: The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'http://exchange2010.nameremove.co.uk/EWS/Exchange.asmx'.
If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
. ---> System.InvalidOperationException: A binding instance has already been associated to listen URI 'http://exchange2010.nameremove.co.uk/EWS/Exchange.asmx'. If two endpoints want to share the same ListenUri, they must also share the same binding object
instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 2012
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="System.ServiceModel 3.0.0.0" />
<EventID Qualifiers="49154">3</EventID>
<Level>2</Level>
<Task>5</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-09-21T17:10:00.000000000Z" />
<EventRecordID>34125</EventRecordID>
<Channel>Application</Channel>
<Computer>exchange2010.dartford.gov.uk</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/30542218</Data>
<Data>System.ServiceModel.ServiceActivationException: The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen
URI 'http://exchange2010.nameremove.co.uk/EWS/Exchange.asmx'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a
config file, or a combination of AddServiceEndpoint() and config. . ---> System.InvalidOperationException: A binding instance has already been associated to listen URI 'http://exchange2010.nameremove.co.uk/EWS/Exchange.asmx'. If two endpoints want to
share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)</Data>
<Data>w3wp</Data>
<Data>2012</Data>
</EventData>
</Event>
I also get this event log error:
Log Name: Application
Source: MSExchange OWA
Date: 21/09/2010 18:22:05
Event ID: 108
Task Category: Configuration
Level: Error
Keywords: Classic
User: N/A
Computer: exchange2010.nameremoved.co.uk
Description:
Outlook Web App couldn't connect Exchange Web Services due to a configuration error. Response code = "500".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange OWA" />
<EventID Qualifiers="49152">108</EventID>
<Level>2</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-09-21T17:22:05.000000000Z" />
<EventRecordID>34130</EventRecordID>
<Channel>Application</Channel>
<Computer>exchange2010.nameremoved.co.uk</Computer>
<Security />
</System>
<EventData>
<Data>500</Data>
</EventData>
</Event>
September 22nd, 2010 10:52am
Apologies, I will post in the Exchange 2010 forums as well.
Yes this is Exchange 2010 with SP1. As far as I can tell it did happen since applying SP1. All users have the problem.
I have checked the bindings are there are no host names specified.
The ExBPA comes back with nothing unusual.
September 23rd, 2010 6:11am
I'm facing the same problem since SP1
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2010 2:26am
I had same issue, but all the user. the new user is ok. but old user have issue.
No one have fix yet?
October 29th, 2010 12:19pm
This worked for me also. Make sure you run an IISRESET in order for the changes to take affect. You can do that or just restart the World Wide Web service.
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2010 3:40pm
Ok, this only worked temporarly. As long as I remove the host address from my IIS bindings, this works. The problem with removing the host address is my Exchange Admin Console won't load until I put the bindings back in. There are so many posts on the
internet about this problem and yet I don't see anyone (Microsoft) offering a solution.
January 5th, 2011 10:49am
Hi,
can you give me more Infos? How you fixed this???
Many Greetings,
Manuel
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 2:53am
I guess too many issue would cause this problem .
like web.config and permission ....
But only your one worked for me , so thank you very much
I actualy added 2 https header I guess it wasnt good ;)
September 9th, 2011 6:40pm
removing bindings with host name has fixed the issue for me. thanks a lot
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2011 3:54am
Having same issue and all the quoted solution just not working for me, mine has to do with all users not been able to click reply. They get this error below, nut it is asking for valid domain name.
An unexpected error occurred and your request couldn't be handled.
Request
Url: https://intranet.jaizbankplc.com:443/owa/?ae=PreFormAction&a=Reply&t=IPM.Note&id=RgAAAADdLIjMFCetSID7SIuJTzRoBwBr2%2bcoZdLKR5P0l2okqOPCAAAAsDW3AABr2%2bcoZdLKR5P0l2okqOPCAAAAsaCEAAAJ&pspid=_1324227270192_724854831
User host address: 41.184.0.52
User: bellz consulting
EX Address: /o=Jaiz/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=bellz consulting
SMTP Address: bellz.consulting@jaizbankplc.com
OWA version: 14.1.218.13
Mailbox server: JZ-SRV-005.jaiz.local
Exception
Exception type: System.ArgumentException
Exception message: imceaDomain must be a valid domain name.
Call stack
Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain)
Microsoft.Exchange.Data.Storage.InboundConversionOptions..ctor(String imceaDomain)
Microsoft.Exchange.Clients.Owa.Core.Utilities.CreateInboundConversionOptions(UserContext userContext)
Microsoft.Exchange.Clients.Owa.Core.ReplyForwardUtilities.CreateReplyOrReplyAllItem(BodyFormat bodyFormat, Item item, ReplyForwardFlags flags, Boolean replyAll, UserContext userContext, StoreObjectId parentFolderId)
Microsoft.Exchange.Clients.Owa.Core.ReplyForwardUtilities.CreateReplyItem(BodyFormat bodyFormat, Item item, ReplyForwardFlags flags, UserContext userContext, StoreObjectId parentFolderId)
Microsoft.Exchange.Clients.Owa.Premium.Controls.ItemReplyPreFormAction.Execute(OwaContext owaContext, ApplicationElement& applicationElement, String& type, String& state, String& action)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DoFinalDispatch(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnPostAuthorizeRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
December 18th, 2011 11:56am
did you find any solution coz i have the same issue with load balancer
Free Windows Admin Tool Kit Click here and download it now
January 9th, 2012 7:00am
Exchange SP1 rollup 6
Same Issue here -- removed Host name from bindings worked for a day -- then stopped working (OWA will not delete email)
Owa light works.
First get Event ID 3 on the CAS Server
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/30542218
Exception: System.ServiceModel.ServiceActivationException: The service '/EWS/exchange.asmx' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'http://xxxxx.root.local/EWS/Exchange.asmx'.
If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
. ---> System.InvalidOperationException: A binding instance has already been associated to listen URI 'http://napca01.root.local/EWS/Exchange.asmx'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance.
The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
then Event 108
Outlook Web App couldn't connect Exchange Web Services due to a configuration error. Response code = "500".
Bindings are simply http/https with no host names.
Any Help would be appreciated.
February 1st, 2012 1:36pm
Same issue with F5's and the EWS directory.
Did you guys manage to find a work around for this please.
Ta
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2012 9:30am
My Issue was in the config file -- Unfortunately my 3rd party spam provider edited my config and that fixed it - not sure what was changed - will repost if i find the change.
August 9th, 2012 11:08am
This IIS permission config worked for me.
Thanks Arnaud.
For the subfolder ecp :
anonymous : disabled basic : enabled digest : disabled Forms : disabled Windows : enabled ASP.NET : disabled
For the subfolder EWS :
anonymous : enabled basic : enabled digest : disabled Forms : disabled Windows : enabled ASP.NET : disabled
For the subfolder owa :
anonymous : disabled basic : enabled digest : disabled Forms : disabled Windows : enabled ASP.NET : disabled Soner Dinc
Free Windows Admin Tool Kit Click here and download it now
October 6th, 2012 5:09pm
Worked for me . ThanksSoner Dinc
October 6th, 2012 5:11pm