Category archive - Education

TF31002 : Unable to connect to this Team Foundation Server

Connecting to TFS 2010 from Visual Studio 2005 or 2008 

This issue occurs when using Visual Studio 2005 or VS 2008 without the compatibility update installed.  If you have already installed the compatibility update then its possible that the URL used is incorrect. Verify that the URL for TFS meets the following format http://YOURTFS:8080/tfs  . If you have not installed the update you will need to do so in the specific order below.

ERROR: TF31002: Unable to connect to this Team Foundation Server: tfs2010.

 

Visual Studio 2005 to TFS 2010

 The process must be completed in the exact order to work.  

  1. Visual Studio 2005
  2. Install TFS Team Explorer 2005
  3. Install Visual Studio 2005 Team Suite SP1
  4. Install Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer)

Visual Studio 2005
On the Visual Studio Toolbar go to Tools and select Connect to Team Foundation Server

Select Servers

Select Add and enter the server details  http://tfs2010:8080/tfs

*The Connection Details on the screen should gray out after entereing the URL. If this is not the case, then the “Forward Compatibility Service Paack” has not been installed or the order it was intalled is incorrect. *

Connection Completed

Visual Studio Team System 2005 Team Explorer

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7203

 Microsoft® Visual Studio® 2005 Team Suite Service Pack 1 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5553

 Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010  http://www.microsoft.com/download/en/details.aspx?id=3263


Connecting to TFS 2010 from Visual Studio 2008


Visual Studio 2008 (The Same process as above with the following software below)

  1. Visual Studio 2008
  2. TFS Team Explorer 2008
  3. Visual Studio 2008 SP1 (installer only) (ISO – Full download)
  4. Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010
Learning Visual C# 2008 How To Program Part 1

Learning Visual C# 2008 How To Program Part 1

Visual C# 2008 How to Program, 3rd Edition

By Paul Deitel Published Sep 18, 2008 by Prentice Hall. Part of the Pearson Custom Computer Science series.
Copyright 2009
Dimensions: 7″ x 9-1/8″
Pages: 1600
Edition: 3rd
Book
ISBN-10: 0-13-605322-X
ISBN-13: 978-0-13-605322-4

In order to learn Visual C# I chose the book recommended in school called Visual C# 2008 How To Program.  I learn through experience and excellent notes!  This will allow me to update this blog and track my growth as I complete the book. If you have an opinion on anything written here, I welcome the discussion and in turn I am sure there’s always something new to learn. This first post will be an overview of the basic terms related to programming in C#.

Read more

How to Build a Website

How to Build a Website

Some would love to have their own website but have no idea on where to start, or feel the information is not detailed enough to allow them to create it independently. I will try to make this post short but sweet enough to help anyone get started with a site in a very short amount of time. If you want definitions and a good understanding of the working parts this will not cut it, however this will get you up and running for now and you can learn more later.

Get Your Site Up and Running!

1. Step one should be to register a Domain Name. (More Details ) Read more

How the Course and the Web Works

How the Course and the Web Works

This was in my drafts from 1/2010. It appears to be from a class that I took in college, but either way it might be helpful. *I am not the original author of the content below.*

World Wide Web

  • System of interlinked, hypertext documents accessed via the InternetNavigate from page to page via hyperlinks.
  • Al Gore really did invent it. Kind of. Al Gore created legislation (Gore Bill) which funded the High-Performance Computing and Communications Initiative and lead to Mosaic, the first graphical web browser.
  • It’s all very hyper.Hyper. HyperCard. HyperText. HyperLink. HyperText Markup Language. HyperText Transfer Protocol. Here, hyper does not refer to the frantic pace of the web. Rather, it simply means “linked”
  • Read more

META Refresh-Quick Tip 4 Convenience

When working on sites I often prefer to view the pages within the browser as I make updates to ensure it renders the same as the preview within the editor. All of the updates are made on my local dev server and only uploaded to the production server once the site is completed. It becomes redundant to hit F5 after every save to refresh the browser so I use the meta tags to refresh the browser every 10 seconds or so. Just remember to remove the tag when you are finish working on the project. It’s also a good time to update all other SEO tags at the same time. Here’s a site that provides a few different options that some may find useful.

http://www.htmlcodetutorial.com/document/index_tagsupp_4.html

