Project creation problem

OK

I'm probably being dense here. Installation is a single server with reporting services, sharepoint, SQL all running. I can get to the relevant pages.

The client can see the server and ping it over the network. Both are in a W2K3 domain and the DC is running SP1 as is the VSTF Server.

tfssetup and tfsservice are both local admins and domain admins so should have all the necessary permissions.

I'm logged in using the tfssetup account (tried also with tfsservice) and get the same error.

Here is the output from the error file:

04/27/2005 02:31:02.560 | Module: ELeadServiceMediator | URL for eLead web service retrieved as "http://vstsb2:8080/bisserver/EleadWebService.asmx" from the registration service | Completion time: 0 seconds
04/27/2005 02:35:37.589 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 274.9685872 seconds
04/27/2005 02:35:52.099 | Module: ELeadServiceMediator | Template Information for domain "vstsb2" retrieved from eLead web service | Completion time: 14.5105194 seconds
04/27/2005 04:35:33.517 | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 1.1887386 seconds
04/27/2005 04:35:34.346 | Module: Engine | Project creation permissions retrieved | Completion time: 0.8291202 seconds
04/27/2005 04:35:42.887 | Module: ELeadServiceMediator | Downloaded process template file from eLead web service | Completion time: 8.5309476 seconds
04/27/2005 04:35:43.107 | Module: Engine | Wrote compressed process template file | Completion time: 0.1698198 seconds
04/27/2005 04:35:47.263 | Module: Engine | Extracted process template file | Completion time: 4.1555904 seconds
04/27/2005 04:35:47.263 | Module: Engine | Thread: 7 | Starting Project Creation for project "My Research" in domain "vstsb2"
04/27/2005 04:35:48.022 | Module: Engine | User information retrieved from GSS | Completion time: 0.7392156 seconds
04/27/2005 04:35:48.022 | Module: Initializer | Thread: 7 | Starting plug-in inialization
04/27/2005 04:35:48.042 | Module: CssStructureUploader | Thread: 7 | Entering Initialize in CssStructureUploader
04/27/2005 04:35:48.251 | Module: CssStructureUploader | Thread: 7 | Initialize for CssStructureUploader complete
04/27/2005 04:35:48.251 | Module: Initializer | Thread: 7 | Initialization for plugin "Microsoft.Pcw.Css" succeeded
04/27/2005 04:35:48.261 | Module: Rosetta | Thread: 7 | Entering Initialize in RosettaReportUploader
---begin Exception entry---
Time: 04/27/2005 04:37:31.592
Module: Initializer
Event Description: Initialization for plugin "Microsoft.Pcw.Rosetta" failed with error: "Failed to retrieve projects from the report server"
Exception Type: Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.RosettaInitializationException
Exception Message: Failed to retrieve projects from the report server
Stack Trace:
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.RosettaReportUploader.CheckForProjectFolder(PrivateData data, String projectName)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.RosettaReportUploader.Initialize(ProjectCreationContext context)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
 --   Inner Exception   --
Exception Type: System.Net.WebException
Exception Message: The operation has timed out
WebException: Status : Timeout
WebException : ToString() = System.Net.WebException: The operation has timed out
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.VisualStudio.ELead.ReportManager.RosettaProxy.ReportingService.ListChildren(String Item, Boolean Recursive)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.RosettaReportUploader.CheckForProjectFolder(PrivateData data, String projectName)
Stack Trace:
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.VisualStudio.ELead.ReportManager.RosettaProxy.ReportingService.ListChildren(String Item, Boolean Recursive)
   at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.RosettaReportUploader.CheckForProjectFolder(PrivateData data, String projectName)
 -- end Inner Exception --
--- end Exception entry ---

04/27/2005 04:37:31.602 | Module: WSS | Thread: 7 | Entering Initialize in WssSiteCreator
04/27/2005 04:38:59.469 | Module: WSS | Thread: 7 | Exiting Initialize for WssSiteCreator
04/27/2005 04:38:59.479 | Module: Initializer | Thread: 7 | Initialization for plugin "Microsoft.Pcw.wss" succeeded
04/27/2005 04:38:59.479 | Module: GSSStructureUploader | Thread: 7 | Entering Initialize in GssStructureCreator
04/27/2005 04:39:00.298 | Module: GSSStructureUploader | Thread: 7 | Exiting Initialize for GssStructureCreator
04/27/2005 04:39:00.298 | Module: Initializer | Thread: 7 | Initialization for plugin "Microsoft.Pcw.gss" succeeded
04/27/2005 04:39:21.615 | Module: Currituck | Thread: 7 | About to begin the creation of project My Research on server vstsb2
04/27/2005 04:39:21.615 | Module: Initializer | Thread: 7 | Initialization for plugin "Microsoft.Pcw.currituck" succeeded
04/27/2005 04:39:21.635 | Module: SccTask | Thread: 7 | User chose to create new empty folder $/My Research
04/27/2005 04:39:23.453 | Module: Initializer | Thread: 7 | Initialization for plugin "Microsoft.Pcw.scc" succeeded
---begin Exception entry---
Time: 04/27/2005 04:39:23.453
Module: Engine
Event Description: Project creation failed
Exception Type: Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializationFailedException
Exception Message: Initialization failed for plugin(s): 'Microsoft.Pcw.Rosetta'
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 ---

