MCPBlog

November 2009 - Posts

Installing Team Foundation Server 2008 on Windows 2008 and SQL 2008
Body:

Today I have decided to deploy Team Foundation Server 2008 into my production environment, and imagine what? Yeeeees I run into a lot of problems. But presumably as I'm writing this post I've managed to solve them.

So, if you want to do straightforward installations of TFS follow these steps:

Environment

  • Account <domain>\tfsadmin in as regular user
  • Platform: Windows Server 2008 with SP2 x86
    • .NET 3.5 installed
    • IIS installed
    • Add <domain>\tfsadmin into local admins
  • SQL 2008 Standard (without SP1 !!!!)
    • Services are running under <domain>\tfsadmin
  • Log in as different user with local admin privileges

TFS SP1 slipstreaming

Than simply run setup from TFSwithSP1. From there you'll find that installation is pretty much simple. Keep in mind that you have to use TFSADMIN account during installation. Happy Teaming.

Category: ASP.net
Published: 30.11.2009 20:01
Posted: Nov 30 2009, 08:01 PM by MCPblog: Posts
Filed under:
Activate Site Directory in Sharepoint Server 2010
Body:

If you are playing with enterprise features of Sharepoint 2010 you have probably noticed that Site Directory template is missing. Site directory has been intentionally hidden because of compatibility issues with upgrade process between 2007 and 2010.

If you want to "enable it" simply follow these steps.

  • Browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML
  • Open webtempsps.xml
  • Find section for Site Directory and change Hidden value
    <Template Name="SPSSITES" ID="34">
    <Configuration ID="0" Title="Site Directory" Type="0" Hidden="FALSE" ImageUrl="/_layouts/1033/images/template_site_dir.png" Description="A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map." DisplayCategory="Enterprise" VisibilityFeatureDependency="5F3B0127-2F1D-4cfd-8DD2-85AD1FB00BFC">
  • After that open command prompt and browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
  • Run following command:
    stsadm.exe -o activatefeature -id 5F3B0127-2F1D-4cfd-8DD2-85AD1FB00BFC –url http://yoursite

After that go to your site URL and create new site and you'll see "Site Directory"

 

Category: Sharepoint
Published: 24.11.2009 12:08
“allowInsecureTransport” error during installation Sharepoint 2010 Beta
Body:

If you run into problem during running of Sharepoint 2010 Configuration wizard that reports error:

Failed to create sample data.
An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Additional exception information: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)

Simply do the following:

  • Uninstall Sharepoint 2010 and anything you installed regarding Sharepoint after (Sharepoint will remove SQL 2008 Express, not full SQL).
    • In case you used full SQL check for any additional bases
  • Run the install again, but STOP at the Configuration Wizard step!!!
  • On Windows Server 2008 right click Notepad and run it as Administrator,
  • Navigate notepad to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\",
  • Choose All files as file type,
  • Open file "client.config",
  • Delete two instances of "allowInsecureTransport" tag (mind the spaces and containing tag).
  • Proceed with Configuration Wizard.

I'm not sure what thing does but Wizard manages to complete successfully :)

Category: Sharepoint
Published: 17.11.2009 13:13