cannot create a new team project

Hello.

I installed TFS successfully into single machine and could connect to TFS using TFSSETUP account.

But once I tried to create a new team project, I got an error message.

"Project creation failed with error: "Initialization failed for plugin(s): 'Microsoft.Pcw.wss'""

The TFSSETUP account is a member of Administrators group and Namespace Administrator(ADAM).

My environment is below.
- Windows Server 2003 with SP1
- IIS 6.0
- SQL Server 2005 April Ctp
- Windows SharePoint Service 2.0
- Team Foundation Server


Log messages are atacched. Please help me.

----------------------

05/02/2005 11:41:10.437 | Module: ELeadServiceMediator | URL for eLead web service retrieved as "http://vstf:8080/bisserver/EleadWebService.asmx" from the registration service | Completion time: 0 seconds
05/02/2005 11:41:10.796 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0.359375 seconds
05/02/2005 11:41:12.703 | Module: ELeadServiceMediator | Template Information for domain "vstf" retrieved from eLead web service | Completion time: 1.90625 seconds
05/02/2005 11:41:26.281 | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0.390625 seconds
05/02/2005 11:41:26.359 | Module: Engine | Project creation permissions retrieved | Completion time: 0.078125 seconds
05/02/2005 11:41:27.062 | Module: ELeadServiceMediator | Downloaded process template file from eLead web service | Completion time: 0.6875 seconds
05/02/2005 11:41:27.859 | Module: Engine | Wrote compressed process template file | Completion time: 0.671875 seconds
05/02/2005 11:41:31.296 | Module: Engine | Extracted process template file | Completion time: 3.4375 seconds
05/02/2005 11:41:31.421 | Module: Engine | Thread: 8 | Starting Project Creation for project "uuu" in domain "vstf"
05/02/2005 11:41:33.640 | Module: Engine | User information retrieved from GSS | Completion time: 2.203125 seconds
05/02/2005 11:41:33.656 | Module: Initializer | Thread: 8 | Starting plug-in inialization
05/02/2005 11:41:33.656 | Module: CssStructureUploader | Thread: 8 | Entering Initialize in CssStructureUploader
05/02/2005 11:41:33.671 | Module: CssStructureUploader | Thread: 8 | Initialize for CssStructureUploader complete
05/02/2005 11:41:33.671 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.Css" succeeded
05/02/2005 11:41:33.671 | Module: Rosetta | Thread: 8 | Entering Initialize in RosettaReportUploader
05/02/2005 11:41:55.468 | Module: Rosetta | Thread: 8 | Exiting Initialize for RosettaReportUploader
05/02/2005 11:41:55.468 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.Rosetta" succeeded
05/02/2005 11:41:55.468 | Module: WSS | Thread: 8 | Entering Initialize in WssSiteCreator
---begin Exception entry---
Time: 05/02/2005 11:42:05.609
Module: Initializer
Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: " The request failed with HTTP status 401: Unauthorized."
Exception Type: System.Net.WebException
Exception Message:  The request failed with HTTP status 401: Unauthorized.
WebException: Response Status Code: Unauthorized
WebException: Response Status Message: Unauthorized
WebException: Status : ProtocolError
WebException : ToString() = System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   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.VisualStudio.ELead.WssProxy.UserGroup.GetUserInfo(String userLoginName)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.WssSiteCreator.Initialize(ProjectCreationContext context)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
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.VisualStudio.ELead.WssProxy.UserGroup.GetUserInfo(String userLoginName)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.WssSiteCreator.Initialize(ProjectCreationContext context)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
--- end Exception entry ---

05/02/2005 11:42:05.640 | Module: GSSStructureUploader | Thread: 8 | Entering Initialize in GssStructureCreator
05/02/2005 11:42:06.046 | Module: GSSStructureUploader | Thread: 8 | Exiting Initialize for GssStructureCreator
05/02/2005 11:42:06.046 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.gss" succeeded
05/02/2005 11:42:10.906 | Module: Currituck | Thread: 8 | About to begin the creation of project uuu on server vstf
05/02/2005 11:42:10.906 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.currituck" succeeded
05/02/2005 11:42:11.000 | Module: SccTask | Thread: 8 | User chose to create new empty folder $/uuu
05/02/2005 11:42:11.156 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.scc" succeeded
---begin Exception entry---
Time: 05/02/2005 11:42:11.156
Module: Engine
Event Description: Project creation failed
Exception Type: Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializationFailedException
Exception Message: Initialization failed for plugin(s): 'Microsoft.Pcw.wss'
Stack Trace:
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.TryCreateProject(ILogHandler logHandler, String& completionMessage)
--- end Exception entry ---

