Solved

SharePoint 2010

Posted on 2013-05-20
5
159 Views
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.
0
Comment
Question by:suriyaehnop
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39183377
Hi,
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.

HTH
Rainer
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39183378
Another question: could you restore the site from the SharePoint recycle bin?
http://technet.microsoft.com/en-us/library/hh272539%28v=office.14%29.aspx
0
 
LVL 18

Author Comment

by:suriyaehnop
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.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 400 total points
ID: 39183912
Hi,
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:
http://wssmossstuff.blogspot.de/2012/04/who-deleted-that-web-site.html

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.

HTH
Rainer
0
 
LVL 18

Author Comment

by:suriyaehnop
ID: 39183964
The log is enabled.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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