Successful install but cant create project (Sharepoint template error) - Scrum for Team System
Welcome to Scrum for Team System Sign in | Join

Scrum for Team System - v2.x Support

Started by Crispin Parker at 10-09-2008 9:04 AM. Topic has 28 replies.

Print Search
Sort Posts:    
   10-09-2008, 9:04 AM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)
It seems that I missed a step out of my previous instructions. There needs to be a STSADM deployment command before the IISReset.

The correct sequence is:

  • stsadm.exe -o addsolution -filename "C:\Program Files\Conchango\Scrum for Team System\SFTS WSS Template\Conchango.TeamSystem.Scrum.Sharepoint.wsp"

  • stsadm.exe -o deploysolution -name "Conchango.TeamSystem.Scrum.Sharepoint.wsp" -local -allowgacdeployment -allcontenturls -allowcaspolicies

  • "c:\windows\System32\iisreset.exe" /RESTART

Of course, none of this would be an issue if your TFS environmnet was correctly configured and you used the installer.

Crispin.

"It is better to light a candle than to curse the darkness"
   Report 
   10-09-2008, 9:43 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)
Of course if everything worked perfectly we would not need support forums either. I dont recall you pointing out what was wrong with my environment. And I did use the installer the first 10 times. so now the solution is there it is deployed the template is there I can see it. Whenever I go to create the project though it still tells me that it cannot upload the sharepoint files. When I look at the messages in the even view I get a message saying that the Sharepoint template is missing or invalid. when trying to create. I know it is not missing. 

   Report 
   10-10-2008, 9:45 AM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)

Attachment: Conchango.TeamSystem.Scrum.Sharepoint.zip
Sorry to hear you are still experiecning issues with the SharePoint component of the Scrum for Team System process template.

I'm not sure where we can go from here, as stated the inner workings of SharePoint are not my area. I have attached a copy of the SharePoint solution file from a working SfTS instance. Please feel free to give it a try.


Thanks,

Crispin.

PS: The reason I suggested that your environment set up may not be 100% correct, is that (AFAIK) you are the first person to report this error in over 19000 downloads. This led me to believe that the problem may be caused by an issue in your application tier outside of our control. Sorry if you found this unhelpful, it was not my intention. I'm here to help were ever I can.

"It is better to light a candle than to curse the darkness"
   Report 
   10-10-2008, 12:06 PM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)

Attachment: SfTSWSSTest.txt
Right I have deceided that I need to know a little more about the SharePoint component of the SfTS template, so I've done a little research.

System Requirments:

WSS 3.0 (MOSS 2007 also works but needs some manual adjustments)

Permissions:

Executing account must be a memeber of local group: WSS_ADMIN_WPG

I then decieded to script the complete removal, re-installation and site creation of the Scrum for Team System SharePoint solution.

  • List the current installed solutions:

    stsadm -o enumsolutions

  • List the current installed templates

    stsadm -o enumtemplates

  • Delete the "conchango.teamsystem.scrum.sharepoint.wsp" solution

    stsadm -o deletesolution -name "conchango.teamsystem.scrum.sharepoint.wsp" -override

  • Delete the SCRUM template

    stsadm -o deletetemplate -title SCRUM

  • Restart IIS

    "c:\windows\System32\iisreset.exe" /RESTART

  • List the current solutions

    stsadm -o enumsolutions

  • List the current templates

    stsadm -o enumtemplates

  • Add solution to SharePoint

    stsadm.exe -o addsolution -filename "C:\Program Files\Conchango\Scrum for Team System\SFTS WSS Template\Conchango.TeamSystem.Scrum.Sharepoint.wsp"

  • Deploy solution to web farm

    stsadm.exe -o deploysolution -name "Conchango.TeamSystem.Scrum.Sharepoint.wsp" -local -allowgacdeployment -allcontenturls -allowcaspolicies -force

  • List the current solutions

    stsadm -o enumsolutions

  • List the current templates

    stsadm -o enumtemplates

  • Create a test site

    stsadm -o createsite -url http://TFSRTM08/sites/TestSite -ownerlogin TFSRTM08\TFSSETUP -owneremail Someone@SomeHost.com -title TestSite -sitetemplate SCRUM
* replace the green text with relevant values

I ran through the entire listed process on my test system and all worked as expected. I also discovered that the STSADM command line utility makes log files, which can be viewed under:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS

The file attachment is a batch file of all the above commands. You will need to un-REM the "create a test site" command and add values for your environment.

Please post back and let me know how you get on.



Crispin.

"It is better to light a candle than to curse the darkness"
   Report 
   10-10-2008, 9:06 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)

Attachment: SFTSScript output1.txt
Okay I tried this out which is better than typing these in thanks. It still does not look like th template is getting loaded with the solution see my output I am going to put in the commands to load the Template I extracted and see how that goes.
   Report 
   10-10-2008, 9:32 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)

Attachment: SFTS_ScriptOutput_3.txt
Okay so I adjusted the script to load the template which it did. so all operations were successful but still no site is being creeated. I ran this script as my self and admin and as our sitecollection admin/owner account in the last part neither of which completed.
   Report 
   10-10-2008, 10:10 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)
