Re: Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server

Scrum for Team System - v2.x Support

Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server


robledosm 07-23-2008, 2:21 PM
I've installed sTFS 2.1 and the installer reports no error but I'm having problems trying to create a new project on my company's TFS2008.

The log looks like:
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
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: TF30272: Template not found on the server
Stack Trace:
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)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --

I ran on a console:
stsadm -o enumtemplates
This is the response:
VSTS_MSFAgile - Language: 1033 - Site Template: _GLOBAL_#1 - Template Id: 1
VSTS_MSF_CMMI - Language: 1033 - Site Template: _GLOBAL_#2 - Template Id: 1

Thanks in advance

Re: Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server


Crispin Parker 07-23-2008, 5:16 PM
Hi Robledosm,

It appears that the SfTS sharepoint template didn't get installed. In order to find out what has caused the template to be skipped, please run the installer but this time using the MSIEXEC command line utility with verbose logging enabled.

If the answer isn't obvious from the log, please post it up and I will take a look.


Regards,

Crispin Parker,
Techncial Consultant,
Conchango.

"It is better to light a candle than to curse the darkness"

Re: Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server


robledosm 07-23-2008, 6:24 PM
Hi Crispin,

Thanks for your prompt response. I ran the installer with verbose logging enabled. Attached is the log file.

I found this message: "CAQuietExec:  Error 0x8007006d: Failed to read from handle". But I don't know what it means or how to fix it.

Kind regards,

Santiago.


Re: Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server


Crispin Parker 07-24-2008, 10:11 AM
Hi,

I've taken a quick look at your installation log. You are correct in spotting the "Cannot read from handle" error, but this does not seem to be the cause of your missing SharePoint portal template.

Lines:

MSI (s) (78:50) [10:51:37:877]: Skipping action: STSADMAddSolutionInstall.Command (condition is false)
MSI (s) (78:50) [10:51:37:877]: Skipping action: STSADMAddSolutionInstall.Execute (condition is false)
MSI (s) (78:50) [10:51:37:877]: Skipping action: STSADMDeploySolutionInstall.Command (condition is false)
MSI (s) (78:50) [10:51:37:877]: Skipping action: STSADMDeploySolutionInstall.Execute (condition is false)

Indicate the the installation conditions for the SharePoint template have not been meet. This may be caused by not selecting the "Scrum for Team System - WSS 3.0 Site Template" feature during the installation, or the target system not having a valid WSS 3.0 environment to install the template on to.

If your SharePoint server is located on a different machine to the TFS environment, you will need to run the installer on that machine also.

Crispin.

"It is better to light a candle than to curse the darkness"

Re: Error Creating Project TF30162: Task "SharePointPortal" from Group "Portal" failed / TF30272: Template not found on the server


robledosm 07-24-2008, 2:48 PM
Hi

Will take a look at this and post the results.

Thanks Crispin!


© Conchango plc 2006

Powered by Community Server, by Telligent Systems