VSTS error (‘|’ is unexpected token. The expected token is ‘=’. Line 1, position 1099 )


If you ever receive this strange error inside Visual Studio while viewing a work item with Team Explorer or errors like this:

i) try to read or add a work item type "Bug" , the Microsoft Visual Studio window displayed " X ‘|’ is an unexpected token. The expected token is ‘=’. Line 1, position 1099."
ii) try to read or add a work item type "Task", the Microsoft Visual Studio window displayed " X ‘|’ is an unexpected token. The expected token is ‘=’. Line 1, position 127."
iii) Could not find a part of the path ‘C:\Documents and Settings\All Users\Application Data\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\Field||ntrol.wicc’

The following steps will resolve such errors:

1. Close Visual Studio.
2. Delete the contents of the folder:
%USERPROFILE%\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\
3. Start Visual Studio.
4. Add Team Foundation Server

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: