You have configured a Forms-based authentication Web Application on a Sharepoint 2010 Server.
On trying to generate an Audit report, you receive the following error:
System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
You investigate the process execution using Process Explorer ( http://technet.microsoft.com/en-us/sysinternals/bb896653 ) and notice that the process includes a lot of
Token NT AUTHORITY\IUSR:3e3
You may receive the following error in SQL:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
The knowledge base article 979917 states:
This hotfix makes a new application setting available in ASP.NET 2.0. The new application setting is 'aspnet:AllowAnonymousImpersonation'. You can enable this setting by adding the following section to the Web.config file:
<add key="aspnet:AllowAnonymousImpersonation" value="true" />
Additionally, creating a Forms-based Authentication Web Application will enable the setting and set it to true.