Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Jun 15, 2011 at 8:22 AM

Getting the following error after deploying this solution and deleting either new or existing site collection. No site is getting backed up.

Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: General
Event ID: 6875
Date:  15/06/2011
Time:  6:19:46 PM
User:  N/A
Computer: WFE01
Description:
Error loading and running event receiver Microsoft.SharePoint.Site.RecycleBin.DeleteEventReceiver in Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206. Additional information is below.

: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Sep 22, 2011 at 8:09 PM

I am receiving this same error. Funny thing is I HAD this working and now it is not. The change I made was adding another content database. New sites deleted from the new content database write to the log but the backup file is never created...?

Sep 23, 2011 at 1:08 PM

Cause of issue (now resolved) --> It was a database schema error on a new content database I had added...

see here --> http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/1e684588-da68-4932-8905-0a97bc327487