is it possible that the .net framework 3.5 is getting in the way?
   Report 
   10-11-2008, 12:37 PM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)
.Net 3.5 shouldn't cause any problems AFAIK. The batch file output you have posted indicates that the solition is not getting deployed. The value of the "deloyed" XML node should be "true".

Is there any clues in the STSADM log files? I gave the location of the log files in my previous post above.

Crispin
"It is better to light a candle than to curse the darkness"
   Report 
   10-13-2008, 4:05 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)

Attachment: STSADM Log.txt
Ok I didnt see that about the deployed I was just looking for the operation successful message. Attached is the portion of the log you were asking about I did not see anything in the log. I searched for some keywords and scanned through it not seeing anything out of place.
   Report 
   10-13-2008, 5:13 PM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)
Every thing in your log file matches the log file of my test machine. Which doesn't help at all!

Looking at you previous posting I noticed that the [stsadm -o emunsolutions] output is different in two places:

My output:

<Solutions Count="1">
   <Solution Name="conchango.teamsystem.scrum.sharepoint.wsp">
      <Id>566d05e7-28a8-4612-b3f4-fd0119c6da50</Id>
      <File>conchango.teamsystem.scrum.sharepoint.wsp</File>
      <Deployed>TRUE</Deployed>
      <WebApplicationSpecific>TRUE</WebApplicationSpecific>
      <ContainsGlobalAssembly>TRUE</ContainsGlobalAssembly>
      <ContainsCodeAccessSecurityPolicy>FALSE</ContainsCodeAccessSecurityPolicy>
      <Deployment WebApplication="http://tfsrtm08/" />
      <LastOperationResult>DeploymentSucceeded</LastOperationResult>
      <LastOperationTime>10/13/2008 9:02 AM</LastOperationTime>
   </Solution>
</Solutions>


Your output

<Solutions Count="1">
   <Solution Name="conchango.teamsystem.scrum.sharepoint.wsp">
      <Id>566d05e7-28a8-4612-b3f4-fd0119c6da50</Id>
      <File>Conchango.TeamSystem.Scrum.Sharepoint.wsp</File>
      <Deployed>FALSE</Deployed>
      <WebApplicationSpecific>TRUE</WebApplicationSpecific>
      <ContainsGlobalAssembly>TRUE</ContainsGlobalAssembly>
      <ContainsCodeAccessSecurityPolicy>FALSE</ContainsCodeAccessSecurityPolicy>

      <LastOperationResult>DeploymentSucceeded</LastOperationResult>
      <LastOperationTime>10/10/2008 3:23 PM</LastOperationTime>
   </Solution>
</Solutions>


In your output the "Deployed" value is false and there is no "Deployment" node. Just a stab in the (already pitch black) dark; try the following command line that includes the url to deploy to.

stsadm.exe -o deploysolution -name "Conchango.TeamSystem.Scrum.Sharepoint.wsp" -local -allowgacdeployment -allowcaspolicies -force -url "http://MMOTFSDEV/"

Edit

Had to remove the "-allcontenturls" command switch



Then post the solution enumeration [stsadm -o emunsolutions] output again

Crispin.


"It is better to light a candle than to curse the darkness"
   Report 
   10-13-2008, 7:42 PM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)
Success
I followed the command line that you added which didnt work on the outset but I think that either -url "http://mmotfsdev/sites" was what was needed or I also changed the -local flag to -immediate. So one of those tow changes allowed me to get it deployed. I was able to create a TFSProj finally using this template. Not sure why this was so much trouble did the /sites make that much difference?
Thanks for the help.
   Report 
   10-13-2008, 8:31 PM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)
At last!

I just hope that you find the template useful after all that effort to get it installed.

Crispin

PS Don't forget to check out the Task Board for Team System while it is still available for free in beta...
"It is better to light a candle than to curse the darkness"
   Report 
   10-21-2008, 3:30 AM
bthomas is not online. Last active: 10/16/2008 7:07:17 PM bthomas

Top 25 Posts
Joined on 10-01-2008
Posts 20
Re: Successful install but cant create project (Sharepoint template error)

Attachment: Conchangov2Script output.txt
Sooo I installed version 2.2 and had the same problem as before with the install I attempted to run the script again on this like before only it didnt work this time attached is the output.

Additionally when I ran the installer it does not ask me to deploy to the website so i assume it must have a way of already seeing that it is installed?
   Report 
   10-21-2008, 8:33 AM
Crispin Parker is not online. Last active: 11/13/2008 8:15:53 PM Crispin Parker

Top 10 Posts
Joined on 11-13-2007
Posts 661
Re: Successful install but cant create project (Sharepoint template error)
The script output you have posted indicates that the solution depolyment is waiting in a queue as a "SolutionDeploymentJob".

This indicates to me that the solution will be deployed as soon as the SharePoint background process gets around to it.

Run the SolutionEnum again and see if the status has changed.



Crispin.
"It is better to light a candle than to curse the darkness"
   Report 
  Page 2 of 2 (29 items) < 1 2
Scrum for Team ... » Version 2.x - T... » Scrum for Team ... » Successful install but cant create project (Sharepoint template error)

Powered by Community Server, by Telligent Systems