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

Creating event receivers in SharePoint 2007 with WSP builder

Posted on August 18, 2010
VN:F [1.9.22_1171]
Rating: 3.0/5 (2 votes cast)

In my last post I described how to create a list event receiver. However it assumed some pre-existing knowledge of to to build and wrap wsp solutions together. I realized that maybe I should have described the actual process of building the solution as well, because some newcomers may not be familiar with that part.

Finding the strong name of an assembly

Posted on August 18, 2010
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Sometimes when you're developing things for SharePoint, you need to reference the strong name of your assembly. It's not inherently obvious how to do this, so here's a quick heads on how to use Reflector to do it. First head over to Red Gate's website and download Reflector if you don't already have it installed.

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.