19 April 2011

SharePoint Foundation Logger RTW!!!

We are proud to release SPFlogger to the world wide web as Open Source on Codeplex under the GPL! Ever wondered what those CorrelationIDs in SharePoint error messages are all about?  SPFLogger demystifies the SharePoint logging database and unearths the treasure of information captured therein.  This tool will show you the true power of SharePoint 2010’s new logging capability.spflogger

A brief overview

With 3 areas of focus (NT Event Log, ULS Trace Logs, and Timer Job Logs) SPFLogger helps you to identify:
  • what errors are occurring in your environment
  • a frequency of occurrence of errors
  • drill into specific Correlation IDs
  • review Timer Job logs and their frequency
This Silverlight RIA Services application can be in an IIS Web Site directly on your SharePoint Server and with minimal configuration be providing you with invaluable data about your SharePoint 2010 farm in a matter of minutes.

Cheers
C

05 April 2011

Speaking at SharePoint Connections 2011 in Boston

image_9_52C29BC8

My friend, Jason Himmelstein, and I will be presenting some exciting sessions at this year’s SharePoint Connections Coast to Coast conference in Boston held April 25-27 at the Marriott Long Wharf. We will be presenting two sessions, “Heavy Metal PowerPivot” and “SharePoint Logging – The Undiscovered Country”. Both sessions promise to be fresh and exciting so come on out and see us if you’re anywhere near the Boston area during that time. We’d love to see ya!

















Cheers
C

11 March 2011

SharePoint Versions Table updated for the Feb 2011 CU



I have updated the Versions Table with the latest Feb 2011 Cumulative Update information. The Server 2010 download is not available yet, but the location is correct, so just check back regularly.



Cheers
C

20 February 2011

Now powered by SharePoint Foundation 2010



The ice storm the other day not only knocked out my servers but also caused one of my raid arrays to die and temporarily take this blog down. I decided to pull forward my migration plans for the blog. I had planned to migrate my blog to SharePoint 2010 in the spring, but Icepocalypse 2011 forced me to bring those plans forward.

My blog used to run on an old server (physical hardware) that was 4 years old. I had actually gone through the process of virtualizing it 2 years ago and I had it running on Virtual PC on top of a Window Server 2008 R2 machine at the time. When the raid array died, I was forced to revert to the previous night’s backup of the VM.

Since the 4 year old server died, I had to temporarily host the blog on the next server in the Datacenter. Unfortunately, that was only a single core (Oh my gosh!!! ) Pentium 4 CPU at 2.8 GHz with a mere 2 GB of RAM that was (gasp!) 9 years old!!! Since the blog was a VM, I was able to simply move the VHD over to the server and install Virtual PC and point it to the VHD and we were in business again. I was only able to give the blog 1 GB of RAM so performance was a little slow.

I’ve since upgraded my datacenter and got a brand spanking new server. The 8 core Intel i7 950 CPU running at 3.7 GHz with 24 GB of RAM and several TB of hard drive space over multiple disks, was humming along nicely. I gave the new blog server 2 dedicated cores and 4 GB of RAM and now the blog is humming along like a top.

Have I mentioned how much I love virtualization lately?

Cheers
C

25 January 2011

How do I – Get A Process ID in C#

Got this question recently… answer is by simply using the System.Diagnostics namespace…
System.Diagnostics.Process.GetProcessesByName("ProcessName")[0].Id;


Cheers
C

18 January 2011

Using the YEAR from a Date column in a calculated column in SharePoint

I got this question from someone on the forums and thought it might be worth reposting to my blog for later reference as well.
The question:
Hello – I have an out-of-the box date column titled, “Departure Date” which renders values in the format, ‘DD/MM/YYYY’. I want to be able to filter by Year only so I believe the easiest way to accomplish this is to create a calculated column titled, Year and populate that column with the YYYY values from the Departure Date column. I tried using several formulas but so far have been unsuccessful. I’m currently using this formula, “=TEXT(YEAR([Departure Date]),”YYYY”)” for the calculation value and the value comes up as “1905”…? Help!
Now this one made me scratch my head for a minute and then I fired up my trusty “Calculated Column Debugger”… Excel!!!
USEFUL TIP:  ALMOST ANY FORMULA YOU CAN PUT TOGETHER IN EXCEL, YOU CAN COPY TO A SHAREPOINT CALCULATED COLUMN AND IT SHOULD WORK JUST FINE.
I copied the formula over to an Excel cell and put a date in another cell to reference and sure enough… I got 1905 too!  Then just looking at the formatting options for the TEXT method and the YEAR method, I was able to deduce the answer thus…
The answer:
The problem is that you’re doubling up on methods by passing the result from YEAR to the TEXT method. Either of the following should work just fine:
  • =TEXT([Departure Date], “yyyy”)
or
  • =YEAR([Departure Date])
Because the TEXT method is expecting a DATE value to be passed, but the YEAR method is returning a TEXT value, it confuses the TEXT method which doesn’t know how to interpret the value and thus produces the weird result you saw.


Cheers
C

SharePoint Remote Event Receivers are DEAD!!!

 Well, the time has finally come.  It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...