META for Automatic Refreshing and Forwarding

You can use <META ...> to tell the web browser to automatically move to another web page, or refresh the current page, after a specified period of time.

To have the page automatically refresh itself every x seconds, use a tag like this:

this code
<META HTTP-EQUIV="REFRESH" CONTENT="5">

This tells the browser to refresh the page (HTTP-EQUIV="REFRESH"), and that it should do so every five seconds (CONTENT="5").

Suppose, however, that you want the page to refresh itself by going automatically to another page. This is common, for example, when someone has moved their home page to a new location, but want someone who goes to the old location to still find a pointer. You could put this <META ...> tag in the page at the old location:

this code produces this
<META
     HTTP-EQUIV="Refresh"
     CONTENT="5; URL=autoforward_target.html">
this page

In this case the <META ...> tag works is like the first refresh example, only with a little added information. The first part is the same: CONTENT="5; URL=autoforward_target.html" tells the browser that the page should be refreshed. CONTENT="5; URL=autoforward_target.html" gives two pieces of information: that the page should refresh after five seconds, and that the new URL should be autoforward_target.html .

In a situation like this, you should also provide a regular link to the new page.

You can also use <META ...> tags to ensure that the browser does not cache the HTML document. Caching is the process of saving the HTML document locally, on the computer’s hard drive, for future use so the browser doesn’t have to download the document again. To ensure that the browser does not cache a particular page use the following code:

this code
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

WHMCS Domain Registrar Error

Problem:

When making an attempt to add a new client to WHMCS and assign a domain name that was registered before with my existing ENOM account I would receive Registar Errors. When the cron job would run to synch up the expiration date it would return the first error below. Here is the steps I took to resolve the issue.

Resolutions:

