Team Build Error - “contains more than the allowed 259 characters. Type or select a shorter path.”

We use Team Foundation Server as our code repository and Team Foundation Server’s Team Build to perform automated nightly builds.  We have configured Team Build for check-ins to trigger a new build.  After check-ins of a large amount of code yesterday for one of our new SQL Server 2008 Database Projects, I arrived at the office today to find a big Build Failed Build Failed icon in my task bar notification area from my friend Team Foundation Build Notification (part of the Microsoft Team Foundation Server 2008 Power Tools). 

Looking at the BuildLog.txt I noted several entries one of which is:

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(737,5,737,5): error : TF10128: The path C:\Users\TFSBuild\AppData\Local\Temp\Allscripts Extension\Allscripts Extension Master - Daily\Sources\Main\Source\Allscripts Data Warehouse\Source\AEWarehouseDB\Schema Objects\Programmability\Stored Procedures\usp_PopulateFactPaySourceRevenue_ByTrailingYear.proc.sql contains more than the allowed 259 characters. Type or select a shorter path.

After some quick research I found that windows has a paths limitation of 259 characters.  I found a wonderful explanation and workaround by Aaron Hallberg.

I was able to simply rename my Build Definition to a shortened name and all my nightly builds are now back to normal. image

Comments

Very good. One of the best articles about this theme I ever read.

That's some inspirational stuff. Certainly not knew that opinions could possibly be this varied. Thanks for all the enthusiasm to present such valuable data in this article.

Now a days Blogengine is going more popular as its quite good to use for blog sites, navigation provided  is so simple and easy and  because of this reason I inspired to write something  on the blog you have. And one more thing is that your content is too much informative.

Many the most effective liberal to play games

Good story! I have been looking thru google for hours looking for relevant facts about this, they really need to rank your website on page 1!


This article was extremely interesting, especially since I was searching for thoughts on this subject last week.

You have a very good site, well constructed and very interesting i have bookmarked you hopefully you keep posting new stuff, many thanks

Aug 21 Valarie Taruc

been following your blog for 3 days now and i should say i am starting to like your post. and now how do i subscribe to your blog?

Aug 27 Traslochi

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

Hello,I love reading through your blog, I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.

Brilliant, thank you, I will visit again soon.

Sep 03 french press

This website has lots of extremely useful information on it. Cheers for informing me.

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Page List

    Calendar

    <<  September 2010  >>
    MoTuWeThFrSaSu
    303112345
    6789101112
    13141516171819
    20212223242526
    27282930123
    45678910

    View posts in large calendar