Stop and restart specific item workflows in SharePoint 2010 Using Powershell

Stop and restart specific item workflows in SharePoint 2010 Using Powershell

While sending our company in a paperless direction, I found that as I published updated workflows to a library old versions were not only still running (as expected) but becoming corrupt, almost like they were getting “stale”. These stale workflows would behave abnormally the more I published changes to the same workflow. Since these were approval-style workflows, where various selected staff were supposed to complete task items, things weren’t getting completed, and the workflows were seeming to be sitting there,…

Read More Read More

Windows 8 Enterprise error code: 0x800F0906 “Windows couldn’t connect to the Internet to download necessary files”

Windows 8 Enterprise error code: 0x800F0906 “Windows couldn’t connect to the Internet to download necessary files”

I fought with this one for nearly 8 hours today, attempting to install SSMS from SQL 2012.  This requires that the .Net Framework 3.5 and 2.0 be activated in Windows Features.  Sure, there’s a checkbox that you “should” be able to check and everything works fine.  Well, not for me.  I check it, click OK, it tells me it needs to download files from Windows Update, I say OK, and it throws this error. Basic troubleshooting courtesy of Google says…

Read More Read More

Post BUILD videos now available online

Post BUILD videos now available online

I just returned from BUILD in Redmond, WA this past week, and I can safely say this was one of the best developer events I have ever attended!  Great content, knowledgeable speakers, an ample supply of relevant vendors, all while networking with other developers from all over the globe.  Definitely worth the trip! You can watch all videos on Channel 9 here, or by visiting http://buildwindows.com.  I’m planning on watching the ones I couldn’t attend due to watching other fantastic…

Read More Read More

Writing to the ULS in SharePoint 2010

Writing to the ULS in SharePoint 2010

Here’s a quick, easy, 3 step method to log your custom events to the ULS while writing a SharePoint 2010 solution: Add a reference to Microsoft.Office.Server (located in C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14ISAPI on your SharePoint server) Add a using statement at the top of your code like so: using Microsoft.Office.Server.Diagnostics; Add the following line wherever you want the message to appear in the ULS PortalLog.LogString(<whatever you want to put in the ULS>) See? That wasn’t so bad!

Hiding View All Site Content and Recycle Bin in SharePoint 2010

Hiding View All Site Content and Recycle Bin in SharePoint 2010

I found a lot of resources online that explain many different ways of doing this, lots of comments saying it worked for them, none of which worked for me.  I even found a tutorial online that explained how to do this using a custom permission, which works, but not when the same users have to have different permissions to underlying objects in the site.  So here’s a method that works at the Master Page level, is customizable, and doesn’t affect…

Read More Read More