Note that there are some explanatory texts on larger screens.

plurals
  1. POThe following exception was thrown by the web event provider 'EventLogProvider'
    text
    copied!<p>I can't get a new ASP.NET 4.0 application to work on IIS 7, in Windows 2008 R2. All I can see in my event log is the below error. I can't seem to find any information about what it means, can anybody help?</p> <pre><code>Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 11/27/2011 4:22:13 PM Event ID: 1301 Task Category: Web Event Level: Error Keywords: Classic User: N/A Computer: [myserver].[mydomain].com Description: The following exception was thrown by the web event provider 'EventLogProvider' in the application '/[myapp]' (in an application lifetime a maximum of one exception will be logged per provider instance): System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.Principal.WindowsIdentity.get_AuthenticationType() at System.Web.Management.EventLogWebEventProvider.AddWebRequestInformationDataFields(ArrayList dataFields, WebRequestInformation reqInfo) at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised) at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1) Event Xml: &lt;Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt; &lt;System&gt; &lt;Provider Name="ASP.NET 4.0.30319.0" /&gt; &lt;EventID Qualifiers="49152"&gt;1301&lt;/EventID&gt; &lt;Level&gt;2&lt;/Level&gt; &lt;Task&gt;3&lt;/Task&gt; &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt; &lt;TimeCreated SystemTime="2011-11-27T21:22:13.000000000Z" /&gt; &lt;EventRecordID&gt;1357&lt;/EventRecordID&gt; &lt;Channel&gt;Application&lt;/Channel&gt; &lt;Computer&gt;[myserver].[mydomain].com&lt;/Computer&gt; &lt;Security /&gt; &lt;/System&gt; &lt;EventData&gt; &lt;Data&gt;EventLogProvider&lt;/Data&gt; &lt;Data&gt;/[MyApp]&lt;/Data&gt; &lt;Data&gt;System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.Principal.WindowsIdentity.get_AuthenticationType() at System.Web.Management.EventLogWebEventProvider.AddWebRequestInformationDataFields(ArrayList dataFields, WebRequestInformation reqInfo) at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised) at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1)&lt;/Data&gt; &lt;/EventData&gt; &lt;/Event&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload