Tim Elhajj

Off the Microsoft stack!

Has the TFS 2010 SharePoint Configuration Tool Crashed on You with An Unknown Error?



If you are having a problem with the TFS 2010 MOSS Configuration tool crashing when you try to configure MOSS 2010, you may be able to use this workaround to get it to work.

The problem is a CLR .NET 3.5 bug (fixed in newer versions of .Net Framework), but it doesn’t always appear and it’s not clear to me exactly what causes the problem. The first time I tired to use the tool, it worked flawlessly. But then when I rolled back my vm to capture my efforts on video, I couldn’t get the tool to work. Exact same environment, but this time with 100% more frustration. Fortunately for me, I have access to the developer who created the tool. Fortunately for you, I love to share.

The developer who figured out this workaround is a really smart person who doesn’t mind rolling up her sleeves for some old fashioned troubleshooting. You perform the procedure on the computer running MOSS 2010 (this workaround is only for MOSS 2010). What will the workaround do to your server? Good question. The ngen tool (step 3) creates native images of code to improve the performance of managed applications. When you uninstall the image, you’re forcing the tool to compile the code at run time. You won’t notice the performance hit.

TFS 2010 MOSS Configuration Tool Workaround for MOSS 2010

open a cmd prompt with admin privilege

  1. Open a CMD prompt with administrative privilege.
  2. Cd to this location*: %systemdrive%\Windows\Microsoft.NET\Framework64\v2.0.50727
  3. Run this command: ngen uninstall “Microsoft.SqlServer.OlapEnum, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91”

*If you’re on a 32 bit machine, you may have to adjust the location to “Framework” instead of “Framework64”.

Author: Tim Elhajj

Tim is probably walking his dog.

8 thoughts on “Has the TFS 2010 SharePoint Configuration Tool Crashed on You with An Unknown Error?

  1. Pingback: May 9, 2011 – Visual Studio and TFS Daily | Learn TFS

  2. Pingback: How to Install and Configure MOSS 2010 for TFS 2010 « Tim Elhajj

  3. Pingback: VS ALM Library Updates on MSDN for May 2011 - MSDN Blogs

  4. Thanks for your comments Tim,
    FYI… Tried the Team Foundation Server 2010 MOSS Configuration Tool and it would not work. Crashed… Saw your blog article, followed it to the T- No Love!

    HI Tim,
    Please see my comments on the team foundation sever configuration tool page.
    Under Victor1Smith. The workaround on your blog is not working for me.

  5. Hi Victor! Sorry to see you had a rough time with the tool. You can try the manual steps, if you like. I have a post and a video about how to do it. Not too difficult. Go here: https://elhajj.wordpress.com/2011/07/01/manually-configure-moss-2010-for-tfs-2010/

  6. Victor, I see from your post on the gallery that you have found a solution. I’m so pleased! You’re raising a good point about the Enterprise version of MOSS requirement. I’d like to clarify the issue, if I can. TFS only requires MOSS enterprise (and the special configurations to setup excel services) to enable the groovy whiz-bang dashboards that use Excel reports.

    You can still use MOSS 2007/2010 Standard (or WSS 3.0), but if you do, you get a different dashboard experience that’s maybe a little less exciting, but only relies on SQL Server reports. For these SharePoint products, TFS requires no special configuration beyond the normal install/provision SharePoint that TFS has always required.

    Hopefully that clears things up a bit. Here is the topic on MSDN that talks about the Enterprise requirement for dashboards: http://msdn.microsoft.com/en-us/library/dd578615.aspx

  7. Thanks Tim,
    I understand that Enterprise is not a requirement. The excel services check box was missing for me when I tried the manual install video. (That was a lifesaver)….
    When I googled that, I found others that had it missing and that is what prompted me to do the update. Since I have the Enterprise version of MOSS 2010 but had never installed it before, I did not know that I had to upgrade the install after the initial install to get enterprise. When I did upgrade, I saw the excel option. Got a thought to try the MOSS 2010 config tool again after upgrading to enterprise and the tool did not crash but worked perfectly.
    Since enterprise is not a requirement, a check in the tool or a bug fix would surely help others doing the full setup for the first time.

    If that is really the problem, the tool should check for that and handle it or either warn the installer if it Enterprise is really needed for the tool to run so it does not just crash.

    I bet that is why the developer has not been able to replacate the issue.

    Anyway… Thank you for your videos and comments. Thanks Smitha as well for your tool.

    You guys have helped my company launch our product on a firm foundation. Important is that TFS in this full setup can enable so many small tech startups ( http://www.cardjolt.com ) like my own to do Lean Startup (Eric Ries), you should promote it more across development platforms.

    You can’t beat the complete integration, I know this from being in the industry over 20 years developing software applications.

  8. Because I work at Microsoft and get my products through internal channels, I don’t have a lot of visibility into licensing and how those types of issues impact the install experience. Thanks for pointing this out. It’s one of those niggling little problems that’s hard to nail down in instructional writing.

    I’m pleased the video was helpful. Thanks for the kind words! I will pass on your gratitude to Smitha, who I’m sure will be thrilled.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s