title: Team Foundation Server Create New Project Fails - Code TFS30159
body: <p>When attempting to create a new team project in TFS I'm getting the following error:</p>
  
  <p>Error 
  TF30170: The plugin Microsoft.ProjectCreationWizard.Classification failed during task UploadStructure from group Classification.  </p>
  
  <p>Explanation 
  Plugin error text: “TF30159: Error occurred while updating project description for "vstfs:///Classification/TeamProject/9faf261d-b680-439f-ad23-e4afefc22b0e"”  </p>
  
  <p>User Action 
  Contact your Team Foundation Server administrator.  </p>
  
  <p>Here is a copy of the log where the exception is thrown:</p>
  
  <p>---begin Exception entry---</p>
  
  <p>Time: 2016-03-10T11:24:34
  Module: Engine
  Event Description: TF30162: Task "UploadStructure" from Group "Classification" failed
  Exception Type: Microsoft.TeamFoundation.Client.PcwException
  Exception Message: TF30159: Error occurred while updating project description for "vstfs:///Classification/TeamProject/29bfb07e-5578-4bdc-96d1-ec1b1d33a186"
  Stack Trace:
     at Microsoft.VisualStudio.TeamFoundation.PCW.CssStructureUploader.SetProjectDescription(ProjectCreationContext context, String projectUri)
     at Microsoft.VisualStudio.TeamFoundation.PCW.CssStructureUploader.Execute(ProjectCreationContext context, XmlNode taskXml)
     at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
     at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
  --   Inner Exception   --
  Exception Message: Method Not Allowed (type VssServiceResponseException)
  Exception Stack Trace:    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)
     at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__49.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__47<code>1.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.&lt;SendAsync&gt;d__53</code>1.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__52`1.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.VisualStudio.TeamFoundation.PCW.CssStructureUploader.SetProjectDescription(ProjectCreationContext context, String projectUri)</p>
  
  <p>--- end Exception entry ---</p>
  
  <p>I think it might be something to do with the projectUri but I'm not sure.</p>
  
  <p>if I try to access the project via the url: 
  vstfs:///Classification/TeamProject/29bfb07e-5578-4bdc-96d1-ec1b1d33a186</p>
  
  <p>I get the following TFS error:</p>
  
  <p><a href="https://i.stack.imgur.com/Tl5HL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tl5HL.jpg" alt="enter image description here"></a></p>
  
  <p>However I'm not sure if this error is simply because the create is failing or whether it is causing it.</p>
  
  <p>Any ideas about what is causing this and how to fix it would be much appreciated.</p>