How to Restart Team Foundation Server App Tier

by XDK 10. December 2013 10:16

Solution:

Open command prompt as Administrator. Execute the follwoing commands

  1. %windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"Microsoft Team Foundation Server Application Pool" 
  2. net stop tfsjobagent 
  3. net start tfsjobagent

Tags:

Azure DevOps on-premises

TF80012: The document cannot be opened because there is a problem with the installation of the Microsoft Visual Studio v10.0 Team Foundation Office integration components.

by XDK 18. August 2013 11:51

Exception:

 

Solution:

1. Open Command Prompt Window as Administrator (Right click on CMD shortcut) 

2. Execute the follwoing command

Regsvr32 “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\TFSOfficeAdd-in.dll”

 

Tags: ,

Azure DevOps on-premises | TFS 2010

How to add users to Team Foundation Service Accounts group?

by XDK 8. August 2013 11:19

Solution:

Execute the following command:

TFSSecurity.exe /g+ "Team Foundation Service Accounts" n:"[Domain]\[User Id]" /server:http://tfs:8080/tfs

Tags: , ,

Azure DevOps on-premises | TFS 2010 | TFS 2012

How to find System Boot Time?

by XDK 21. June 2013 09:35

Command: systeminfo.exe

Displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards.

Syntax
systeminfo[.exe] [/s Computer [/u Domain\User [/p Password]]] [/fo {TABLE|LIST|CSV}] [/nh]

Parameters
/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
/p Password : Specifies the password of the user account that is specified in the /u parameter.
/fo {TABLE|LIST|CSV} : Specifies the format to use for the output. Valid values are TABLE, LIST, and CSV. The default format for output is LIST.
/nh : Suppresses column headers in the output. Valid when the /fo parameter is set to TABLE or CSV.
/?: Displays help at the command prompt.

Sample output

systeminfo.exe

Host Name:                 XAVIER
OS Name:                   Microsoft Windows Server 2008 R2 Standard
OS Version:                6.1.7601 Service Pack 1 Build 7601
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:          Infrastructure Server
Registered Organization:   Halliburton
Product ID:                00477-001-0000421-84103
Original Install Date:     12/20/2012, 10:09:54 AM
System Boot Time:          6/20/2013, 10:02:31 PM
System Manufacturer:       VMware, Inc.
System Model:              VMware Virtual Platform
System Type:               x64-based PC
Processor(s):              4 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [02]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [03]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [04]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
BIOS Version:              Technologies LTD 6.00, 4/15/2011
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-06:00) Central Time (US & Canada)
Total Physical Memory:     16,384 MB
Available Physical Memory: 14,725 MB
Virtual Memory: Max Size:  22,526 MB
Virtual Memory: Available: 20,750 MB
Virtual Memory: In Use:    1,776 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    Xavier.com
Logon Server:              \\Xavier
Hotfix(s):                 2 Hotfix(s) Installed.
                           [01]: KB981391
                           [02]: KB981392
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) PRO/1000 MT Network Connection
                                 Connection Name: Public
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 00.00.000.000

Tags:

General

Error Message: you cannot perform this operation on workspace. domain/id are not the owner of the workspace

by XDK 23. June 2012 13:05

Explanation

VS cache the login credentials for workspace. When we try login with current credentials still it take old credentials from cache

Solution

clear the cache and reload it. Follow below steps to do that:
Step 1: Open VS command prompt.
Step 2: Run below command to clear the local cache.

tf workspaces /remove:*

Step 3: Run below command to set the Owner for respective TFS server

tf workspaces /s:TFS_ServerName

For Windows XP, delete all the contents under:
 C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\Team Foundation\
For Windows 7, delete all content under:
 C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\

Tags: , ,

General | Azure DevOps on-premises

About the author

My name is Xavier Dilip Kumar Jayaraj having 13+ 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.