5

I have enabled auditing in SharePoint 2010. I wanted to create a Report for 'Content Viewing' that should contain a list of who opened which files in SharePoint.

This worked for me in the past. But recently i am getting a timeout exception when trying to create the Reports.

Probably the logs are too big and therefore cause the timeout.What can I do to prevent this and create those Reports anyway?

3
  • Do you found any way to overcome this issue? I am getting same issue. Commented Feb 16, 2017 at 11:21
  • I unfortunately could not overcome this issue yet.
    – Alexander
    Commented Mar 6, 2017 at 12:33
  • Consider using IIS logs. There are many free tools for parsing these files, e.g. Log Parser Studio from Microsoft. stackoverflow.com/questions/48925690/…
    – mm201
    Commented Sep 4, 2020 at 0:47

1 Answer 1

1

This issue happen due to couple of reason.

  • Hardware issue, you have huge data but your hardware not supporting it.
  • You have the tons of data in Audit log which require more time to processing.

I think, if you have more than 2 months old data then trim the audit log to get the reports. Also if your hardware issue, try to upgrade it.

For trimming you can use the below command:

stsadm -o trimauditlog -url <URL name> -date <YYYYMMDD> -databasename <database name> [-databaseserver] <database server name>

For more information visit Unable to view Audit Report.

1
  • Using stsadm on Sharepoint 2010 gives Missing operation name or the operation name is invalid..
    – mm201
    Commented Sep 3, 2020 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.