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:54am
Hi marcrp,
The Exchange 2010 Forum is the right place to seek the solution:
http://social.technet.microsoft.com/Forums/en/exchange2010/threads
Are you running Exchange 2010 SP1? And the error appears after you install the Exchange 2010 SP1?
Do all the users have the same problem?
Please check the IIS Manager->Default Web Site->Actions->Bindings...
If there is a Host name existed, remove it and run IISreset /noforce.
Please also run the ExBPA in the Toolbox to do a system check.Frank Wang
September 23rd, 2010 6:08am
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.
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2010 6:14am
I'm facing the same problem since SP1
October 19th, 2010 2:31am
I had same issue, but all the user. the new user is ok. but old user have issue.
No one have fix yet?
Free Windows Admin Tool Kit Click here and download it now
October 29th, 2010 12:25pm
A hours and hours, i find the issue (for me)
In my case, i had to modify the authentification parameters in IIS management console.
Caution : i'm not talking about files and folder permissions but the Authentification icon in iis management console when you click on each subfolder.
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
And it works, i can delete / move messages in owa !!
I think that if you use Form authentification, you need to disable Basic and enable forms in those three subfolders.
Arnaud
December 1st, 2010 11:34am
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:46pm
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:54am
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:57am
setting permission for EWS only worked for me. I think this stopped working after i set EWS to basic authentication to enable BIS to work for blackberry users.
For the subfolder EWS :
anonymous : enabled basic : enabled digest : disabled Forms : disabled Windows : enabled ASP.NET : disabled
March 18th, 2011 11:17am