The SharePoint Knowledge Collection of Cornelius J. van Dyk, an 9 x SharePoint MVP
02 August 2011
I’m Speaking at the SharePoint Connections Coast to Coast 2011 Conference in Chicago
My friend, Jason Himmelstein, and I will be presenting at this year’s SharePoint Connections Coast to Coast conference in Chicago held August 8-10 at the Hyatt Regency McCormick Place. We will also be in Las Vegas in November.
We will be bringing back our acclaimed IT-Pro Pre-Conference “SharePoint Collaboration Boot camp” plus presenting three sessions, “Heavy Metal PowerPivot”, “Time Is Money. How SharePoint Logging will Save You Both!”, and “Battle Scarred But Still Standing: A SharePoint Admin’s Tell-All”. We have updated all of these sessions to be fresh, current (Denali anyone?), and exciting so come out and see us if you’re anywhere in the Chicago area during that time.
We are also participating in a Speakers Panel for the Chicago SharePoint Users Group on Tuesday evening August 9th starting at 5:30pm. CSPUG is hosting us and will be providing pizza and lively discussion.
We hope to see you there!
Cheers
C
20 July 2011
Project Crecent demo
If you’re not excited about Project Crecent and what SQL Server “Denali” brings to the table, you should take 7 minutes to watch this video. It is sure to wet your appetite!
Cheers
C
C
13 July 2011
SharePoint performance debugging
We released a SharePoint 2010 portal to a new client today. Part of the portal design included a report center library that contained security trimmer report folders which are updated asynchronously via WCF services. In addition there was an external report center application that we wanted to link into the SharePoint UI so we simply added a Page Viewer Web part to the page that pointed to the external app.
The problem was that we were seeing major performance lag in rendering the external report app UI. When we pointed to the development server, the UI rendered slick and fast, but when we pointed back to the production server, we experienced lag again. And thus the trace/debug efforts began.
My standard rule when hunting bugs/performance issues is to “Assume NOTHING”. Always compare apples to apples and double, tripper, quadruple check everything.
Our analysis of the differences turned up the following:
- The architectural difference between the production server and the development server was that the development server had it’s SQL source local to the server while the production server had a separate SQL server it was targeting. In order to eliminate SQL Server from the equation, we pointed the development server to the production SQL data source and tested against it from the production environment. The result was fast and responsive which meant that SQL Server wasn’t the problem.
- This narrowed the problem down to the report server and the client computer. Next we compared the production and development report servers. Since both servers were virtualized, we checked the resource settings in the vSphere console. It turned out that the servers were identical except for the development server having 4 CPU cores while the production server only had 2 CPU cores. We upped the production CPU cores to 4 and rebooted the VM. Testing against the new configuration still showed slow, lagging performance in the UI rendering. That pretty much eliminated the reports servers from the equation unless one of the VMs was actually bad.
- The next step was to install Fiddler2 on the client laptop and trace the two different calls to see where the traffic was going. Fiddler did show some minor differences in header and body sizes of the HTTP calls, but not nearly enough to justify the lag we were seeing. The development server was rendering in under a second while the production server took 5-6 seconds. What struck me as curious was the fact that Fiddler was reporting that the total execution time of the HTTP call was 0.6 seconds in both cases. So where exactly did that other 5 seconds go in the case of the production server? Upon closer inspection, we noticed that the development SharePoint server had it’s properties for the Page Viewer Web Part set to point directly to the IP address of the development report server while the production SharePoint server’s Page Viewer was pointing to the report server using the FQDN instead. And that’s when it TeaKayGee’d me. The primary DNS server was flakey and after repointing to the secondary DNS server, performance was back as expected!
I was amazed at how big a difference the DNS request performance could make in this case. That’s one more item I can add to my checklist when trouble shooting SharePoint performance issues.
CheersC
10 June 2011
My interview with @buckleyplanet at #SPConn in Boston
I hung out with Christian Buckley in Boston during the SharePoint Connections Coast to Coast Conference where my friend Jason Himmelstein and I was presenting some of our sessions. During some down time, Christian interviewed me for his “One Thing” series and it just posted on YouTube. Check it out:
Cheers
C
Cheers
C
26 May 2011
Our San Antonio SharePoint Connections Boot Camp and Conference Slides
My good friend Jason Himmelstein and I just completed our San Antonio, TX stop of our speaking circuit. We promised we’d publish the slide decks from our Pre-Con Boot Camp and our three sessions at the SharePoint Connections Coast-to-Coast Tour. Here you go.
23 May 2011
Why I think the Firefox 4 designers are retarded
I’ve long since been an Internet Explorer holdout. Living daily in the SharePoint world as I do, I’ve had to stick with IE through some really bad versions. Now to be fair, what makes a version bad for ME is personal, biased and based completely on my experience with the product. Unfortunately, like I always tell my Boot Camp attendees, “Perception IS Reality!”
To an end user, that is the absolute truth and as the consumer of the browser product, I am that user… and I am VERY unforgiving. So why did I consider IE 6, 7 & 8 to be “bad”. It all revolved around one thing. The way I work. I am always browsing in a dozen different places and then opening tabs that I want to get back to later. In IE6, we didn’t even HAVE tabs. That was such an annoyance because we were forced to open multiple IE windows instead. It annoyed me to the point of writing a special app that would save your open IE windows and reload them after a reboot.
Then came IE7 and it brought with it tabs. Too bad it lost all the tabs when it crashed. At that point Firefox 3 was around with tabs and it DID restore tabs after a crash. It even had a cute little “Oops, we’re sorry” message. That was the point where many people started moving to Firefox as their main browser. I started using Firefox but IE remained my main browser. When I was browsing something I wanted to save for later, I’d do it in Firefox. When I was doing anything else I ‘d be using IE.
Next came IE8… surely they’d have fixed the tab loss bug by this point, right? Nope. To my dismay, IE still lost my tabs after a crash. At least I had a workaround in Firefox so I kept on doing that. Now I think it’s a good thing that Firefox always tries to get you to upgrade to the latest version.
But then came Firefox 4. With great fanfare I went along and upgraded to the latest version. Imagine my horror when I re-opened Firefox expecting 20 odd tabs to open and there was just the home screen!!! AAARRRGGGHHH!!! What happened? OK, I figured it must now be an optional settings somewhere. I looked for it, but I couldn’t find it in any obvious location… and I’m a developer! So if I couldn’t find it, I knew other people were having trouble too. I ended having to search the Mozilla support site to finally find the answer and here it is:
This is where everyone in their right mind would look, right? Under the “Tabs” menu… maybe something like “Restore tabs after crash” or something to that effect.

