Ask a questionAsk a question
 

AnswerTF30170 Error creating Team Project

  • Friday, November 06, 2009 8:06 PMRyan Jaeger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    My environment is:
    Server 2008 R2
     -TFS 2010 Beta 2 (The installation of TFS was installed on drive D)
     -WSS 3.0

    Server 2008 R2
     -SQL 2008 x64
     -Reporting & Analytics

    The TFSSERVICE, WSSSERICE, TFSREPORTS are configued to the documentation (i'm using different accounts names though)

    When trying to create a team project the following error is displayed:

    Error
    TF30170: The plugin Microsoft.ProjectCreationWizard.Build failed during task BuildTask from group Build.
    Explanation
    Plugin error text: “TF203013: The path C:\Users\CARMDS~2\AppData\Local\Temp\tmp8F32.tmp is in the DOS (8.3) short path format and is not supported. Enter a full path to the item and try again.”
    User Action
    Contact your Team Foundation Server administrator.


    A snippet from the exception log shows:
    2009-11-06T11:57:51 | Module: Rosetta | Thread: 14 | Creating report: Bug Status
    2009-11-06T11:57:52 | Module: Rosetta | Thread: 14 | Setting data sources for report: /TfsReports/DefaultCollection/TestTFS19/Bugs/Bug Status
    2009-11-06T11:57:52 | Module: Rosetta | Thread: 14 | Creating report: Bug Trends
    2009-11-06T11:57:53 | Module: Rosetta | Thread: 14 | Setting data sources for report: /TfsReports/DefaultCollection/TestTFS19/Bugs/Bug Trends
    2009-11-06T11:57:53 | Module: Rosetta | Thread: 14 | Creating report: Reactivations
    2009-11-06T11:57:53 | Module: Rosetta | Thread: 14 | Setting data sources for report: /TfsReports/DefaultCollection/TestTFS19/Bugs/Reactivations
    2009-11-06T11:57:53 | Module: Rosetta | Thread: 14 | Creating report: Build Quality Indicators
    2009-11-06T11:57:54 | Module: Rosetta | Thread: 14 | Setting data sources for report: /TfsReports/DefaultCollection/TestTFS19/Builds/Build Quality Indicators
    2009-11-06T11:57:54 | Module: Rosetta | Thread: 14 | Creating report: Build Success Over Time
    ---begin Exception entry---
    Time: 2009-11-06T11:57:54
    Module: Engine
    Event Description: TF30162: Task "BuildTask" from Group "Build" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: TF203013: The path C:\Users\CARMDS~2\AppData\Local\Temp\tmp8F32.tmp is in the DOS (8.3) short path format and is not supported. Enter a full path to the item and try again.
    Exception Details:
    Stack Trace:
       at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.ExecuteInternal(ProjectCreationContext context, XmlNode taskXml, Boolean validationOnly)
       at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
    --   Inner Exception   --
    Exception Type: Microsoft.TeamFoundation.Build.Client.BuildServerException
    Exception Message: TF203013: The path C:\Users\CARMDS~2\AppData\Local\Temp\tmp8F32.tmp is in the DOS (8.3) short path format and is not supported. Enter a full path to the item and try again.
    Stack Trace:
       at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
       at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
       at Microsoft.TeamFoundation.Build.Client.BuildWebService.AddProcessTemplates(ProcessTemplate[] processTemplates)
       at Microsoft.TeamFoundation.Build.Client.BuildServer.SaveProcessTemplates(IProcessTemplate[] processTemplates)
       at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.ExecuteInternal(ProjectCreationContext context, XmlNode taskXml, Boolean validationOnly)
    -- end Inner Exception --
    --   Inner Exception   --
    Exception Type: System.Web.Services.Protocols.SoapException
    Exception Message: TF203013: The path C:\Users\CARMDS~2\AppData\Local\Temp\tmp8F32.tmp is in the DOS (8.3) short path format and is not supported. Enter a full path to the item and try again.
    SoapException Details: <detail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExceptionMessage="TF203013: The path C:\Users\CARMDS~2\AppData\Local\Temp\tmp8F32.tmp is in the DOS (8.3) short path format and is not supported. Enter a full path to the item and try again." BaseExceptionName="Microsoft.TeamFoundation.InvalidPathException" />
    Stack Trace:

    -- end Inner Exception --
    --- end Exception entry ---


    The failure point is not consistent. For example, in this log file the previous log output is " Creating report: Build Success Over Time", but this would be different on different attempts. On the VS UI, the failure happens on the "Build Task" step. I've disabled the anti virus on the TFS machine thinking it may be the reason, but it didn't have an effect.


    Thanks for your help,

Answers

  • Monday, November 09, 2009 10:49 PMRyan Jaeger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Found the issue. The TFSSERVICE account name is exactly 13 alphanumeric characters long in my environment. Using the Team Foundation Console my team changed the account to a name that has a 7 alphanumeric characters long.... And voila! it's now working. So everyone reading this post, make sure your tfs service account names are less than 8 characters long. I think this should either be changed or at least documented in the install documentation.

    Cheers,

    Ryan
    • Marked As Answer byRyan Jaeger Monday, November 09, 2009 10:49 PM
    •  

All Replies

  • Monday, November 09, 2009 4:58 PMCongyi WuMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Can you post the output of "dir c:\users" from the command line?
  • Monday, November 09, 2009 10:49 PMRyan Jaeger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Found the issue. The TFSSERVICE account name is exactly 13 alphanumeric characters long in my environment. Using the Team Foundation Console my team changed the account to a name that has a 7 alphanumeric characters long.... And voila! it's now working. So everyone reading this post, make sure your tfs service account names are less than 8 characters long. I think this should either be changed or at least documented in the install documentation.

    Cheers,

    Ryan
    • Marked As Answer byRyan Jaeger Monday, November 09, 2009 10:49 PM
    •  
  • Monday, November 09, 2009 11:17 PMCongyi WuMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm running TFS with the NETWORK SERVICE account just fine, so I think the underlying issue is more complicated.  With a service account name less than 8 characters, the DOS path format for a folder with that user name would no longer have the tilde, and would be indistinguishable from the full path...  Although TFS is working for you now, I'd be happy to help you dig deeper if you are interested.
  • Thursday, November 12, 2009 9:45 AMRajendra Talele Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
    I don't get any error while my service account is 14 characters long.

    Rajendra, Tieto