Solved

SharePoint 2010

Posted on 2013-05-20
5
156 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

13 Experts available now in Live!

Get 1:1 Help Now