Creating custom list event receivers in SharePoint 2007

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.

Continue reading

Troubleshooting Sharepoint error: Exception from HRESULT: 0x81070215

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. Continue reading

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

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.

Continue reading