Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

by XDK 2. July 2013 20:12

Explanation:

  • The Work item with large amount of data in the custom HTML fields fails to open after migration.
  • The error may occur for the build logs with large amount of data as well.

Workaround:

Try to modify web.config in \Program Files\Microsoft Team Foundation Server 11.0\Application Tier\Web Services to adjust the size.
The default length is 20MB, so try a larger value than that. The value below is for 50MB. Experimentation may be necessary to find the best value.

<appSettings>
<add key="maxJsonLength" value="52428800" />
</appSettings>

Value is specified in byte

Tags: ,

Azure DevOps on-premises | TFS 2010

specified argument was out of the range of valid values. Parameter name: column

by XDK 2. July 2013 19:19

Explanation:
In a CI build (gated check-in) environment, associate a work item with a check-in to trigger a build. The build will partially succeeded with the following error.

 


Workaround:
Change “Associate Changesets and Work Items” property to False in the build definition.

 

Solution:
It’s a known bug in TFS 2012 update 2 but fixed in update 3 http://www.microsoft.com/en-us/download/details.aspx?id=38185

Tags: ,

TFS 2012

Installing Visual Studio 2012 and then installing Visual Studio 2010 causes unreliable results for Office Integration add-ins

by XDK 1. July 2013 11:10

Explanation

If you install Visual Studio 2012 and then install Visual Studio 2010, and then you open Office to use an Office Integration add-in, Office displays two Team ribbons. Both ribbons are unreliable and may cause worksheets to become corrupted.

Workaround

Disable the Visual Studio 2010 version of the add-in, as follows:

  1. On the menu bar in Office, choose File, Options.
  2. In the Options dialog box, select Add-Ins.
  3. In the Manage box, select COM Add-ins and then choose the Go button.
  4. In the list of add-ins, clear the check box for the Visual Studio 2010 version of the add-in and then choose the OK button. (To determine the version of an add-in, select it and then read its location at the bottom of the Options dialog box. The location for a Visual Studio 2010 add-in is "Microsoft Visual Studio 10.0".)

Tags:

General

Roll Back a checkin in TFS

by XDK 26. June 2013 12:26

Solution

TFS rollback is a client side component which is available in TFS 2010 power tools install. http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

1) Through UI

Right click on the source folder
Select View History menu
 

 Select rollback entire changeset menu 

 Check-in the pending rollback changes 

2) Through Command line :
 
tf rollback /changeset:changesetfrom~changesetto [itemspec] [/recursive]
[/lock:none|checkin|checkout] [/version:versionspec]
[/keepmergehistory] [/noprompt] [/login:username,[password]]

tf rollback /toversion:versionspec itemspec [/recursive]
[/lock:none|checkin|checkout] [/version:versionspec]
[/keepmergehistory] [/noprompt] [/login:username,[password]]

Note :If you are attempting to rollback changes for another user, make sure you get latest on the files you are attempting to rollback; otherwise you will see the error: "No changes to roll back."

 

Tags: ,

Azure DevOps on-premises | TFS 2010

TF900560: Could not start build: The file exists.

by XDK 25. June 2013 14:43

Explanation:

TFS2012 server process the build request but the build controller fails.

Workaround:

Reimaged the build controller,Since the controller was not responding to any command and also TFS admin console crashed.

Tags: , ,

Azure DevOps on-premises | TFS 2010 | TFS 2012

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.