Wednesday, May 16, 2012

Installing and Configuring Visual Studio Test Controller 2010


This will help  to install and Configure Visual Studio Test Controller 2010. To do Automation Testing with visual studio 2010 this is essential. 

To work the test Controller You need to install Visual Studio Team Foundation Server 2010 see the my older post how to configure TFS 2010 step by step

01 Installing team Foundation Server 2010 (http://thusharapriyantha.blogspot.com/2012/05/installing-team-foundation-server-2010.html)

02. Configuring Build Configuration (http://thusharapriyantha.blogspot.com/2012/05/configuring-build-configuring-in-team.html#.T7RmgsWbywE)

 

Steps :



 

  • Select the Microsoft Visual Studio Controller 2010 In the Select features window.

  • After the Installation click Configure in the Next window.
  • In the Configure Test Controller Window.
    • Select the network Services as the account for test controller
    • Select register with Team Project Collection. And Click Browse to add the Project collection.


 

  • In The Connect to team foundation server Window Add the TFS 2010 server .



  • Click the apply button to Apply the settings.

 

  • Now you have Successfully configured Visual Studio Test Controller.

Monday, May 14, 2012

How to send mails From Distribution Group (Exchange 2010)


Today our sports committee ask me that they want to send mail with their name (eg: sport_Committee@knights.com)

Rather then  creating a new user we can do this with distribution groups.
Here is what you need to do.
Note:
Distribution Group name                     : sports_committee@knights.com

User need have send as permission     : thushara@knights.com


 

Steps :
  • Go to the Exchange management Shell and type the following command
Set-DistributionGroup 'Distrabution groupname' -GrantSendOnBehalfTo 'User' 

eg: Set-DistributionGroup Sports_Committee -GrantSendOnBehalfTo Thushara
  • Done. Now you have given the permission to the user now how to send mail from outlook
  • Open the Outlook and Click New email
    In the option tab click From

  • Now you can see there is a new bon in the near to send button

  • Click the Down arrow from the From Box and select other E-mail Address

  • Ten Select the Distribution group you have to send the mail
  • Now  you can send the email with Distribution group name .

Thursday, May 10, 2012

Error 218017


  • When I try to Create project IN TFS 2010 with new User (Not the TFS Installed user) I get the following error


To resolve this go to your SharePoint site ( http://computername/sites/Collectionname/)and give that user or group Full access to the site.

Eg:    Share point server name     : tfs01
         User need give permission  : TP
        
         Collection URL: https://tfs01/sites/DefauitCollection/

  • And go Site Actions and Site settings


  • Click the Site Collection Administrators and add the user.


Now try to create a New project using the new Account
 


 


 

Monday, May 7, 2012

Configuring Build Configuring In Team Foundation Server 2010


This guide will explain how to configure build server in Team Foundation Server 2010

Requirements 


01. Team Foundation Server 2010 installed Server (To how to install TFS 2010 see the my older post http://thusharapriyantha.blogspot.com/2012/05/installing-team-foundation-server-2010.html)

 

Steps
  • Go to TFS Administration Console and click Build Configuration. And click the Configure Installed Feature



  • In the Next Window Click Start Wizard

  • In Build Service Configuration Wizard widow Click Next

  • Select project collection the project Collection Window

  • Use the Default Settings Build Service Configuration Wizard.

  • In the Settings window Click the system Account (it's better to use the NT Authority\network Service)

  • Review Settings and Click the Verify Settings



  • Click next in the Configuration window To Start the Configuration.


  • Now you have Configures the Build Configuration 

     


Friday, May 4, 2012

Installing Team Foundation Server 2010 setp by step


This guide will explain how to install Team Foundation server 2010 single server installation. Single server installation is good for small office environments.

Requirements

  • Windows 2008 R2 Stranded server.
  • Team Foundation Server Installation DVD
  • Microsoft SQl 2008 R2.
  • Share Point servicers 3.0 ( this will be installed with the tfs installation )
  • IIS 7.5
  • Domain account

Note :

 for this I'm using the SharePoint server that will be install with the TFS 2010 Installation .

If you are planning to install TFS with Office share point  2007 follow the following link.

http://juliocasal.com/archive/2009/11/02/team-foundation-server-2010-beta-2-office-sharepoint-server-2007-single-server-installation-part-1.aspx


 

Setup
I'm using following server name and account for this installation.
This installation is Single server installation so SQL server share Point and TFS 2010 will be install to same computer
Server name: tfs01
Account name: KNIGHTS\tfs 

SQL Requirements

For this I used SQL server 2008 R2 Standard.
  • Following are the features need for TFS installation.

  • And make sure to run the service as network service.it would be easy to configure the other servers related to TFS 2010.


  • In the Reporting service configuration window select the first option .






 

Installing IIS Role Servicers for TFS 2010

We need some specific IIS Role Servicers required for TFS following pictures shows what are the IIS requirement.
To know how to install IIS 7.5 in Windows 2008 R2 Please visit the following blog
http://www.adminnation.com/2011/09/13/installing-iis-7-5-on-windows-server-2008-r2/






Installing features for TFS 2010
Select the following features from install features window.
  • For running team Foundation Build service are not essentials to install but its better to install if you're planning automation testing in future.




 

Configuring TFS server 

After the installing tfs setup from the cd we have to configure the server to do that Go to Team Foundation server Administration Console
Select Application Tier in application tier window click configure. It will open up the tem foundation server Configure Center.
  • In that select Advanced and Start Wizard

  • In the welcome window click next.

  • In Database window select the database server and leave the 


  • In the account windows Select NTAuthorityty\Network Services  and next.


  • In the Application tier window accept the default and click next.

  • Accepts the default and click next in reporting window.

  • In the Reporting Services windows
In Reporting Service Instance type the name of the SQL Reporting service installed server an click the populate URLs it will automatically import the Report Server URLs.





  • In the Analysis window type the server name of the SQL Analysis server running.
  • Make sure you have test server unless it will not work.



  • In the Reporting Reader Account
  • Specify the account and next
  • In SharePoint product window Select he Configure SharePoint for Use with Team Foundation Server.




 

  • In SharePoint settings window click the install Windows SharePoint Servicers 3.0 in farm mode and provide a account that has admin rights in the machine.

 

  • In Project Collection Window Select the defaults and click next.( you can create new collection if you want )


  • review the settings click next



  • Click the Configure button to Continue
    ( Make sure that you have enable fire wall to continue )

     

     
  • Now you have successfully installed Visual Studio team Foundation server 2010.