Skip to main content

MCPblog

Go Search
Home
  

Other Blogs
There are no items in this list.
MCPblog > Categories
TFS 2008 convert Workgroup license to Standard

If you have installed Team Foundation Server 2008 Workgroup edition than you may or may not know that you are eligible to only 5 licensed users. To unlock full potential of TFS for > 6 users you need to convert your product to Standard Edition.

Of course you need to have Standar Edition license, or if you have MSDN subscription, you can get it from there. Technet user, don't bother to look on technet since TFS is not available via technet. Microsoft Partners (Regular or Gold) will have to browse their DVD's or MSDN.

If you have key keep reading.

Go to add/remove programs, find TFS and select Change/Remove button:

Maintenance mode Options page will appear and you'll find that PID field is been prepopulated with some key. Don't be happy, because this is workgroup edition key!!! Silly, isn't it.

Problem is that setup.sdb file is been prepopulated with this key, and you need to delete PID section from this file. File can be found at:

C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Microsoft Visual Studio 2008 Team Foundation Server - ENU\Setup.stb

Open it with Notepad, find and delete section Product key (both rows), and save changes.

Restart maintenance mode via "change/remove" and the fields are enabled. Type new product key, and press Next.

To verify version of TFS open registry (regedit.exe) and browse to:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > VisualStudio > 9.0 > TeamFoundation > Registration

You'll find a value named, "Edition_CT", Here's the table of available values to determine which edition you have:

  • "Full" = Team Foundation Server ("Standard Edition")
  • "Trial" = Team Foundation Server 180-day Trial Edition
  • "Workgroup" = Team Foundation Server Workgroup Edition
Installing Team Foundation Server 2008 on Windows 2008 and SQL 2008

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 you can presume, 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.

After you finish you can create new projects from some other workstation that has VS2008. Of course you need Team Explorer 2008 (http://www.microsoft.com/downloads/details.aspx?familyid=0ed12659-3d41-4420-bbb0-a46e51bfca86) and FINALLY you'll have to reinstall SP1 for VS after you install Team Explorer if you want to avoid this error (http://www.thejoyofcode.com/TF03177_Team_Project_Creation_Failed.aspx).

Another guideline I can give you when setting permissions developers is:

  • Set permissions on http://<tfsserver>/reports (from workstation as admin)
    • Click Orange Properties on Home location
    • New Role Assignment > Content Manager (One that will create project)
  • Site Settings in upper right corner
    • Click Security in left side
    • New Role Assignment > System Administrator (One that will create project)
  • If you are using Workgroup edition add users to Licensed Users group on TFS

Happy Teaming :)

 

Setting up Your System for ASP.NET 2.0 using WinXp pro, IIS and VS Web Developer 2005 Express Edition Part II
Installing AJAX.ASP.NET v1.0 library

Step 1: Setting up AJAX Extensions

After downloading you should start ASPAJAXExtSetup.exe to install AJAX libraries on your system. This should install ASP.NET Ajax-Enabled Web Site Visual Studio template. Also AJAX extensions tab in Visual Web Developer 2005 Express Edition will be added. Now, you can select AJAX enabled Web site template for your new web project.

Step 2: Setting up Ajax Control Toolkit

Next step will be to setup AjaxControlToolkit (use AjaxControlToolkit-NoSource.zip). It is packed as zip archive so you should unpack in folder

c:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource

That way all AJAX content will be in one folder on your computer.

After unpacking you should have two folders:

AjaxControlExtender and SampleWebSite

Go to AjaxControlExtender folder and find AjaxControlExtender.vsi file. Make sure that Visual Web Developer 2005 Express is not started. Run AjaxControlExtender.vsi by double click on it.

When warning appears choose yes to install content.

On next screen click finish.

Next screen will contain number of errors. Just ignore any errors and press close button.

Now you will have new template in Visual Web Developer 2005 Express.

Step 3: Adding AJAX Controls to Visual Developer 2005 Express

Next step will be to add AJAX controls to Visual Web Developer toolbox. First add new tab by clicking right click on toolbox and choosing Add Tab option from context menu.

After adding new tab, name it AJAX controls and do the right click inside new tab to bring context menu. Use Choose Items option.

Choose Toolbox Items window appear and you will have to browse to AJAX libraries files.


Browse to folder:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource\SampleWebSite\Bin

Find AjaxControlToolkit.dll file. Open selected file.

This file contains Ajax Toolbox Controls. You will be forwarded to Choose Toolbox Items window once again but with selected .NET Framework Components. Confirm selection of components and VS Web Developer will add AJAX controls to your toolbox.

 

