C# Code to get the Work Item URL

by XDK 18. June 2013 16:48

var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsURL + "/" + collectionName));
var myService = projectCollection.GetService<TswaClientHyperlinkService>();
string wiURL = myService.GetWorkItemEditorUrl(workItem.Id).ToString();

Tags: , ,

Azure DevOps on-premises

An error occurred while initializing a build for build definition xxx: There is not enough space on the disk

by XDK 23. February 2013 13:33

Soultion
Follow the below steps on the build agents
• Go to Start->Programs->Microsoft Team Foundation Server 2010/ 2012 ->Team Foundation Administration Console
• Select a build agent and click Properties
• Change the working directory from to $(SystemDrive) to D:, E: etc depending upon the free disk drive

Tags: , ,

Azure DevOps on-premises | TFS 2010 | TFS 2012

TFS Service account permissions on Database

by XDK 2. February 2013 13:15

Explanation

TFS Service account requires the follwoing permissions on TFS - Share Point DBs

APP Database  Roles & Permissions
SQL Server System Master Public and TFSExecRole
TFS Configuration Public and TFSExecRole
TFS Collection Public, db_datareader, db_datawriter, db_owner and TFSExecRole
TFS Warehouse Public, TFSExecRole and TfsWarehouseDataReader
SharePoint Configuration Public and  db_owner

Tags: ,

Azure DevOps on-premises | TFS 2010 | TFS 2012

TF14098: Access Denied User [Domain]\User needs Label permission(s) for $/Source

by XDK 8. September 2012 20:14

 

 

Explanation
The users should have project level permission to label any folders and files in version control using visual studio IDE. The error occurs when team project does not have project users/groups permissions set at project level but its set on folders.

Solution
Add the users/groups permission at project level.

 

Tags: , ,

Azure DevOps on-premises

Unable to find appropriate display filter for file extension ".docx". Add a mapping into MimeMap.XML file under App_Data folder.

by XDK 10. August 2012 20:33

Explanation


Expected behavior in TFS web access as there are no display filter for MS office files. There are only three default display filters configured to open plain text (.CS, .proj etc.) and images on the browser. The display filter is used to display files on the web page. For the other kind of files, TFS web access cannot display them in the web page, instead it provides link for user to download it.

Reference

MimeMap.XML location: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\App_Data

    <Extension name=".doc" content-type="application/msword"/>
    <Extension name=".pptx" content-type="application/vnd.ms-powerpoint"/>
    <Extension name=".pps" content-type="application/vnd.ms-powerpoint"/>
    <Extension name=".pdf" content-type="application/pdf"/>
    <Extension name=".docx" content-type="application/msword"/>

 

Tags: , ,

Azure DevOps on-premises

About the author

My name is Xavier Dilip Kumar Jayaraj having 16+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Microsoft Certified: Azure Administrator Associate

Microsoft Certified: Azure DevOps Engineer Expert

DevOps Engineer Certificate Program | Transcript 

OTP-AWSD5: AWS IoT: Developing and Deploying an Internet of Things

[PCEP-30-01] PCEP – Certified Entry-Level Python Programmer

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

CategoryList

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.