index > Team Foundation Server - Administration > New project creation fails

New project creation fails


Hello,

We're trying to create a new project on a TFS which has been upgrade from an Evaluation version to RTM (Workgroup). The TFS already has a project on it (so this is the second project we are creating). However, when we try do to this - we get the following error:

TF30162: Task "SharePointPortal" from Group "Portal" failed

and further down in the dialog box:

Exception Message: The operation has timed out

We've tried creation a couple of times, and the error is reproducible. What coudl be the problem? Below are some of the lines from the log file generated. I can post more lines if required.

regards

Oz

2006-09-15 12:56:59Z | Module: SccTask | Thread: 10 | User chose to create new empty folder $/AfroMuse
2006-09-15 12:57:01Z | Module: Engine | Task "VersionControlTask" from Group "VersionControl" completed with success | Completion time: 2.734375 seconds
2006-09-15 12:57:01Z | Module: Engine | Thread: 9 | Running Task "" from Group ""
2006-09-15 12:57:01Z | Module: Engine | Thread: 8 | Running Task "SharePointPortal" from Group "Portal"
2006-09-15 12:57:01Z | Module: WSS | Thread: 8 | Language id: 1033
---begin Exception entry---
Time: 2006-09-15 13:02:02Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: The operation has timed out
WebException: Status : Timeout
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.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.Client.PcwException
Exception Message: The operation has timed out
WebException: Status : Timeout
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifyLcidOnServer(ProjectCreationContext ctxt, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: The operation has timed out
WebException: Status : Timeout
Stack Trace:
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Admin.GetLanguages()
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifyLcidOnServer(ProjectCreationContext ctxt, Int32 lcid)
-- end Inner Exception --
--- end Exception entry ---

2006-09-15 13:02:02Z | Module: Engine | Thread: 8 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2006-09-15 13:02:02Z | Module: Engine | Thread: 8 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2006-09-15 13:02:02Z | Module: Engine | Thread: 8 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2006-09-15 13:02:02Z | Module: Engine | Thread: 8 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2006-09-15 13:02:02Z | Module: Engine | Thread: 5 | Attempting to delete MSF folder "C:\Documents and Settings\KPLtea\Local Settings\Temp\TPW_tmp43.tmp"
2006-09-15 13:02:02Z | Module: Engine | Thread: 5 | The temporary folder C:\Documents and Settings\KPLtea\Local Settings\Temp\TPW_tmp43.tmp used to store the process template was removed.
---begin Exception entry---
Time: 2006-09-15 13:02:10Z
Module: Wizard
Event Description: TF30002: The New Team Project Wizard encountered an error deleting the project AfroMuse
Exception Type: System.Net.WebException
Exception Message: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://ubldms/default.aspx?ReturnUrl=%2fsites%2fAfroMuse%2f_vti_bin%2fLists.asmx&AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>

--.
WebException: Response Status Code: Found
WebException: Response Status Message: Found
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.Proxy.Portal.Lists.GetListCollection()
at Microsoft.TeamFoundation.Client.TeamProjectDeleter.WssSiteExists()
at Microsoft.TeamFoundation.Client.TeamProjectDeleter.DoWssDelete()
--- end Exception entry ---

---begin Exception entry---
Time: 2006-09-15 13:02:10Z
Module: Wizard
Event Description: TF30002: The New Team Project Wizard encountered an error deleting the project AfroMuse
Exception Type: System.Net.WebException
Exception Message: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://ubldms/default.aspx?ReturnUrl=%2fsites%2fAfroMuse%2f_vti_bin%2fLists.asmx&AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>

--.
WebException: Response Status Code: Found
WebException: Response Status Message: Found
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.Proxy.Portal.Lists.GetListCollection()
at Microsoft.TeamFoundation.Client.TeamProjectDeleter.WssSiteExists()
at Microsoft.TeamFoundation.Client.TeamProjectDeleter.DoWssDelete()
--- end Exception entry ---

ossent

Hi,

At the time of the failure the project creation wizard is attempting to access the 'admin' web service. This web service runs on the same port as WSS central administration (http://<servername>:<adminport>/_vti_adm/admin.asmx). The port number will sometimes change, especially when applying patches, which means that the port number that TFS has is incorrect. You can check what the port number TFS with the following steps:

1. Start IE on the AT machine and browse to http://localhost:8080/Services/v1.0/registration.asmx

2. Click on 'GetRegistrationEntries'

3. In the 'toolid' box, enter 'wss' and click 'Invoke'

The results will be some XML, you can see the 'WssAdminService' element and the url that it is trying to reach to use that service. Please verify that you can get to that url.

-Dennis

Dennis Habib MSFT

Hi Dennis,

Thanks for your reply. Here's what happens when i click on the Invoke button on the page you mentioned:

System.Web.Services.Protocols.SoapException: TF50309: You do not have sufficient permissions to perform this operation. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Microsoft.TeamFoundation.Server.Registration.GetRegistrationEntries(String toolId)
   --- End of inner exception stack trace ---
   at Microsoft.TeamFoundation.Server.Registration.GetRegistrationEntries(String toolId)

How can get the appropriate permissions reassigned?

Thanks

Oz

ossent

I've managed to resolve that issue by using a different administrator account. However, now I get another error:

Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at UBLDMS
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at UBLDMS. The reason for the failed connection cannot be determined at this time.
Because the connection failed, the wizard was not able to complete creating
the Windows SharePoint Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.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.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at UBLDMS
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at UBLDMS. The reason for the failed connection cannot be determined at this time.
Because the connection failed, the wizard was not able to complete creating
the Windows SharePoint Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: The request failed with HTTP status 503: Service Unavailable.
WebException: Response Status Code: ServiceUnavailable
WebException: Response Status Message: Service Unavailable
WebException: Status : ProtocolError

Seems to be a Sharepoint issue judging by the feedback from others in this forum. However, i have already checked the port number which is identical that that on Sharepoint Central Admin. I can also load and run these pages:

http://localhost:8080/Services/v1.0/registration.asmx/GetRegistrationEntries

and

http://localhost:17012/_vti_adm/admin.asmx

What could be the issue now?

thanks

Oz

ossent
Yes, this sounds like a WSS configuration problem now. You may check that the accounts for the application pools on the AT for WSS are valid and can access the database.
Dennis Habib MSFT

These looks to have resolved things.

Regards

http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Diagnose_IIS_401_Access_Denied.aspx

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

ossent

Help!

I've been reinstalling TFS 3x times now and I cannot get past creating a new Team Project. My problem is similar than the above, at the end the wizard just give a useless error stating that some problem has occured and cannot tell me what it is right now.... anyhoe, my exception is just a bit different (see below)

I am using hte 180trial version if that makes any difference...

I also made sure that the Central admin port is correctly configured (17012)

http://localhost:8080/Services/v1.0/registration.asmx/GetRegistrationEntries

and

http://localhost:17012/_vti_adm/admin.asmx

--begin Exception entry---
Time: 10/11/2006 8:53:22 AM
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at <srv>
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at <srv>. The reason for the failed connection cannot be determined at this time.
Because the connection failed, the wizard was not able to complete creating
the Windows SharePoint Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.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.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at <srv>
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at <svr>. The reason for the failed connection cannot be determined at this time.
Because the connection failed, the wizard was not able to complete creating
the Windows SharePoint Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: Unable to connect to the remote server
WebException: Status : ConnectFailure

Stack Trace:

at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Sites.GetSiteTemplates(UInt32 LCID, Template[]& TemplateList)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.Sockets.SocketException
Exception Message: No connection could be made because the target machine actively refused it
Stack Trace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
-- end Inner Exception --
--- end Exception entry ---

Pieter Claassens
reply 7

You can use google to search for other answers

 

More Articles

Answering some user questions about TFS failures
Upgrade problem - B3R to RTM
How to connect to TFS on untrusted domain
Adding Web Parts to WSS Project Portal
Problem with adding new user to group membership
Support for WSS Form Libraries in Team Explorer
SQL Maintenance on TFS
WSS templates into TFS??
Project Portal Sharepoint Search is slow
Cannot connect to TFS
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Random server 400 errors
several TFS projects with one SharePoint…
Error unable to connect to the remote se…
Where i can see about what TFS Version i…
Does TFS send alerts/notifications? if s…
How can I delete a Team Project
Problems when moving from Beta3 refresh …
SOAP Exception while connecting to TFS p…
Create New project using macro
Service Account
Custom team project creation failed on R…
Team System - Renaming a team project
Can i force developers to add comments a…
Changes in behavior of the DomainProject…
TF53010: An unexpected condition has occ…

Hot Articles

Symbolic name does not apply everywhere
Can i force developers to add comments a…
IEv6 Error
Can't delete projects using TFSDeletePro…
Problem with adding new user to group me…
Backup ,Recovery TFS server
Two dialogs for users management in Team…
Performance problems running TFS on larg…
Complications with installing TFS on unt…
Adding Users
Answering some user questions about TFS …
Error unable to connect to the remote se…
AdminProjectRights problem
Desperate: Add a user to the Team Founda…
How to connect to TFS on untrusted domain

Recommend Articles

Identify who has code checked out
How can I undelete a document from Proje…
Removing project files from source contr…
IEv6 Error
error when creating a new project in TFS
Could not resolve the user or group.
User adding problem
Installing Team Foundation for Use over …
view tasks from team explorer at the pro…
Team System Warehouse Problems
IP Address Change
show project portal
Problem with workgroup edition installed…
Can TFS build .Net 1.1? products
TFSDeleteProject Doesn't Remove Project …