locked
WebHost failed to process a request EventID:3 RRS feed

  • Question

  • Hi guys,

    I have Exchange 2010 Server SP1 installed on Windows Server 2008 R2 x64. Both the Windows and Exchange servers are up to date installed with all of the critical and security updates from Microsoft (not including the .NET 4 framework). Everything works fine, but all of a sudden, without any changes this error started to occur on the server:

    Log Name:      Application

    Source:        System.ServiceModel 3.0.0.0

    Date:          21/12/2010 5:01:56 PM

    Event ID:      3

    Task Category: WebHost

    Level:         Error

    Keywords:      Classic

    User:          SYSTEM

    Computer:      RYEX2010SVR01.*****.corp

    Description:

    WebHost failed to process a request.

     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/27717712

     Exception: System.ServiceModel.ServiceActivationException: The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation.  The exception message is: The authentication scheme 'Negotiate:Kerberos' is not supported.. ---> System.NotSupportedException: The authentication scheme 'Negotiate:Kerberos' is not supported.

       at System.ServiceModel.Activation.MetabaseSettingsIis.RemapAuthenticationSchemes(AuthFlags flags, String[] providers)

       at System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)

       at System.ServiceModel.Channels.HttpsChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)

       at System.ServiceModel.Channels.HttpsTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)

       at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()

       at Microsoft.Exchange.Services.Wcf.MessageEncoderWithXmlDeclarationBindingElement.BuildChannelListener[TChannel](BindingContext context)

       at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()

       at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)

       at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)

       at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)

       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: 8256

     

    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-12-21T06:01:56.000000000Z" />

        <EventRecordID>851387</EventRecordID>

        <Channel>Application</Channel>

        <Computer>RYEX2010SVR01.*****.corp</Computer>

        <Security UserID="S-1-5-18" />

      </System>

      <EventData>

        <Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/27717712</Data>

        <Data>System.ServiceModel.ServiceActivationException: The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation.  The exception message is: The authentication scheme 'Negotiate:Kerberos' is not supported.. ---&gt; System.NotSupportedException: The authentication scheme 'Negotiate:Kerberos' is not supported.

       at System.ServiceModel.Activation.MetabaseSettingsIis.RemapAuthenticationSchemes(AuthFlags flags, String[] providers)

       at System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)

       at System.ServiceModel.Channels.HttpsChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)

       at System.ServiceModel.Channels.HttpsTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)

       at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()

       at Microsoft.Exchange.Services.Wcf.MessageEncoderWithXmlDeclarationBindingElement.BuildChannelListener[TChannel](BindingContext context)

       at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()

       at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)

       at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener&amp; result, Boolean supportContextSession)

       at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener&amp; result)

       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>8256</Data>

      </EventData>

    </Event>

     

    I have no idea what this is, there was nothing similar to this on the forum. Anyone out there ;) please let me know what are the possible risks if this error continues to occur, and if there is a solution for it. Thanks.


    OV
    Tuesday, December 21, 2010 6:37 AM

Answers

  • Disabling Windows Authentication on /EWS/Exchange.asmx did the trick! This folder doesn't support this kind of authentication, so that's why it was causing kerberos errors.
    OV
    • Marked as answer by Ochnav Tuesday, February 1, 2011 5:36 AM
    Tuesday, February 1, 2011 5:36 AM

All replies

  • 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.

     


    Regards Shah. MCITP, MCMA, MCTS No claims (try at your own risk)
    Tuesday, December 21, 2010 8:34 AM
  • if it not works(it should)...
    then i found a solution on net as quoted~

    "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"


    Regards Shah. MCITP, MCMA, MCTS No claims (try at your own risk)
    Tuesday, December 21, 2010 8:39 AM
  • Suhail.Pir, thanks for your response.

     

    I'll try what you suggested. Hope it works ;)


    OV
    Tuesday, December 21, 2010 8:50 AM
  • Hi,

    I tried the first suggestion, there were no Host Name entries in Bindings, so there was nothing to remove.

    The second solution didn't stop this error from occurring either.  

    Kerberos authentication is used in AD communication I think:

    The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation.  The exception message is: The authentication scheme 'Negotiate:Kerberos' is not supported.. ---> System.NotSupportedException: The authentication scheme 'Negotiate:Kerberos' is not supported.

    Maybe if I disable Windows Authentication will help to solve the problem. 


    OV
    Thursday, December 30, 2010 10:06 AM
  • Disabling Windows Authentication on /EWS/Exchange.asmx did the trick! This folder doesn't support this kind of authentication, so that's why it was causing kerberos errors.
    OV
    • Marked as answer by Ochnav Tuesday, February 1, 2011 5:36 AM
    Tuesday, February 1, 2011 5:36 AM
  • help ,怎么解决的。我也有这个问题。
    Thursday, April 21, 2011 12:52 AM
  • Then those error will go away from even viewer but lots of other things not going to work like inbox rules, move to folder..

    Tuesday, November 22, 2011 8:30 PM
  • Hello,

    this is not the solution of the problem. If you just disable Windows authentication, Webservices will not work, but error will dissapear. The correct solution is to:

    1. remove particular CAS server from load balancing (if load balanced)
    2. Remove EWS virtual directory
    3. iisreset
    4. Add EWS virtual directory again
    5. iisreset
    6. EWS should start after first request (for example sequence: $q = get-credential; Test-WebServicesConnectivity -MailboxCredential $q | fl ) 
    7. there should be no errors like these n event log
    8. Add CAS server to load balancing again (if load balanced)

    http://technet.microsoft.com/en-us/library/bb124231.aspx

    Regards


    Zbyněk

    Thursday, March 8, 2012 1:05 AM