No, no, that would makes sense. Nope, it’s not under that tab. The tabs option for restoring your tabs is actually on the “General” tab. Well of course! Why didn’t I see that. If you’re like me, you’re looking at the “General” tab and saying… um… where exactly is that option? Well you have to look at the hidden dropdown values in the “When Firefox starts” item.

And change that item to be thus:

NOW Firefox is back to NORMAL and will save your tabs again. Sigh. So why my soapbox moment?
- Tabs is what MADE Firefox popular to begin with.
- I’m sure I’m not the only person on the planet that appreciated the fact it would ALWAYS recover you tabs.
- So having such great tab features, why for Pete’s sake would you go and make that an OPTIONAL settings???!!! If you have to make it an optional setting, at least turn it on by default!
- And if you’re gonna make us hunt and peck for the answer, please just put the thing where we can actually FIND it without having to waste time searching your support forum for answers and then writing long winded tirades blog posts that waste even more time!
Whoever decided to change how tabs works in 4 is… well… nuf said…
And THAT, dear reader, is why this post is titled as it is.
Point in case…

So I want to point out that IE9 finally seems to do the tabs right and correctly restores tabs in a new session… and it does it BY DEFAULT Firefox!
Cheers
C
18 May 2011
Speaking at SharePoint Connections Coast to Coast Conference 2011 in San Antonio, TX – May 23-25
My friend, Jason Himmelstein and I will be presenting at this year’s SharePoint Connections Coast to Coast conference in San Antonio held May 23-25 at the Hyatt Regency Hill County Resort & Spa. We will be teaching the ITPro Pre-Conference “SharePoint Collaboration Bootcamp” plus presenting three sessions, “Heavy Metal PowerPivot”, “Time Is Money. How SharePoint Logging will Save You Both!”, and “Wish I’d Have Known That Sooner! SharePoint Insanity Demystified”. All 3 of these sessions promise to be fresh and exciting so come out and see us if you’re anywhere in the San Antonio area during that time. We hope to see you there!
Subscribe to:
Posts (Atom)
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...
-
Ever wondered what the new SharePoint Online URLs are all about? Take for example https://cjvandyk.sharepoint.us/:x:/r/sites/Site1... What ...
-
Have you ever started creating a list view in SharePoint and because you're experimenting, you chose to make it a "Private" vi...
-
The Microsoft Authentication Library (MSAL) is a powerful library designed to simplify the authentication process for applications that conn...