First Error: Registrar Error Domain name not found
Resolution:
1. WHMCS Admin
2. Servers
3. Updated the IP of WHM to the new IP. (I was assigned a new IP for SSL and did not update WHMCS

Second Error: Registrar Error Invalid client IP: 22.22.222.222
Resolution:
1.Opened a ticket with Enom API Support to update their end with my new IP address.

Steps Taken Once The Above Was Resolved
http://wiki.whmcs.com/Importing_Data#Manual_Domain_Only_Entry

Manual Domain Only Entry

To add a domain on it’s own without a product, follow the steps below:

1. On the client summary page, click the “Add New Order” link in the Actions panel
2. The client will be preselected, so you should fill out the rest of the form – begin by choosing the payment gateway you want the client to pay with
3. Leave the Product/Service dropdown menu set at None
4. Leave the Billing Cycle dropdown menu set at Monthly
5. Enter the domain in the Domain text field and select Register as the Domain Registration Option (even though you aren’t intending to register it today)
6. Choose the number of years you next want the client to be invoiced for at the time of renewal and tick any addons the user has for their domain
7. Ensure both tick boxes for sending an order confirmation and generating an invoice are unchecked so the user is not emailed about the order you are adding
8. Finally, set the Order Status dropdown to Active and then click the submit button to add the order to WHMCS
9. You will now been shown the order screen summarising the details of the order you just added
10. Now as the final step, you must go to the domain’s information page to enter the correct next due and expiry dates aswell as selecting the registrar the domain is registered with if using one of the built in registrars. To do this, from the order screen, click on the link in the Type column of the items ordered – this will take you straight to the details screen.

You have now finished adding your client. By following the steps above, your client will have not been notified that you’ve added them and will now be invoiced by WHMCS prior to the next due date for the items you have added to their account.

TFS 2010 Microsoft Certification Exam Available

The exam is now available, however the preparation materials are not at this time.

Exam 70-512:

TS: Visual Studio Team Foundation Server 2010, Administration

http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-512&Locale=en-us#tab1

About this Exam

This exam is designed to test the candidate’s knowledge and skills on installing, configuring and maintaining Visual Studio 2010 Team Foundation Server.

Audience Profile

This exam is intended for candidates who install, configure, and manage a Microsoft Visual Studio Team Foundation Server (TFS) 2010 implementation. Candidates typically work in an enterprise development organization that provides process automation services by using TFS.

The qualified candidate has:

  • a solid understanding of the TFS architecture and components.
  • experience installing and configuring a TFS in both single-server and multi-server configurations.
  • experience managing security for TFS components.
  • experience configuring and using Team Build.
  • experience adapting process templates to an organization.
  • experience managing project artifacts with TFS version control.
  • experience configuring and using work item tracking.

Skills Being Measured

This exam measures your ability to accomplish the technical tasks listed below.The percentages indicate the relative weight of each major topic area on the exam.

Installing and Configuring TFS (27%)

  • Install TFS.This objective may include but is not limited to: SQL Server version support, installing TFS in a multi-tier or multi-machine environment, installing TFS in a load-balanced environment, setting up version control proxy
  • Configure application tierThis objective may include but is not limited to: validating an installation, configuring SMTP for TFS, changing the URL (friendly name), changing the default SharePoint Web application, setting up reporting (SQL Server Analysis Services)
  • Migrate and upgrade TFS.This objective may include but is not limited to: upgrading TFS 2005 or TFS 2008 to TFS 2010, importing a source base from Microsoft Visual Source Safe (VSS), a third-party revision control system, or a sub-version
  • Install and configure team lab.This objective may include but is not limited to: set up environment templates, installing and configuring test agents, installing and configuring Virtual Machine Manager (basic Virtual Machine Manager installation), creating library shares or resource pools
  • Install and configure multiple build agents and controllers.This objective may include but is not limited to: tagging, binding a controller to a project collection, adding as build agent

Managing TFS (27%)

  • Manage Team Project Collections.This objective may include but is not limited to: moving project collections, managing team collections and projects, creating and configuring team project collections, moving team projects from one collection to another, creating a team project with SharePoint and SQL Server Reporting Services, cloning (splitting team project collections, partitioning)
  • Configure for backup and recovery.This objective may include but is not limited to: backup and recovery of TFS and related components, recover a failed application tier, recover a failed database tier, implement a disaster recovery plan
  • Monitor server health and performance.This objective may include but is not limited to: application tier logs, monitoring the server for performance issues (monitoring activity logging database and TFS server manager), monitoring job infrastructure for failed jobs (monitoring warehouse adapters and warehouse jobs), cleanup of stale workspaces and shelvesets, cleanup builds (applying retention policies), setting up team build to use a version control proxy server
  • Administer TFS application tier.This objective may include but is not limited to: retiring or archiving projects and purging the system, rebuilding a warehouse, configuring user permissions by using Active Directory Domain Services  and TFS groups, moving a TFS instance to a new server or a new domain, configuring security for TFS Work Item Only View
  • Manage reporting for TFS.This objective may include but is not limited to: basic reporting using Microsoft Office Excel Services, adding a custom report to a SharePoint project portal, uploading a new SQL Server Reporting Services TFS report, configuring to enable a report to appear in a SharePoint project portal
  • Set up automated functional and UI tests.This objective may include but is not limited to: setting up a build definition, configuring the build definition to use the proper lab environment, setting up tests to work on an installed agent, setting up a service as interactive, setting up data collectors

Customizing TFS for Team Use (24%)

  • Configure a team build definition.This objective may include but is not limited to: setting up for a Symbol Server and Source Server, setting up for test impact analysis, setting up for custom build numbers, configuring build log verbosity, setting up for code analysis, setting up for automated unit testing, setting up for architecture validation
  • Configure and execute a build.This objective may include but is not limited to: queuing a build with parameters, reconciling workspaces as part of a gated check-in workflow, setting up build triggers (gated check-in, continuous integration, scheduled build)
  • Modify a process template.This objective may include but is not limited to: customizing a process template by changing the workflow for a work item, adding a new work item type as a child of an existing work item (WI), uploading and downloading process templates
  • Configure a team project.This objective may include but is not limited to: areas and iterations, default security groups, portal settings (team project portal site URL, process guidance URL)
  • Apply work item customizations.This objective may include but is not limited to: link types, Global list, creating a new WI category and adding existing WI types to the new category, adding or removing fields, transitions, queries, customizing a workflow, creating or editing a work item type, importing and exporting work item types, renaming work item types
  • Create Work Item Query Language (WIQL) queries.This objective may include but is not limited to: query folders and permissions, query types (tree, flat, directed), defining WIQL keywords, adding fields to a query, creating a WIQL query by using Team Explorer, identify built-in macros
  • Configure client connectivity to TFS.This objective may include but is not limited to: configuring Visual Studio, Team Explorer, Microsoft Excel, Microsoft Project, and other tools to connect to TFS, configuring clients for proxy server

Administering Version Control (23%)

  • Create and manage workspaces.This objective may include but is not limited to: cloaking, undo delete, modifying a workspace, deleting a workspace, specifying the workspace visibility, restoring deleted items, unlocking other users’ checkouts, pending changes, and code
  • Configure shelvesets.This objective may include but is not limited to: private builds, creating a shelveset, deleting a shelveset, opening another user’s shelveset
  • Branch and merge source artifacts.This objective may include but is not limited to: track change visualizations, converting a folder into a proper branch and creating a new branch, merging and resolving file conflicts, viewing branch hierarchy, creating a branch, deleting a branch
  • Configure version control proxy.This objective may include but is not limited to: cache hit ratio, setting up the cache size, setting up for multiple TFS servers
  • Configure team project version control settings.This objective may include but is not limited to: enable multiple checkout, enable get latest on checkout, configuring check-in policies for a team project (work items, builds, code analysis, testing policies)

About this Exam

This exam is designed to test the candidate’s knowledge and skills on installing, configuring and maintaining Visual Studio 2010 Team Foundation Server.

Audience Profile

This exam is intended for candidates who install, configure, and manage a Microsoft Visual Studio Team Foundation Server (TFS) 2010 implementation. Candidates typically work in an enterprise development organization that provides process automation services by using TFS.

The qualified candidate has:

  • a solid understanding of the TFS architecture and components.
  • experience installing and configuring a TFS in both single-server and multi-server configurations.
  • experience managing security for TFS components.
  • experience configuring and using Team Build.
  • experience adapting process templates to an organization.
  • experience managing project artifacts with TFS version control.
  • experience configuring and using work item tracking.

Skills Being Measured

This exam measures your ability to accomplish the technical tasks listed below.The percentages indicate the relative weight of each major topic area on the exam.

Installing and Configuring TFS (27%)

  • Install TFS.This objective may include but is not limited to: SQL Server version support, installing TFS in a multi-tier or multi-machine environment, installing TFS in a load-balanced environment, setting up version control proxy
  • Configure application tierThis objective may include but is not limited to: validating an installation, configuring SMTP for TFS, changing the URL (friendly name), changing the default SharePoint Web application, setting up reporting (SQL Server Analysis Services)
  • Migrate and upgrade TFS.This objective may include but is not limited to: upgrading TFS 2005 or TFS 2008 to TFS 2010, importing a source base from Microsoft Visual Source Safe (VSS), a third-party revision control system, or a sub-version
  • Install and configure team lab.This objective may include but is not limited to: set up environment templates, installing and configuring test agents, installing and configuring Virtual Machine Manager (basic Virtual Machine Manager installation), creating library shares or resource pools
  • Install and configure multiple build agents and controllers.This objective may include but is not limited to: tagging, binding a controller to a project collection, adding as build agent

Managing TFS (27%)

  • Manage Team Project Collections.This objective may include but is not limited to: moving project collections, managing team collections and projects, creating and configuring team project collections, moving team projects from one collection to another, creating a team project with SharePoint and SQL Server Reporting Services, cloning (splitting team project collections, partitioning)
  • Configure for backup and recovery.This objective may include but is not limited to: backup and recovery of TFS and related components, recover a failed application tier, recover a failed database tier, implement a disaster recovery plan
  • Monitor server health and performance.This objective may include but is not limited to: application tier logs, monitoring the server for performance issues (monitoring activity logging database and TFS server manager), monitoring job infrastructure for failed jobs (monitoring warehouse adapters and warehouse jobs), cleanup of stale workspaces and shelvesets, cleanup builds (applying retention policies), setting up team build to use a version control proxy server
  • Administer TFS application tier.This objective may include but is not limited to: retiring or archiving projects and purging the system, rebuilding a warehouse, configuring user permissions by using Active Directory Domain Services  and TFS groups, moving a TFS instance to a new server or a new domain, configuring security for TFS Work Item Only View
  • Manage reporting for TFS.This objective may include but is not limited to: basic reporting using Microsoft Office Excel Services, adding a custom report to a SharePoint project portal, uploading a new SQL Server Reporting Services TFS report, configuring to enable a report to appear in a SharePoint project portal
  • Set up automated functional and UI tests.This objective may include but is not limited to: setting up a build definition, configuring the build definition to use the proper lab environment, setting up tests to work on an installed agent, setting up a service as interactive, setting up data collectors

Customizing TFS for Team Use (24%)

  • Configure a team build definition.This objective may include but is not limited to: setting up for a Symbol Server and Source Server, setting up for test impact analysis, setting up for custom build numbers, configuring build log verbosity, setting up for code analysis, setting up for automated unit testing, setting up for architecture validation
  • Configure and execute a build.This objective may include but is not limited to: queuing a build with parameters, reconciling workspaces as part of a gated check-in workflow, setting up build triggers (gated check-in, continuous integration, scheduled build)
  • Modify a process template.This objective may include but is not limited to: customizing a process template by changing the workflow for a work item, adding a new work item type as a child of an existing work item (WI), uploading and downloading process templates
  • Configure a team project.This objective may include but is not limited to: areas and iterations, default security groups, portal settings (team project portal site URL, process guidance URL)
  • Apply work item customizations.This objective may include but is not limited to: link types, Global list, creating a new WI category and adding existing WI types to the new category, adding or removing fields, transitions, queries, customizing a workflow, creating or editing a work item type, importing and exporting work item types, renaming work item types
  • Create Work Item Query Language (WIQL) queries.This objective may include but is not limited to: query folders and permissions, query types (tree, flat, directed), defining WIQL keywords, adding fields to a query, creating a WIQL query by using Team Explorer, identify built-in macros
  • Configure client connectivity to TFS.This objective may include but is not limited to: configuring Visual Studio, Team Explorer, Microsoft Excel, Microsoft Project, and other tools to connect to TFS, configuring clients for proxy server

Administering Version Control (23%)

  • Create and manage workspaces.This objective may include but is not limited to: cloaking, undo delete, modifying a workspace, deleting a workspace, specifying the workspace visibility, restoring deleted items, unlocking other users’ checkouts, pending changes, and code
  • Configure shelvesets.This objective may include but is not limited to: private builds, creating a shelveset, deleting a shelveset, opening another user’s shelveset
  • Branch and merge source artifacts.This objective may include but is not limited to: track change visualizations, converting a folder into a proper branch and creating a new branch, merging and resolving file conflicts, viewing branch hierarchy, creating a branch, deleting a branch
  • Configure version control proxy.This objective may include but is not limited to: cache hit ratio, setting up the cache size, setting up for multiple TFS servers
  • Configure team project version control settings.This objective may include but is not limited to: enable multiple checkout, enable get latest on checkout, configuring check-in policies for a team project (work items, builds, code analysis, testing policies)

AGILE Software Development and TFS 2010

While researching ways to use TFS 2010 with the AGILE method of Software Development, I created a quick but efficient outline that is useful when proposing the process for developer and business use. I also added a few links that could assist new users to Team Foundation Server, with details on how to complete certain task within TFS. It would be great to read suggestions from others that may be using TFS in a different manner to broaden my knowledge base.

The Development outline while working with TFS 2010 is as follows.

  1. User Stories are entered in TFS with Estimates.
  2. Tasks are created and linked to the User Stories.
  3. Test Cases are created in TFS and linked to User Stories.
  4. Bugs are filed and linked to the User Story.
  5. Once all Tasks,Test Cases, and Bugs are completed the User Stories are mark as resolved.
  6. Reports are created to ensure all items are resolved and the Project is complete before release.

Work Items and Workflow (Agile)

http://msdn.microsoft.com/en-us/library/dd997897(v=VS.100).aspx#CreatingManyWorkItems

Working with User Stories

http://msdn.microsoft.com/en-us/library/dd380634(VS.100).aspx#LinkBug

Working with Tasks

http://msdn.microsoft.com/en-us/library/dd380700(v=VS.100).aspx

Complete Process with Details on All Reports

http://msdn.microsoft.com/en-us/library/dd997796(v=VS.100).aspx#TrackTheProject

Product Planning Workbook (Reports)

http://msdn.microsoft.com/en-us/library/dd380682(v=VS.100).aspx

MSF for Agile Software Development v5.0

http://msdn.microsoft.com/en-us/library/dd380647(VS.100).aspx