SharePoint 2010

Posted on 2013-05-20
Last Modified: 2013-10-24
We have SharePoint 2010 deployed. Recently, we have a case whereby, the certain subsite was accidently deleted automatically. My boss ask me to find out who did it.

I'm googling and some comment say need to find out the log at deleteweb.aspx in IIS log. I have no idea about where to search for.
Question by:suriyaehnop
  • 3
  • 2
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39183377
if your server is Windows 2008 R2:
open IIS Manager, navigate to "Sites". In the main area you should see the list of sites. Search the entry for your SharePoint site and note the ID.
Then select then your SharePoint IIS site in the left navigation.
In the main area you should have an icon for "Logging" (6th last entry) - double click it. Now you should see the folder/root folder where IIS is logging to.

Now open that folder in Windows Explorer. It could contain all IIS sites logging therefore you can use the ID of the site (noted in the first step) to get the right subfolder.
And from here just search for the string "deleteweb.aspx" to get the line(s). The seventh column should then contain the user id.

LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39183378
Another question: could you restore the site from the SharePoint recycle bin?
LVL 18

Author Comment

ID: 39183414
HI Rainer,

The site had restored before using the command line but on Friday last weekend, it was deleted again. My boss asked me to who the culprit is? It is similiar someone sechedule the job to delete the subsite.

Is the ID changed after we did restoration? As i checked, the ID is 2197xxxxx, the logging path is %systemdrive%inetpub\logs\logfiles which is at C:\ drive.

When i went the directory, the only log available is under foldername W3SVC1819362277. 1819362277 is ID for another site not the deleted one.
LVL 44

Accepted Solution

Rainer Jeschor earned 400 total points
ID: 39183912
in your initial question you were talking about sites/subsites hence a restore should not change the ID of the IIS site (which is the SharePoint web application). Perhaps IIS logging is not enabled for that web app therefore no subfolder.
Another option could be, to run a query on the SharePoint content DB:

Important: it is not recommended nor supported from MS to access the SharePoint SQL databases directly - but in this case as you really do just ONE temporary READ so it should be OK.

LVL 18

Author Comment

ID: 39183964
The log is enabled.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Searchbox Branding 11 44
can not add ASP.NET to IIS 8 44
SharePoint sub-site searching and results. 8 32
Allow Local User to Log On FTP 8 48
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now