05/02/2005 11:42:11.156 | Module: Engine | Thread: 8 | Attempting to delete MSF folder "C:\Documents and Settings\TFSSETUP\Local Settings\Temp\PCW_05-02-2005_11.41.26"
---begin Exception entry---
Time: 05/02/2005 11:42:11.281
Module: Engine
Event Description: Deleting directory "C:\Documents and Settings\TFSSETUP\Local Settings\Temp\PCW_05-02-2005_11.41.26" failed
Exception Type: System.UnauthorizedAccessException
Exception Message: Access to the path 'CssTasks.xml' is denied
Stack Trace:
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.SafeRemoveDirectory(String folderToRemove)
--- end Exception entry ---




Answer this question

cannot create a new team project

  • modestob

    Daniel, I feel your pain. Looks like microsoft would have some documentation on how to proceed with TFS after installation.
  • cfoks

    http://lab.msdn.microsoft.com/teamsystem/

    Im sorry.. its not directly an answer. I was looking into this page to have an idea about foundation. I think it can be helpful.


    good works


  • Colin Desmond

    Hi all,

    I can (finally!!!) create a new team projet. Follow EVERY step in the instructions that are in the file dv_VSETInstall.chm. This file is in the root directory of Team Foundation Server Beta 2 cd (or iso file). Also, don't install the SP1 of Windows 2003. I don't really know what the SP1 modifies in Windows, but it plays with the security!!


  • scheppsr77

    Justin,

    To get single-server installation to work, you have to follow the order in the instructions to the letter.  Changing the order of the components will result in it not working (you have to get the SQL 2k5 and SharePoint ordering correct, or it's broken).  You must also split Team Foundation and SharePoint into separate app pools because they require separate .NET framework versions.

    For example, see this topic.
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=6662

    Dave Bost talks about the importance of doing everything "by the book" in this blog post.
    http://davebost.com/blog/archive/2005/04/22/486.aspx

    Buck

  • Steph74

    Hi,

    I also have a problem to create a new team project. I'm able to create and access a WSS site from the account i'm running. Also, I have access to my team foundation server via the Visual Studio client. Help me!



    Here is my error log:

    05-04-2005 03:21:30.855 | Module: ELeadServiceMediator | URL for eLead web service retrieved as "http://berne:8080/bisserver/EleadWebService.asmx" from the registration service | Completion time: 0,0156239 seconds
    05-04-2005 03:21:31.480 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0,624956 seconds
    05-04-2005 03:21:31.808 | Module: ELeadServiceMediator | Template Information for domain "berne" retrieved from eLead web service | Completion time: 0,3281019 seconds
    05-04-2005 03:21:48.479 | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0,624956 seconds
    05-04-2005 03:21:48.682 | Module: Engine | Project creation permissions retrieved | Completion time: 0,2031107 seconds
    ---begin Exception entry---
    Time: 05/04/2005 03:21:48.744
    Module: Engine
    Event Description: Project creation failed
    Exception Type: Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException
    Exception Message: Retrieving MSF methodology failed
    Stack Trace:
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.DownloadAndExtractTemplate(Int32 methodologyIndex)
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.TryCreateProject(ILogHandler logHandler, String& completionMessage)
     --   Inner Exception   --
    Exception Type: System.Net.WebException
    Exception Message: The remote server returned an error: (401) Unauthorized.
    WebException: Response Status Code: Unauthorized
    WebException: Response Status Message: Unauthorized
    WebException: Status : ProtocolError
    WebException : ToString() = System.Net.WebException: The remote server returned an error: (401) Unauthorized.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.ELeadServiceMediator.GetTemplateData(Int32 methodologyIndex)
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.DownloadAndExtractTemplate(Int32 methodologyIndex)
    Stack Trace:
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.ELeadServiceMediator.GetTemplateData(Int32 methodologyIndex)
       at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.DownloadAndExtractTemplate(Int32 methodologyIndex)
     -- end Inner Exception --
    --- end Exception entry ---




  • PStJTT

    I'm quite sure I did, I'll make sure I do next time - thanks for the pointer


  • Sandeepji Choudhary

    Thank you for your reply. I found this blog and re-installed all correct order.(again and again!)

    http://blogs.msdn.com/robcaron/archive/2005/04/21/410484.aspx

    I started up Active Directory setting and next IIS and SharePoint. Now I can success to create a new team project.

    Thanks,
    Atsu.


  • bangorme

    Hi there, I have the same problem as you did -

    I was following the single machine deployment

    I installed W2k3 Server enterprise, then setup AD, then SQL 2k5, then sharepoint (stsv2 with sp1 bundled) but when I accessed the sharepoint homepage I got the same security exception.

    I looked into this and found that SQL2k5 had configured the default website to ASP.NET v2 which broke sharepoint. VSTS didn't work of cause... and changing the ASP.NET config to v1.1 didn't work either because I assume some of the configuration would have been damaged.

    I figured I would check that sharepoint installed ok first, so I nuked my box and tried the same install but sharepoint before SQL2k5. Sharepoint now works because it's using .NET framework v1.1 and the rest of the install completed ok - but when I go to add a site in team system I get the following exception:

    .
    .
    .
    05/06/2005 10:01:09.546 | Module: Rosetta | Thread: 8 | Exiting Initialize for RosettaReportUploader
    05/06/2005 10:01:09.546 | Module: Initializer | Thread: 8 | Initialization for plugin "Microsoft.Pcw.Rosetta" succeeded
    05/06/2005 10:01:09.546 | Module: WSS | Thread: 8 | Entering Initialize in WssSiteCreator
    ---begin Exception entry---
    Time: 05/06/2005 10:01:09.656
    Module: Initializer
    Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "The request failed with HTTP status 401: Unauthorized."
    Exception Type: System.Net.WebException
    .
    .
    .

    Now if I change the ASP.NET config for the default website to use v2 - sharepoint home site is broken (same as before, something to do with the webparts and v2 framework) but the Microsoft.Pcw.wss plugin initialization works and it completes this step and the site creation process starts - only problem is it breaks further on in the process:

    .
    .
    .
    05/06/2005 10:03:42.328 | Module: Engine | Task "Scc" completed with success | Completion time: 0 seconds
    05/06/2005 10:03:42.343 | Module: Engine | Thread: 9 | Running Task "WSS.WssPortal"
    05/06/2005 10:03:45.328 | Module: WssSiteCreator | Thread: 9 | Exception: System.Net.WebException: The request was aborted: The connection was closed unexpectedly.
       at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
       at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
    .
    .
    .

    Any suggestions - I can include the full logs. If I have to do another clean install some advice upfront would really help!

    Thanks

    Justin


  • Nicoletta

    Can you try and make sure if you can create a WSS site through the portal using the account you are running to create the new project

    -- Venkat

  • Gary Katz

    I couldnt use the team project...
    so now Im using visual source safe


  • CHUNGVOKY

    Yes but I want to use Team project!! Someone has an answer to my question asked just up there


  • Gagan Gupta

    Thanks Buck - I'm quite sure I did follow it to the letter because I had a fun time installing the first Beta refresh release a while back!

    At the beginning of my post, I said I installed SQL2k5 and then SharePoint, setting up the app pools correctly etc. This was as per instructions but it broke SharePoint - this was my point. I was wondering if anyone else had a similar experience.

    Team Foundation and Sharepoint run as seperate Web Site's in IIS and VSTSWeb is installed its own app pool "VSTF AppPool" as default without having to configure anything.

    Thanks for the suggestion anyway. Has anyone else had a similar experience to me and suggestion to fix it

  • Angel Malus

    Did yu add IIS component after AD setup


  • cannot create a new team project