aarebrot.net Frode's blog on Sharepoint and other stuff

Creating custom list event receivers in SharePoint 2007

Posted on August 11, 2010
VN:F [1.9.22_1171]
Rating: 5.0/5 (3 votes cast)

I'm working on a project these days where the requirements are to store a bunch of files in a document library, and then sync "published" files to another document library. We're probably going to end up using workflows to accomplish this because we only want approved documents to be synced. Right now however we're just in the elaboration stage of the project, so I was looking into whipping up a quick and easy way to sync files between document libraries. I chose the most obvious way, which was using list event receivers.

Troubleshooting Sharepoint error: Exception from HRESULT: 0x81070215

Posted on August 10, 2010
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

I just came across this error when activating a feature with a list template and list instance. Basically I hit the Activate button and was greeted by this less than friendly error message. If you've read my previous post on troubleshooting errors in SharePoint, you'll know that the first thing I did was to crack open the tracelogs.

Access denied error when creating a Document Library from a custom List Definition

Posted on July 30, 2010
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

I just ran into an issue that I'm pretty sure I also had about a year ago, but failed to write down then. I guess I'll have to write it down this time. I'm creating a custom list definition and after I deployed the solution and instantiated the list I got an error saying "Access denied. You do not have permission to perform this action or access this resource.", even though the permissions is set to inherit and I am the site owner and have full control.