Team Project Creation Failed  
Author Message
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi

I have just installed and configured the VSTS foundation Server 180 Day Trial Edition. When I create a new team project with my user credntials (which have been added to the TFS Admin group and SQL Reporting and Sharepoint) I get the error below.

When I create a new team project using the TFSSetup user the project creation is successul, however I am unable to retrieve work items from the Project from Excel or Project. I get the following error "TF80066: You are not authorized to porform this operation. Please contact your Team Foundation administrator."

I am not sure if the problems are related. Any help would be greately appreciated.

Cheers
Jock

Error
TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.WorkItemTracking plug-in.
Explanation
TF30171: The Microsoft.ProjectCreationWizard.WorkItemTracking plug-in used to create the new team project could not be initialized and returned the following error: TF26204: The account you entered is not recognized. Contact your Team Foundation Server administrator to add your account..
User Action
Contact your Team Foundation Server administrator.

<log file>
2006-06-21 10:56:38Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.71875 seconds
2006-06-21 10:56:38Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2006-06-21 10:56:38Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.078125 seconds
2006-06-21 10:56:38Z | Module: Internal | The template information for Team Foundation Server "vsts.ict.ru.ac.za" was retrieved from the Team Foundation Server. | Completion time: 0.234375 seconds
2006-06-21 10:58:21Z | Module: Engine | Thread: 9 | New project will be created with the "MSF for Agile Software Development - v4.0" methodology
2006-06-21 10:58:21Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2006-06-21 10:58:21Z | Module: Engine | TF30227: Project creation permissions retrieved | Completion time: 0 seconds
2006-06-21 10:58:22Z | Module: Engine | Wrote compressed process template file | Completion time: 0 seconds
2006-06-21 10:58:32Z | Module: Engine | Extracted process template file | Completion time: 9.953125 seconds
2006-06-21 10:58:32Z | Module: Engine | Thread: 9 | Starting Project Creation for project "Test" in domain "vsts.ict.ru.ac.za"
2006-06-21 10:58:32Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.015625 seconds
2006-06-21 10:58:32Z | Module: Initializer | Thread: 9 | The New Team Project Wizard is starting to initialize the plug-ins.
2006-06-21 10:58:32Z | Module: CssStructureUploader | Thread: 9 | Entering Initialize in CssStructureUploader
2006-06-21 10:58:32Z | Module: CssStructureUploader | Thread: 9 | Initialize for CssStructureUploader complete
2006-06-21 10:58:32Z | Module: Initializer | Thread: 9 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Classification.
2006-06-21 10:58:32Z | Module: Rosetta | Thread: 9 | Entering Initialize in RosettaReportUploader
2006-06-21 10:58:33Z | Module: Rosetta | Thread: 9 | Exiting Initialize for RosettaReportUploader
2006-06-21 10:58:33Z | Module: Initializer | Thread: 9 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Reporting.
2006-06-21 10:58:33Z | Module: WSS | Thread: 9 | Entering Initialize in WssSiteCreator
2006-06-21 10:58:33Z | Module: WSS | Thread: 9 | Site information: Title = "Test" Description = "This team project was created based on the 'MSF for Agile Software Development - v4.0' process template."
2006-06-21 10:58:33Z | Module: WSS | Thread: 9 | Base site url: http://VSTS/sites
2006-06-21 10:58:33Z | Module: WSS | Thread: 9 | Admin site url: http://VSTS:17012/_vti_adm/admin.asmx
2006-06-21 10:58:33Z | Module: WSS | Thread: 9 | Exiting Initialize for WssSiteCreator
2006-06-21 10:58:33Z | Module: Initializer | Thread: 9 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Portal.
2006-06-21 10:58:33Z | Module: GSSStructureUploader | Thread: 9 | Entering Initialize in GssStructureCreator
2006-06-21 10:58:33Z | Module: GSSStructureUploader | Thread: 9 | Exiting Initialize for GssStructureCreator
2006-06-21 10:58:33Z | Module: Initializer | Thread: 9 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Groups.
---begin Exception entry---
Time: 2006-06-21 10:58:34Z
Module: Initializer
Event Description: TF30207: Initialization for plugin "Microsoft.ProjectCreationWizard.WorkItemTracking" failed
Exception Type: System.UnauthorizedAccessException
Exception Message: TF26204: The account you entered is not recognized. Contact your Team Foundation Server administrator to add your account.
Stack Trace:
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr)
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation.Client.ITeamFoundationServerObject.Initialize(TeamFoundationServer teamFoundationServer)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore..ctor(TeamFoundationServer teamFoundationServer)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Initialize(ProjectCreationContext ctxt)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.InitializePlugins(MsfTemplate template, PcwPluginCollection pluginCollection)
-- Inner Exception --
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: S-1-5-21-2490222962-127708045-2691370565-1256 is not valid user. ---> S-1-5-21-2490222962-127708045-2691370565-1256 is not valid user. ---> S-1-5-21-2490222962-127708045-2691370565-1256 is not valid user.
SoapException Details: <detail><details id="600019" xmlns=" http://www.hide-link.com/ ; /></detail>
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy.GetMetadata(MetadataTableHaveEntry[] metadataHave, String& dbStamp, Boolean useMaster, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientService.GetMetadata(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at CProdStudioBackendChannel.GetMetadata(CProdStudioBackendChannel* , tagVARIANT* pvarLocale, tagVARIANT* pvarComparisonStyle, PsUserDisplayModeEnum* pDisplayMode, Boolean* pfUseSIDSecurity, Int32 fNoFire, Int32 fByPassFireOnThis)
-- end Inner Exception --
--- end Exception entry ---

2006-06-21 10:58:34Z | Module: Engine | Thread: 9 | Attempting to delete MSF folder "C:\Documents and Settings\J.Forrester\Local Settings\Temp\TPW_tmpD2.tmp"
2006-06-21 10:58:34Z | Module: Engine | Thread: 9 | The temporary folder C:\Documents and Settings\J.Forrester\Local Settings\Temp\TPW_tmpD2.tmp used to store the process template was removed.

</log file>


Visual Studio Team System36  
 
 
James Bender





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

When you install TFS you have to specify service accounts for it to run under.

Are you sure that a) the account use used has the proper permissions as defined in the installation guide and b) you typed the password correctly during install

