Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Error - Visual Studio TFS Key Not Valid for Use in Specified State

Feb 8, 2016

Introduction:

Here I will explain how to solve the problem of “Visual Studio TFS Key Not Valid for Use in Specified State” while connecting tfs in visual studio. This key not valid for use in specified state problem occurred due to changing some login key values.

Description:

In previous posts I explained convert string to lower case, upper case and title case in asp.net, jQuery send receive json object from webservice methods, Asp.net mvc complete project with database, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “key not valid for use in specified statein visual studio while connecting tfs.

I got this problem suddenly due to some login reset by system administrators. To fix this problem we need to delete TokenStorage folder in registry for that follow below steps

  1. First please close all visual studio instances and navigate to following folder

  2. Type regedit in search and open it then navigate to TokenStorage folder by using following path.

HKEY_CURRENT_USER à Software à Microsoft à VSCommon à 14.0 or 12.0 based on your vs version à ClientServices à TokenStorage

Delete Tokenstorage folder from registry to fix problem of Key Not Valid for Use in Specified State

Now delete this folder and try to open your application in tfs it will ask for login just login again it will fix your problem.

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

0 comments :

Give your Valuable Comments

Other Related Posts

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.