Do you remember my post about problems with BreakRoleInheritance in SharePoint 2007 (here)? There were errors messages that I didn’t dispose SPSite and SPWeb objects after usage. Partially I was able to solve it with some changes in my code, but there’re still...
SharePoint
Cannot connect to the configuration database.
Today I’ve faced strange problem and I spent a few hours to solve it. I’ve installed my new SharePoint 2010 sever for development – nothing special. But when I created first top level site and try to display it http://ServerName I get error: ”Cannot connect to the...
Can’t find record center (SharePoint)
I spent a lot of time to discover why I get error when I try send document to SharePoint record center. I was able to get there, and also when I use link which I enter in Central Administration, this link used in browser displayed web service option. But when I try to...
Problem with SendEmail in SharePoint workflow.
Recently I had strange problem. I’ve created workflow with Visual studio 2008 which and I would like to use Workflow component: “SendEmail” for some cases. And if I enter directly into component email address for field: “TO” the message will be delivered. But if I use...
BreakRoleInheritance and Dispose
I've wrote some piece of code which was used to clear security setting on item level in the library: private void UsunDziedziczenieUprawnien_ExecuteCode(object sender, EventArgs e) { using (SPSite site = new SPSite (workflowProperties.SiteId)) { using (SPWeb web =...
How to deploy custom Workflow to Microsoft SharePoint Office Server 2007 64 bit.
I spent many hours to find how to deploy my custom workflow to Moss2007 64 bit. All manuals had always something missing. So If you’re lost, you can try this procedure, meaby it will for you 🙂 . I made my project with VSTO 2008. 1. I use WSPbuilder. I’ve installed it...