Hope this helps,

James

 Edit: you might also want to make sure that the identity that TFS is running under has the proper credentials in the database, but this is kind of a long shot since as I recall the install pretty much takes care of this for you.


 
 
Adam Singer MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

In order to create new projects, you need to have the proper permissions in the Reporting system. We have help online describing how to set the necessary permissions for all components here, and the reporting specific permissions are described here.

Hope this helps-

Cheers,
Adam



 
 
Luis Fraile





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

which user are you using to create the Tema Project , try use the one you used for setup to check if this is a security issue

 
 
Naren Datha - MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Can you check the project creation log for additional error information A link to log is given in last screen of project creation wizard, or available in %temp% folder and log file starts with name VSTS_TeamProjectCreation_<date>.log

 
 
Bill Essary MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

The error matches this SharePoint KB article: http://support.microsoft.com/Default.aspx kbid=832816. The article lists the following cause:

This problem may occur if the virtual server is assigned a specific IP address in Microsoft Internet Information Services (IIS) and the host name of the virtual server is mapped in DNS.


 
 
RickyOtto





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

2006-10-27 16:12:55Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.2343735 seconds
2006-10-27 16:12:55Z | Module: Internal | The template information for Team Foundation Server "EVSVROBX08" was retrieved from the Team Foundation Server. | Completion time: 0.0468747 seconds
2006-10-27 16:12:55Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0.3281229 seconds
2006-10-27 16:12:55Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.0156249 seconds
2006-10-27 16:13:01Z | Module: Engine | Thread: 8 | New project will be created with the "MSF for Agile Software Development - v4.0" methodology
2006-10-27 16:13:01Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2006-10-27 16:13:01Z | Module: Engine | TF30227: Project creation permissions retrieved | Completion time: 0 seconds
2006-10-27 16:13:01Z | Module: Engine | Wrote compressed process template file | Completion time: 0 seconds
2006-10-27 16:13:02Z | Module: Engine | Extracted process template file | Completion time: 1.0156185 seconds
2006-10-27 16:13:02Z | Module: Engine | Thread: 8 | Starting Project Creation for project "EviivoDev" in domain "EVSVROBX08"
2006-10-27 16:13:03Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.3906225 seconds
2006-10-27 16:13:03Z | Module: Initializer | Thread: 8 | The New Team Project Wizard is starting to initialize the plug-ins.
2006-10-27 16:13:03Z | Module: CssStructureUploader | Thread: 8 | Entering Initialize in CssStructureUploader
2006-10-27 16:13:03Z | Module: CssStructureUploader | Thread: 8 | Initialize for CssStructureUploader complete
2006-10-27 16:13:03Z | Module: Initializer | Thread: 8 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Classification.
2006-10-27 16:13:03Z | Module: Rosetta | Thread: 8 | Entering Initialize in RosettaReportUploader
2006-10-27 16:13:03Z | Module: Rosetta | Thread: 8 | Exiting Initialize for RosettaReportUploader
2006-10-27 16:13:03Z | Module: Initializer | Thread: 8 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Reporting.
2006-10-27 16:13:03Z | Module: WSS | Thread: 8 | Entering Initialize in WssSiteCreator
2006-10-27 16:13:03Z | Module: WSS | Thread: 8 | Site information: Title = "EviivoDev" Description = "This team project was created based on the 'MSF for Agile Software Development - v4.0' process template."
2006-10-27 16:13:03Z | Module: WSS | Thread: 8 | Base site url: http://EVSVROBX08/sites
2006-10-27 16:13:03Z | Module: WSS | Thread: 8 | Admin site url: http://EVSVROBX08:17012/_vti_adm/admin.asmx
2006-10-27 16:13:04Z | Module: WSS | Thread: 8 | Exiting Initialize for WssSiteCreator
2006-10-27 16:13:04Z | Module: Initializer | Thread: 8 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Portal.
2006-10-27 16:13:04Z | Module: GSSStructureUploader | Thread: 8 | Entering Initialize in GssStructureCreator
2006-10-27 16:13:04Z | Module: GSSStructureUploader | Thread: 8 | Exiting Initialize for GssStructureCreator
2006-10-27 16:13:04Z | Module: Initializer | Thread: 8 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Groups.
---begin Exception entry---
Time: 2006-10-27 16:13:07Z
Module: Initializer
Event Description: TF30207: Initialization for plugin "Microsoft.ProjectCreationWizard.WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ConnectionException
Exception Message: TF26173: Team Foundation could not connect to the application tier. Check that you have a network connection and that the Team Foundation Server is available. If the problem persists, contact your Team Foundation Server administrator.
Stack Trace:
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr)
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation.Client.ITeamFoundationServerObject.Initialize(TeamFoundationServer teamFoundationServer)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore..ctor(TeamFoundationServer teamFoundationServer)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Initialize(ProjectCreationContext ctxt)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.InitializePlugins(MsfTemplate template, PcwPluginCollection pluginCollection)
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: The request failed with HTTP status 503: TF30045: The instance information has not been configured or is not available for this Team Foundation Server. Please contact your Team Foundation Server administrator..
WebException: Response Status Code: ServiceUnavailable
WebException: Response Status Message: TF30045: The instance information has not been configured or is not available for this Team Foundation Server. Please contact your Team Foundation Server administrator.
WebException: Status : ProtocolError
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy.GetMetadata(MetadataTableHaveEntry[] metadataHave, String& dbStamp, Boolean useMaster, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientService.GetMetadata(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at CProdStudioBackendChannel.GetMetadata(CProdStudioBackendChannel* , tagVARIANT* pvarLocale, tagVARIANT* pvarComparisonStyle, PsUserDisplayModeEnum* pDisplayMode, Boolean* pfUseSIDSecurity, Int32 fNoFire, Int32 fByPassFireOnThis)
-- end Inner Exception --
--- end Exception entry ---

2006-10-27 16:13:07Z | Module: Engine | Thread: 8 | Attempting to delete MSF folder "C:\Documents and Settings\mvonde\Local Settings\Temp\2\TPW_tmp63.tmp"
2006-10-27 16:13:07Z | Module: Engine | Thread: 8 | The temporary folder C:\Documents and Settings\mvonde\Local Settings\Temp\2\TPW_tmp63.tmp used to store the process template was removed.

Regards


 
 
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi

I checked all the permissions and the user accounts and it was all fine. I then decided to reinstall from a two server setup to a single server setup jsut in case I missed something.

I can create a project with no problem from the domain\TFSSetup account which was used to setup up VSTS but when I try and add a work item from my standard user account (Project Lead Permissions) I get "TF26204: The account you entered is not recognized. Contact your Team Foundation Server administrator to add your account."

When I try and create a new Team Project from stad user account, I get the same error in my first post.

Thanks for the ideas James, any more

Cheers
Jock



 
 
James Manning - MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Error
Insufficient permissions on the Windows SharePoint Services at mango to create a new site.
Explanation
The permissions granted your user name and ID on the Windows SharePoint Services at mango do not allow you create a new portal site. You must be granted specific root permission by the server administrator.

He's right - you don't have permission on Sharepoint. This MSDN page should help out:

http://msdn2.microsoft.com/en-us/library/ms252476.aspx



 
 
Luis Fraile





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

There are also a couple of tools for managing all the required permissions from one GUI, one is TfsAdminUtil avaliable at Codeplex, I have tested it, and it's really simple to use it.

And recently I have seen new one, which has nice look, and you can find it here http://blogs.microsoft.co.il/files/folders/leon/entry5018.aspx



 
 
Matthew Hoover - MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

The first thing to verify is that the users do actually have permission to access TFS. The TfsSecurity utility is located in the Tools directory under the TFS install dir. You can get information on a user with the following command line:

TfsSecurity /server:<server name> /imx <domain\username>

If the user does not exist in the TFS databases, you will get the following output:

D:\>tfssecurity /server:<server name> /imx billg

TFSSecurity - Team Foundation Server Security Tool

(C) Copyright 2006 Microsoft Corporation. All rights reserved.

The target Team Foundation Server is <server name>.

Resolving identity "billg"...

Error: The identity cannot be resolved.

Otherwise, you will get a list of groups that the user belongs to, which will let us figure out if the user should be able to access TFS.

--matt hoover

Software Design Engineer

Visual Studio Team Foundation


 
 
RickyOtto





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

This has been resolved. I followed the points raised in an earlier thread

Regards

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=591087&SiteID=1


 
 
James Manning - MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

the codeplex one is just "TFSAdmin" - TfsAdminUtil is in-box (part of the product) with TFS v1.

http://www.codeplex.com/TFSAdmin



 
 
Sugan_Dave





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

I have tried it with TFSSetup User and also with Built in Administrator . I have also set the permission for these users as SharePoint Administrator and also ContentManager role in SQL Server reporting services.

regards

Suganthi


 
 
Luis Fraile





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Ups right, I wrote it fas and I added the "util" by mistake, sorry

 
 
Sugan_Dave





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Windows Sharepoint services -> Virtual Server ListVirtual Server List shows the Team Foundation Server shows as not installed.

http://192.168.124.2:8080/ Not Installed Extend

 
 
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi Matt

Here is the output of tfssecurity for my user account:

<output>

C:\>TFSSecurity.exe -imx /server:vsts ict\j.forrester
TFSSecurity - Team Foundation Server Security Tool
(C) Copyright 2006 Microsoft Corporation. All rights reserved.

The target Team Foundation Server is VSTS.
Resolving identity "ict\j.forrester"...

SID: valid SID

DN: Valid ou structure

Identity type: Unknown
Logon name: ICT\J.Forrester
Display name: Jock Forrester
Description:

Member of 3 group(s):
a Angel [SERVER]\Team Foundation Administrators
e Angel [SERVER]\Team Foundation Valid Users
a Angel [ICTHelpdesk]\Project Administrators

Done.

</output>

What is the next step

Thanks for your help

Jock


 
 
Matthew Hoover - MSFT





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

One problem is that the Identity type is Unknown. It should be Windows user.

Is there anything special about this user Are the user having problems AD users, or are they local users on the app tier If AD is involved, are there more than one forest, and are there trust relationships between all of the domains

--Matt Hoover
Software Design Engineer
Microsoft Team Foundation Server


 
 
Raja.M





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Change Application pool identity from Nerwork Services to Domain Account for stsAdminAppPool in IIS.

Regards

Raja.M


 
 
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi

Sorry for the long delay in replying, I have been away at two conferences recently. I don;t think that I had the user as a local user of the app tier. I have just reinstalled the box again (have finally received the full version - was using the trial version). I will set it up the same as before and test it and then add the user to the local users group.

I'll let you know how it works out.

Again, thanks for you time Matt.

Cheers

Jock


 
 
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi Matt

I reinstalled the box, added the user to the local users group on the app tier and I still got the same error. Running the tfssecurity app the user was still of an unknown type.

I then added a few other users in the Domain as Project Admins and some of them came back as a Windows user in the tfssecurity app. The only difference between the users the I added is that my account type is InetorgPerson and the other is a User type.

I am going to redo my user as a "User" and see how that works out. I will post back later today.

Cheers
Jock


 
 
JockForrester





PostPosted: Team Foundation Server - Administration, Team Project Creation Failed Top

Hi

Changing my AD user type to User from InetOrgPerson has done the trick.

Thanks for your help.

Cheers
Jock