• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

SharePoint 2010

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
suriyaehnop
Asked:
suriyaehnop
  • 3
  • 2
1 Solution
 
Rainer JeschorCommented:
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
 
Rainer JeschorCommented:
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
 
suriyaehnopAuthor Commented:
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
 
Rainer JeschorCommented:
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
 
suriyaehnopAuthor Commented:
The log is enabled.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now