At this moment your environment will be ready to start your new AJAX template projects.

Appendix A

Setting up AJAX Samples is tricky because those samples were made for AJAX v1.0 CTP which is community technology preview for AJAX v1.0 version of libraries. Also all three samples use SQL Express Database which setup is beyond scope of this tutorial. But if your installation of SQL Express is fine you could eventually set up these samples to work. Before starting you should download ASPAJAXCTP.msi from ajax.asp.net site and run to unpack content. Content will be unpacked into folder named:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Futures January CTP

What you need is to open Web Site from file system using your Visual Web Developer 2005 Express. When sample web site is loaded right click on bin folder to bring context menu. Choose Add Existing Item.

You have to add two files. First is Microsoft.Web.Preview.dll from folder:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Futures January CTP\v1.0.61025

Another file to add is AjaxControltoolkit.dll from folder:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource\SampleWebSite\Bin

After adding dll's you should be able to build and run web site sample. If your installation of SQL Express is not done well you will get some sql errors when application tries to open connection to database.

Same steps should be done for all sample projects to work.

Appendix B

Publish as an option is not supported in Visual Web Developer 2005 Express Edition so you will have to publish on your own or try to use Copy Web tool. Basically it is file copy tool so pick up all files needed for your site to work and copy it to new IIS server environment.

Setting up Your System for ASP.NET 2.0 using WinXp pro, IIS and VS Web Developer 2005 Express Edition Part I

A friend of mine recently asked me if I have some tutorial so he could easily setup his computer for ASP.NET and AJAX library. I thought maybe it would be good to have some neat tutorial so you could just give it to your new developers. Actually I thought it would be great to have few articles about setting up development environment for new colleagues.

I've decided to start with this small tutorial for WinXP pro platform because we need that kind of paper right now (later would be nice to make some tutorial for Vista development environment but let's wait for Orcas).

Tutorial is written for fresh clean install of WinXP Professional.

First what we need to start:

List of files needed

  • dotnetfx.exe (v 2.0) – DotNet Framework 2.0
  • vwdsetup.exe – Visual Web Developer 2005 Express Edition
  • ASPAJAXExtSetup.msi – ASP.NET AJAX web extensions
  • AjaxControlToolkit-NoSource.zip – Ajax controls
  • ASPAJAXSamples.msi – Ajax samples for AJAX v1.0 CTP
  • ASPAJAXCTP.msi (optional) – Ajax.asp.net Community Technology Preview January 2007

Step 1: Setting up Your WinXp Pro

Turn off simple file sharing using Windows Explorer. In opened instance of Windows Explorer, go to menu Tools than Folder Options and select View tab. You will find option Simple file sharing. It should be unchecked.

Step 2: Install IIS

Go to control panel. Choose Add or Remove Programs. Choose Add/Remove Windows Components. Find and select IIS. Go to details and select front page extensions. Confirm your selection. Press next and installation starts and you'll be asked to provide WinXp installation CD.

Step 3: Install .NET Framework 2.0

Install DotNetFx downloaded from site fallowing setup wizard. This should register asp.net 2.0 on your IIS 6 server.

Step 4: Install VS Web Developer 2005

Install normally using setup wizard. It is important to fallow order of steps (If you already installed VS 2005 prior to IIS you should look Appendix A for solution). After installation you should be able to start new web project on your local IIS using VS Web Developer.

Appendix A

There could be a number of problems in further work but if you use these simple tasks on clean installation of WinXp pro everything will work just fine. First thing to do if things go wrong is to register asp.net on IIS server. This is usually case if you installed web developer before installation of IIS. IIS should be first thing to install in your development environment. To do this you should go to folder C:\Windows\Microsoft.NET\Framework\v2.0.50727\ using command prompt (cmd.exe). Than in this folder run tool: aspnet_regiis.exe with fallowing syntax:

aspnet_regiis -i

This will install asp.net 2.0 on your IIS server. This process normally occurs automatically during the installation of VS Web Developer. Also you may have to restart IIS by using iisreset command in command prompt.

To unregister aspnet from your IIS use uninstall option (aspnet_regiis -u).

Appendix B

To check your installation go to IIS Management tool (Control Panel ~ Administrative tools ~ Internet Information Services. In management tool expand tree and right click Default Web Site. Go to properties and you should see tab ASPNET. Choose ASP.NET version to be 2.0.xxxx if it is not already chosen.

Using this document your development enviroment should be set for developing aspnet 2.0 web applications. Next step should be to setup ajax libraries. At this point it would be wise to check if your installation works as you expect and than go to next part of this tutorial.