Event ID 3

KB ID 0000341 

Problem

Event ID 3

Source: SystemServiceModel

Error: WebHost failed to process a request. Sender Information.

Exception: System.ServiceModel.ServiceActivationException: The service ‘/EWS/exchange.asmx’ cannot be activated due to an exception during compilation.  The exception message is: Security settings for this service require ‘Anonymous’ Authentication but it is not enabled for the IIS application that hosts this service.. —> System.NotSupportedException: Security settings for this service require ‘Anonymous’ Authentication but it is not enabled for the IIS application that hosts this service.

It’s simple permissions error in IIS.

Solution

1. Locate the Virtual Directory in the error message, in the example above that the EWS virtual directory. (Exchange Web Services).

2. Click Start > Administrative Tools > Internet Information Services (IIS) Manager > Expand Sites > Default Web sites > locate the problem virtual directory > Select it then open authentication.

3. Make sure “Anonymous Authentication” is set to enabled.

4. Then restart web services, click Start > in the run/search box type cmd{enter} > Execute the following command,

[box]iisreset /noforce[/box]

Related Articles, References, Credits, or External Links

NA