04/27/2005 04:39:23.453 | Module: Engine | Thread: 7 | Attempting to delete MSF folder "C:\Documents and Settings\tfssetup\Local Settings\Temp\PCW_04-27-2005_04.35.34"
---begin Exception entry---
Time: 04/27/2005 04:39:23.643
Module: Engine
Event Description: Deleting directory "C:\Documents and Settings\tfssetup\Local Settings\Temp\PCW_04-27-2005_04.35.34" 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 ---

Been trying to solve this for a couple of hours now and it's clearly going to be the blindingly obvious but clearly, not to me.

Help!!!!




Answer this question

Project creation problem

  • Vaine

    Interesting. Just checked with no trailing spaces but spaces between words and it failed again.

    Every moment a learning experience Big Smile

  • DaveSussman

    Reporting services and WSS share the same port (80). Also, WSS grabs all the URLs and only passes the ones it knows of. So, the best way to let WSS know of pre-existing sites on port 80 is by installing WSS last.

    I tried these on my test machine and it worked for me (in this order) most of the time:

    1. Yukon (for reporting services)
    2. WSS

    -Ravi


  • jcribbs

    I am having the same problems as above. I checked the 2 problems that ravi suggested and 1 fails but 2 is ok. I looked in IIS and noticed that the Application Pool that I created "Report services" is gone. Anybody have any idea why And is this our problem with the reporting services
  • reez

    In working with this I have noticed that when WSS is up the reporting is down and when I get the Reporting back up WSS goes down. I can't get both to work at the same time. Any ideas  
  • kmccaa

    Hmmm. This seems to be an problem with the naming of the project.

    To see if there was a difference between specifying all the project parameters including create a source tree and not creating a source tree, I attempted another project.

    The key difference seems to be in how the project is named.

    The first project - My Research -  had a space in the name and required the source tree to be created. - FAILED (see error log above)

    The second - My New Research - has two spaces in the name but said no source tree. - FAILED (error log almost identical)

    The third project - Wibble - had the source tree and worked perfectly.

    The fourth project MyWibble - had no source tree and worked perfectly.

    So the solution is no spaces in the project name.

    The question is Why



  • rmtuckerphx

    Spaces in names are legal. However, in trying to reproduce your problem, I found that names with trailing spaces will fail in the way you have encountered.

  • MechGuru

    Hi,

    I have the same (identical) log file in creating new Team project.

    The configuration is quise simple. All software (Team Foundation Server Beta 2,
    Visual Studio Beta 2, Sharepoint,...) has been istalled in the same machine.
    I have installed all required systems with the installation guide.

    Domain is ok.
    IIS is ok.
    Pool application is ok.
    SQL Service April runs,
    http://machine/Reports works fine
    Visual Studio opens
    TFSSETUP and TFSSERVICE are member of Administrators and Domain admin
    I logged with TFSSETUP user (but the same result is with logging as Administrator)

    The simple connection to the Team server seems to works.

    I have tried to create a new Team project named Pippo (no spaces,...)
    with Agile (the only model i have) and i received the same error log file
    of Ian Murphy.

    Can anybody help me, us
    Thanks in advance.
    Gianluca

  • Friction

    A standard thing to try is to up the IIS Timeout on your webserver. I usually set mine to 5+ minutes. 



  • Fantasiiio

    The easiest way to diagnose any setup issues is by actually browsing to these web sites prior to project creation:

    1. For rosetta, please browse to /Reports">http://<dt_machine>/Reports
        You should see the list of reports and data sources defined here. If you don't see the page or there are errors on the page, projection creation will most likely fail.
    2. For WSS, please browse to http://<at_machine>. You should see standard WSS page. If not, the project creation will most likely fail.

    If the above steps work okay and still see problems after couple of attempts, please let us know the problem along with the log. Hopefully, we can diagnose this issue and help you fix the problem.

    Thanks,
    Ravi


  • Rohan Singh

    From the log above - this definitely appears to be a Rosetta (SQL Reporting Services) issue.  It appears project creation is failing when it tries to go get the list of existing Rosetta sites to make sure we don't attempt to create a duplicate site.  Internally we've been creating and using team projects with spaces in the team project name for some time without problems, so it seems there must be something unique to your situation.  When creating your team projects - was it consecutive (between those that failed and those that succeeded)   Just wondering if it could be a network load issue or possibly an issue around Rosetta's services all being running, but not likely if both successful and unsuccessful project creations were done at the same time. 

    -Amy

  • wishme

    One thing I did notice is when I went back in to IIS and created the "Report Services" in the Application pool and restarted IIS that the reports and report server under the Default Website went back to STsAppPool1 and "Report Services" was gone from the Application Pool.
  • Imran Koradia

    The two fails were consecutive attempts followed by the successful builds. So far I've now stayed with no spaces.

    The only person on the network is me and I have a GbE connection to the switch and then into the server. The server is doing nothing other than waiting on me and looking through the server logs I can't see any errors or other problems.



  • Martin Dunsmore

    In which order did you install SQL 2005 and WSS   If they aren't installed in the proper order, they conflict.
    http://davebost.com/blog/archive/2005/04/22/486.aspx

    Buck

  • Project creation problem