Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Checkin in TFS 2013 - Value cannot be null Parameter name: format

Tags:

tfs

It has been a week since this has started happening. Whenever I try to check in my code in Visual Studio 2012 I get the following from TFS 2013.

TFS 2013 Error - Value Cannot Be Null

I've not made any changes to my Visual Studio, and no one else on the team is getting this error.

I'm confused as to the cause of the issue, what can I do to diagnose why this is happening?

like image 643
J86 Avatar asked May 30 '14 12:05

J86


4 Answers

I got similar issue. It got resolved by closing the visual studio and opening it again.

like image 67
lahari Avatar answered Jan 01 '23 20:01

lahari


For anyone using VS2017:

I was able to resolve by clearing the contents of the cache folder first:

C:\Users\UserName\AppData\Local\Microsoft\Team Foundation\7.0\Cache

Restart and Run As Admin and it should be resolved.

like image 45
markokstate Avatar answered Jan 01 '23 22:01

markokstate


Do you have the applicable updates for VS2012 to connect to VS2013?

According to Compatibility between Team Foundation clients and Team Foundation Server, under TFS 2013 client support for VS2012:

Requires latest Visual Studio 2012 update. Supports Git with Visual Studio Tools for Git extension.

The latest VS2012 update is Update 4.

like image 29
Richard Avatar answered Jan 01 '23 20:01

Richard


I had the same error message when I tried to annotate a field with RegularExpression data annotation and the error message I tried to get from Resources didn't exist (a merge issue).

[RegularExpression(@"^-?\d{1,3}([.,]\d+)?$", 
        ErrorMessageResourceType=typeof(Resources.Template),
        ErrorMessageResourceName="latitude_incorrect")]
    public Nullable<decimal> Latitude { get; set; }
like image 32
Monomachus Avatar answered Jan 01 '23 22:01

Monomachus