TFS2010 NullReferenceException
- When I use the client, I get the TF31002 error. When I attempt to go to the url /tfs I get:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.TeamFoundation.Framework.Server.TeamFoundationApplication.WriteSoapFaultResponse(Exception exceptionToSerialize) +43
Microsoft.TeamFoundation.Framework.Server.TeamFoundationApplication.CompleteRequest(Int32 statusCode, Exception exception) +121
Microsoft.TeamFoundation.Framework.Server.TeamFoundationApplication.Application_PostAuthenticateRequest(Object sender, EventArgs e) +198
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +102
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
When I go to /tfs/web/ I get the TFS Web page with no projects listed and this error at the top:
Team Foundation services are not available from the server. Technical information (for administrator): TF31002: Unable to connect to this Team Foundation Server: http://server:8080/tfs. Team Foundation Server Url: http://server:8080/tfs. Possible reasons for failure include: - The name, port number, or protocol for the Team Foundation Server is incorrect. - The Team Foundation Server is offline. - The password has expired or is incorrect. For further information, contact the Team..
Single Server Install on Windows Server 2008 R2 X64
SQL Server 2008 Standard install.
All Replies
- I've sent a mail for someone to look into this.In the meantime, can you provide some background on the server? Was it a fresh 2008 install? Was it upgraded? Did it have beta1 or a previous TFS install? Is the client on the same box?ThanksBryan
- Freash 2008 R2 installNo previous TFS install.And I've got the client on the same box as well as my desktop. Both the server and my desktop get the same errors.Few other things that may help? CruiseControl .NET is installed / running, as VisualSVN Server.I've tried reinstalling TFS, IIS, several times and same error pops up. I've tried shutting down SVN and CC.NET as well during a reinstall and it has no effect...
- Bryan, do you have any update on this? Should I file a Connect bug report for it?
- Yes, please log a connect bug. Please reference this thread and we'll have someone look into it.Bryan
This is a known issue and has been fixed for RTM. The issue is an exception is occurring during the initial request processing. This exception is causing us to call CompleteRequest which calls WriteSoapResponse. In this method we try to cast the exception to a soapexception then to a teamfoundationserviceexception. If the exception is not one of these types we hit this NullReferenceException. This is masking the initial problem and we cant figure out what is causing the problem. In RTM the initial exception is handled better and the client is told about the failure.
You can enable tracing on the server and we should be able to determine what the initial exception is and fix this problem. To enable tracing you need to go to the web.config file located here -> ...\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\web.config
You should see these sections at the end of the file:
Make sure traceWriter is set to true.
At a minimum General needs to have the value 4, but all trace flags to 4 will give you all trace output.
<appSettings>
<add key="traceWriter" value="true" />
<add key="traceDirectoryName" value="%TEMP%\\TFLogFiles" />
</appSettings>
<system.diagnostics>
<assert assertuienabled="false" />
<trace autoflush="false" indentsize="4" />
<!-- Trace Switches
Each of the trace switches should be set to a value between 0 and 4, inclusive.
0: No trace output
1-4: Increasing levels of trace output; see Systems.Diagnostics.TraceLevel
-->
<switches>
<add name="API" value="0" />
<add name="Authentication" value="0" />
<add name="Authorization" value="0" />
<add name="Database" value="0" />
<add name="General" value="4" />
<!-- WorkItem trace switches -->
<add name="traceLevel" value="1" />
</switches>
</system.diagnostics>
Craig- Unproposed As Answer bySeiggy Sunday, November 15, 2009 8:09 PM
- Proposed As Answer byJustin Pinnix - MSFTMSFTTuesday, November 03, 2009 3:44 PM
- Well I set all the values to 4 and I still am not seeing any trace output in the %TEMP% folder....I've restarted both the TFS service, and also tried restarting the entire box. Still no go.
- latest logs:
[Info @16:05:29.742] ====================================================================
[Info @16:05:29.747] Team Foundation Server 2010 Administration Log
[Info @16:05:29.772] Version : 10.0.21006.1
[Info @16:05:29.772] DateTime : 10/24/2009 12:05:29
[Info @16:05:29.773] Type : Configuration
[Info @16:05:29.779] Activity : Deploy
[Info @16:05:29.782] Area : ApplicationTier
[Info @16:05:29.784] User : SERVER\Administrator
[Info @16:05:29.784] Machine : SERVER
[Info @16:05:29.784] System : Microsoft Windows NT 6.1.7100.0 (AMD64)
[Info @16:05:29.784] ====================================================================
[Info @16:05:29.791] Command: perfCounters
[Info @16:05:29.805] Executing command perfCounters with 2 arguments.
[Info @16:05:29.807] /load
[Info @16:05:29.807] /type:applicationTier
[Info @16:05:29.842]
[Info @16:05:29.842] +-+-+-+-+-| PerfCounters.LoadCountersForApplicationTier |+-+-+-+-+-
[Info @16:05:33.491] Creating perf counter category TFS Version Control
[Info @16:05:34.289] Creating perf counter category TFS Lab Management
[Info @16:05:35.044] Creating perf counter category TFS WorkItem Tracking
[Info @16:05:35.788] Creating perf counter category TFS Services
[Info @16:05:36.536] Creating perf counter category TFS Proxy Server
[Info @16:00:20.995] ====================================================================
[Info @16:00:20.999] Team Foundation Server 2010 Administration Log
[Info @16:00:21.024] Version : 10.0.21006.1
[Info @16:00:21.025] DateTime : 10/24/2009 12:00:21
[Info @16:00:21.025] Type : Configuration
[Info @16:00:21.031] Activity : Deploy
[Info @16:00:21.034] Area : Unknown
[Info @16:00:21.035] User : SERVER\Administrator
[Info @16:00:21.036] Machine : SERVER
[Info @16:00:21.036] System : Microsoft Windows NT 6.1.7100.0 (AMD64)
[Info @16:00:21.036] ====================================================================
[Info @16:00:21.043] Command: setup
[Info @16:00:21.059] Executing command setup with 1 arguments.
[Info @16:00:21.061] /uninstall:ALL
[Info @16:00:21.100] Now removing feature ApplicationTier.
[Info @16:00:21.108]
[Info @16:00:21.109] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.109] Unconfigure ApplicationTier
[Info @16:00:21.109] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.117]
[Info @16:00:21.117] +-+-+-+-+-| PerfCounterIsolation.PerformOperation (ApplicationTier) |+-+-+-+-+-
[Info @16:00:21.127]
[Info @16:00:21.127] +-+-+-+-+-| FirewallHandler.RemoveExceptions |+-+-+-+-+-
[Info @16:00:21.146] Process starting: fileName=C:\Program Files\Microsoft Team Foundation Server 2010\Tools\tfsconfig.exe arguments=perfCounters /unload /type:applicationTier
[Info @16:00:21.147]
[Info @16:00:21.147] +-+-+-+-+-| GetConfiguredWebSitePorts |+-+-+-+-+-
[Info @16:00:21.152] TFS site id='8080
[Info @16:00:21.370]
[Info @16:00:21.370] +-+-+-+-+-| appTier.RemoveFirewallException on '8080' |+-+-+-+-+-
[Info @16:00:21.460] disabling port 8080
[Info @16:00:21.482]
[Info @16:00:21.482] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.482] RemoveConfiguredWebSite
[Info @16:00:21.482] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.483] TFS site id='8080
[Info @16:00:21.562] vdir: atRoot='False'; name='ROOT/tfs'
[Info @16:00:21.658] Registry information removed.
[Info @16:00:21.706]
[Info @16:00:21.707] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.707] RemoveConfiguredAppPool: ApplicationTier
[Info @16:00:21.707] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.708] ApplicationPoolHelper::GetApplicationPoolName
[Info @16:00:21.708] appPoolName='Microsoft Team Foundation Server Application Pool'
[Info @16:00:21.912] path='IIS://localhost/W3SVC/AppPools/Microsoft Team Foundation Server Application Pool'
[Info @16:00:21.960] Deleted.
[Info @16:00:21.983]
[Info @16:00:21.983] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.984] RemoveConfiguredAppPool: WebAccess
[Info @16:00:21.984] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @16:00:21.984] ApplicationPoolHelper::GetApplicationPoolName
[Info @16:00:21.984] appPoolName='Microsoft Team Foundation Server Web Access Application Pool'
[Info @16:00:22.164] path='IIS://localhost/W3SVC/AppPools/Microsoft Team Foundation Server Web Access Application Pool'
[Info @16:00:22.230] Deleted.
[Info @16:00:22.296]
[Info @16:00:22.296] +-+-+-+-+-| Remove web.config files for ApplicationTier |+-+-+-+-+-
[Info @16:00:22.299] Removing: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\web.config
[Info @16:00:22.312] Removed.
[Info @16:00:22.312] Removing: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\web.config
[Info @16:00:22.333] Removed.
[Info @16:00:22.337]
[Info @16:00:22.337] +-+-+-+-+-| WindowsServices.StopServices |+-+-+-+-+-
[Info @16:00:22.368] stopping TfsJobAgent
[Info @16:00:22.373] StopWindowsService TfsJobAgent on SERVER
[Info @16:00:22.390] Current State Running
[Info @16:00:22.391] Waiting for service TfsJobAgent to stop...
[Info @16:00:22.394] Attempt=0
[Info @16:00:22.414] Attempt=0
[Info @16:00:25.224] Process finished: fileName=C:\Program Files\Microsoft Team Foundation Server 2010\Tools\tfsconfig.exe arguments=perfCounters /unload /type:applicationTier exitCode=0 in 4077 ms
[Info @16:00:25.227] Logging sent to file C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs\CFG_DPLY_AT_1024_160023.log
[Info @16:00:25.227] Command: perfCounters
[Info @16:00:25.227] Visual Studio Team System 2010 Team Foundation Server Beta 2 Configuration Tool
[Info @16:00:25.227] Copyright (c) Microsoft Corporation. All rights reserved.
[Info @16:00:25.227] Uninstalling application tier performance counters.
[Info @16:00:26.715] Success stopping service.
[Info @16:00:26.727] TF255215: The following executable is still running: TfsJobAgent.exe. This executable is associated with the following service: TfsJobAgent.
[Info @16:00:27.728] TF255215: The following executable is still running: TfsJobAgent.exe. This executable is associated with the following service: TfsJobAgent.
[Info @16:00:28.733] Service process is gone.
[Info @16:00:28.735]
[Info @16:00:28.735] +-+-+-+-+-| WindowsServices.UninstallServices |+-+-+-+-+-
[Info @16:00:28.748] Attempting to remove recovery actions for service TfsJobAgent prior to uninstall.
[Info @16:00:28.977] uninstalling TfsJobAgent
[Info @16:00:28.979] Uninstalling service TfsJobAgent
[Info @16:00:29.000] Process starting: fileName=C:\Windows\Microsoft.NET\Framework64\v4.0.21006\InstallUtil.exe arguments=/u "C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.exe" /LogFile= /LogToConsole=true
[Info @16:00:36.634] Process finished: fileName=C:\Windows\Microsoft.NET\Framework64\v4.0.21006\InstallUtil.exe arguments=/u "C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.exe" /LogFile= /LogToConsole=true exitCode=0 in 7634 ms
[Info @16:00:36.634] Microsoft (R) .NET Framework Installation utility Version 4.0.21006.1
[Info @16:00:36.634] Copyright (c) Microsoft Corporation. All rights reserved.
[Info @16:00:36.634]
[Info @16:00:36.634]
[Info @16:00:36.634]
[Info @16:00:36.634] The uninstall is beginning.
[Info @16:00:36.634] See the contents of the log file for the C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.exe assembly's progress.
[Info @16:00:36.634] The file is located at C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.InstallLog.
[Info @16:00:36.634] Uninstalling assembly 'C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.exe'.
[Info @16:00:36.634] Affected parameters are:
[Info @16:00:36.634] logtoconsole = true
[Info @16:00:36.634] assemblypath = C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.exe
[Info @16:00:36.634] logfile = C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.InstallLog
[Info @16:00:36.634] Removing EventLog source TFSJobAgent.
[Info @16:00:36.634] Service TFSJobAgent is being removed from the system...
[Info @16:00:36.634] Service TFSJobAgent was successfully removed from the system.
[Info @16:00:36.634]
[Info @16:00:36.634] The uninstall has completed.
[Info @16:00:36.925]
[Info @16:00:36.925] +-+-+-+-+-| AppTierRegistrySettings.RemoveValues |+-+-+-+-+-
[Info @16:00:36.938] Setting the IsConfigured flag for feature ApplicationTier to False.
[Info @16:00:36.944] Now removing feature Tools.
[Info @16:00:36.947] Done.
[Warning@19:54:46.442] Unable to correctly determine if SCVMM Administrator Console is installed on this host.
[Warning@19:54:46.448] Unable to correctly determine if SCVMM Administrator Console is installed on this host.
[Error @19:56:02.738] Microsoft.TeamFoundation.TeamFoundationServerInvalidResponseException: Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):
HTTP code 500: Internal Server Error
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, ServiceTypeFilter[] serviceTypeFilters, Int32 lastChangeId)
at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.DoConnect(ConnectOptions connectOptions, ServiceTypeFilter[] serviceTypeFilters)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.UseCredentialsProviderOnFailure(Action action, TeamFoundationServerBase server, ICredentialsProvider provider)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.EnsureProviderConnected()
at Microsoft.TeamFoundation.Framework.Client.IdentityManagementService..ctor(TeamFoundationServerBase tfsBase)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.CreateInternalProxy(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService[T]()
at Microsoft.TeamFoundation.Framework.Client.SecurityService..ctor(TeamFoundationServerBase server)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.CreateInternalProxy(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService[T]()
at Microsoft.TeamFoundation.Controls.WinForms.NamespacePermissionSet..ctor(TeamFoundationServerBase host, Guid namespaceId, String token, Int32 permissionsToDisplay)
at Microsoft.TeamFoundation.Controls.WinForms.NamespacePermissionSet..ctor(TeamFoundationServerBase host, Guid namespaceId, String token)
at Microsoft.TeamFoundation.Management.SnapIn.ApplicationTierNode.ModifyPermissions(ActionClickedEventArgs args)
at Microsoft.TeamFoundation.Management.SnapIn.ApplicationTierNode.OnManagementAction(ActionClickedEventArgs args)
at Microsoft.TeamFoundation.Management.Controls.ManagementView.newPanel_ActionClicked(Object source, ActionClickedEventArgs e)
[Error @19:56:08.951] Microsoft.TeamFoundation.TeamFoundationServerInvalidResponseException: Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):
HTTP code 500: Internal Server Error
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, ServiceTypeFilter[] serviceTypeFilters, Int32 lastChangeId)
at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.DoConnect(ConnectOptions connectOptions, ServiceTypeFilter[] serviceTypeFilters)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.UseCredentialsProviderOnFailure(Action action, TeamFoundationServerBase server, ICredentialsProvider provider)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.EnsureProviderConnected()
at Microsoft.TeamFoundation.Framework.Client.IdentityManagementService..ctor(TeamFoundationServerBase tfsBase)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.CreateInternalProxy(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService(Type serviceType)
at Microsoft.TeamFoundation.Client.TeamFoundationServerBase.GetService[T]()
at Microsoft.TeamFoundation.Controls.WinForms.GroupsDialog..ctor(TeamFoundationServerBase teamFoundationServer, String scopeId)
at Microsoft.TeamFoundation.Management.SnapIn.ApplicationTierNode.ModifyGroupMembership(ActionClickedEventArgs args)
at Microsoft.TeamFoundation.Management.SnapIn.ApplicationTierNode.OnManagementAction(ActionClickedEventArgs args)
at Microsoft.TeamFoundation.Management.Controls.ManagementView.newPanel_ActionClicked(Object source, ActionClickedEventArgs e)
[Info @19:57:57.520] ====================================================================
[Info @19:57:57.521] Team Foundation Server 2010 Administration Log
[Info @19:57:57.521] Version : 10.0.21006.1
[Info @19:57:57.522] DateTime : 11/15/2009 14:57:57
[Info @19:57:57.522] Type : Configuration
[Info @19:57:57.522] Activity : Account
[Info @19:57:57.522] Area : ApplicationTier
[Info @19:57:57.545] User : SERVER\Administrator
[Info @19:57:57.545] Machine : SERVER
[Info @19:57:57.566] System : Microsoft Windows NT 6.1.7100.0 (AMD64)
[Info @19:57:57.566] ====================================================================
[Info @19:57:57.569]
[Info @19:57:57.569] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:57.569] Running Readiness Checks...
[Info @19:57:57.569] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:57.572]
[Info @19:57:57.572] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:57.572] Activity.Verify
[Info @19:57:57.572] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:57.610] Verify: AccountsChecks(VCONTAINER): Starting Verification
[Info @19:57:57.611] A generic container node that does not contribute to results
[Info @19:57:57.614] "Verify: AccountsChecks(VCONTAINER): Exiting Verification with state Ignore and result Ignore"
[Info @19:57:57.617] Verify: AccountsChecks\Verify Accounts Feature(VCHANGEFEATURE): Starting Verification
[Info @19:57:57.618] Verifies a condition
[Info @19:57:57.618] "Verify: AccountsChecks\Verify Accounts Feature(VCHANGEFEATURE): Exiting Verification with state Completed and result Success"
[Info @19:57:57.618] Verify: AccountsChecks\Verify Accounts Account(VATACCOUNT): Starting Verification
[Info @19:57:57.618] Verifies the application tier service account
[Info @19:57:57.626] "Verify: AccountsChecks\Verify Accounts Account(VATACCOUNT): Exiting Verification with state Completed and result Success"
[Info @19:57:57.626] Verify: AccountsChecks\DBExists(VDBEXISTS): Starting Verification
[Info @19:57:57.626] Sql Database Existance Verification
[Info @19:57:57.736] "Verify: AccountsChecks\DBExists(VDBEXISTS): Exiting Verification with state Completed and result Success"
[Info @19:57:57.737] Verify: AccountsChecks\JobAgentInstalled(VSERVICEINSTALLED): Starting Verification
[Info @19:57:57.737] Verify a windows service is installed
[Info @19:57:58.433] isNotInstalled='False'
[Info @19:57:58.433] "Verify: AccountsChecks\JobAgentInstalled(VSERVICEINSTALLED): Exiting Verification with state Completed and result Success"
[Info @19:57:58.433] !Verify Result!: 4 Completed, 0 Skipped: 4 Success, 0 Errors, 0 Warnings
[Info @19:57:58.438]
[Info @19:57:58.438] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:58.438] Configuring...
[Info @19:57:58.438] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:58.465] Starting Node: CCONTAINER
[Info @19:57:58.466] Empty container node.
[Info @19:57:58.488] CCONTAINER Completed.
[Info @19:57:58.490] Starting Node: ADDCOLLACCOUNT
[Info @19:57:58.490] Add account to collections
[Info @19:57:58.505]
[Info @19:57:58.505] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:58.505] Adding account to collection databases ...
[Info @19:57:58.505] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:58.520] Getting collections...
[Info @19:57:58.523] Changing collection: DefaultCollection
[Info @19:57:58.528] ConnectionString: Data Source=SERVER;Initial Catalog=Tfs_DefaultCollection;Integrated Security=True
[Info @19:57:58.545] ModifyExecRole: Add:SERVER\TFSServer
[Info @19:57:59.043] result: Success
[Info @19:57:59.044] Added SERVER\TFSServer to Tfs_DefaultCollection (SERVER)
[Info @19:57:59.062] ADDCOLLACCOUNT Completed.
[Info @19:57:59.063] Starting Node: ADDSYSTEMDBACCOUNT
[Info @19:57:59.063] Add account to system dbs
[Info @19:57:59.067]
[Info @19:57:59.069] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:59.070] Adding account to system databases ...
[Info @19:57:59.070] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:59.072] Adding account to master database ...
[Info @19:57:59.078] ModifyExecRole: Add:SERVER\TFSServer
[Info @19:57:59.189] result: Success
[Info @19:57:59.189] Added SERVER\TFSServer to master
[Info @19:57:59.190] Adding account to msdb database ...
[Info @19:57:59.190] ModifyExecRole: Add:SERVER\TFSServer
[Info @19:57:59.369] result: Success
[Info @19:57:59.370] Added SERVER\TFSServer to msdb
[Info @19:57:59.371] ADDSYSTEMDBACCOUNT Completed.
[Info @19:57:59.371] Starting Node: ADDACCOUNTWPG
[Info @19:57:59.371] Add account to the local WPG group
[Info @19:57:59.586] Using IIS Group 'IIS_IUSRS'
[Info @19:57:59.586]
[Info @19:57:59.586] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:59.586] Adding to local groups ...
[Info @19:57:59.586] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:59.595] Adding SERVER\TFSServer to IIS_IUSRS
[Info @19:57:59.759] Adding SERVER\TFSServer to TFS_APPTIER_SERVICE_WPG
[Info @19:57:59.848] ADDACCOUNTWPG Completed.
[Info @19:57:59.848] Starting Node: ADDACCOUNTSVCGROUP
[Info @19:57:59.849] Add account to service group
[Info @19:57:59.857]
[Info @19:57:59.857] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:57:59.857] Adding account to service accounts group ...
[Info @19:57:59.857] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:04.042] Done.
[Info @19:58:04.043] ADDACCOUNTSVCGROUP Completed.
[Info @19:58:04.043] Starting Node: ADDOLAPACCOUNT
[Info @19:58:04.044] Add account to analysis services
[Info @19:58:04.046]
[Info @19:58:04.046] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:04.046] Adding account to Analysis Services database ...
[Info @19:58:04.046] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:04.081]
[Info @19:58:04.081] +-+-+-+-+-| AddAccountToOlapRole |+-+-+-+-+-
[Info @19:58:04.081] isAnalysis 'server' Remote? False
[Info @19:58:04.081] Adding account: SERVER\TFSServer
[Info @19:58:07.924] Done.
[Info @19:58:07.949] Done.
[Info @19:58:07.950] ADDOLAPACCOUNT Completed.
[Info @19:58:07.950] Starting Node: ADDRELATIONALACCOUNT
[Info @19:58:07.951] Add account to relational db
[Info @19:58:07.969]
[Info @19:58:07.969] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:07.969] Adding account to relational warehouse database ...
[Info @19:58:07.969] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:07.971] ModifyExecRole: Add:SERVER\TFSServer
[Info @19:58:08.165] result: Success
[Info @19:58:08.165] Added SERVER\TFSServer to Tfs_Warehouse
[Info @19:58:08.166] ADDRELATIONALACCOUNT Completed.
[Info @19:58:08.166] Starting Node: ADDRSCONTENTROLE
[Info @19:58:08.166] Add account to RS content role
[Info @19:58:08.192]
[Info @19:58:08.192] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:08.192] Adding account to Reporting Services content manager role
[Info @19:58:08.192] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:10.606] http://SERVER:80/ReportServer
[Info @19:58:11.956] Granted TFS Content Manager permissions in Report Server to service account SERVER\TFSServer
[Info @19:58:11.956] Done.
[Info @19:58:11.958] ADDRSCONTENTROLE Completed.
[Info @19:58:11.958] Starting Node: ADDWSSADMIN
[Info @19:58:11.958] Add account to WSS farm admin group
[Info @19:58:11.989]
[Info @19:58:11.989] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:11.989] Adding account to Sharepoint farm administrators
[Info @19:58:11.989] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:11.992] There were no Sharepoint applications to configure.
[Info @19:58:11.998] ADDWSSADMIN Completed.
[Info @19:58:11.998] Starting Node: ADDCONFIGACCOUNT
[Info @19:58:11.999] Add account to config db
[Info @19:58:12.003]
[Info @19:58:12.003] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:12.003] Adding account to configuration database ...
[Info @19:58:12.003] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:12.005] ModifyExecRole: Add:SERVER\TFSServer
[Info @19:58:12.119] result: Success
[Info @19:58:12.120] Added SERVER\TFSServer to Tfs_Configuration
[Info @19:58:12.121] ADDCONFIGACCOUNT Completed.
[Info @19:58:12.121] Starting Node: CCONTAINER
[Info @19:58:12.121] Empty container node.
[Info @19:58:12.127] CCONTAINER Completed.
[Info @19:58:12.128] Starting Node: STOPJOBSVC
[Info @19:58:12.128] Stops the job service.
[Info @19:58:12.132]
[Info @19:58:12.132] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:12.132] Stopping Windows Service: TFSJobAgent
[Info @19:58:12.132] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:12.140] StopWindowsService TFSJobAgent on SERVER
[Info @19:58:12.175] Current State Running
[Info @19:58:12.175] Waiting for service TFSJobAgent to stop...
[Info @19:58:12.177] Attempt=0
[Info @19:58:12.215] Attempt=0
[Info @19:58:12.482] Success stopping service.
[Info @19:58:12.498] TF255215: The following executable is still running: TfsJobAgent.exe. This executable is associated with the following service: TFSJobAgent.
[Info @19:58:13.499] TF255215: The following executable is still running: TfsJobAgent.exe. This executable is associated with the following service: TFSJobAgent.
[Info @19:58:14.504] Service process is gone.
[Info @19:58:14.505] Done.
[Info @19:58:14.526] STOPJOBSVC Completed.
[Info @19:58:14.526] Starting Node: SETAPPTIERAPPPOOL
[Info @19:58:14.526] Set the app tier app pool account.
[Info @19:58:14.529]
[Info @19:58:14.529] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:14.529] Changing Application Pools...
[Info @19:58:14.529] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:14.567] Changing application pool ApplicationTier to SERVER\TFSServer
[Info @19:58:14.573] Searching for ApplicationTier application pool...
[Info @19:58:14.575] ApplicationPoolHelper::GetApplicationPoolName
[Info @19:58:14.575] Found application pool: Microsoft Team Foundation Server Application Pool
[Info @19:58:14.575] Updating application pool account ...
[Info @19:58:14.581] ApplicationPoolHelper::UpdateAccount (Microsoft Team Foundation Server Application Pool->SERVER\TFSServer
[Info @19:58:14.823] Done.
[Info @19:58:14.823] Done.
[Info @19:58:14.824] Changing application pool WebAccess to SERVER\TFSServer
[Info @19:58:14.825] Searching for WebAccess application pool...
[Info @19:58:14.825] ApplicationPoolHelper::GetApplicationPoolName
[Info @19:58:14.825] Found application pool: Microsoft Team Foundation Server Web Access Application Pool
[Info @19:58:14.825] Updating application pool account ...
[Info @19:58:14.825] ApplicationPoolHelper::UpdateAccount (Microsoft Team Foundation Server Web Access Application Pool->SERVER\TFSServer
[Info @19:58:15.056] Done.
[Info @19:58:15.056] Done.
[Info @19:58:15.057] SETAPPTIERAPPPOOL Completed.
[Info @19:58:15.057] Starting Node: SETJOBSVCACCOUNT
[Info @19:58:15.058] Set the jobsvc account.
[Info @19:58:15.062]
[Info @19:58:15.062] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:15.062] Changing Windows Service: TFSJobAgent
[Info @19:58:15.062] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:15.072] Changing Service...
[Info @19:58:17.042] Done.
[Info @19:58:17.076] Starting Service...
[Info @19:58:17.084] StartWindowsService TFSJobAgent on SERVER
[Info @19:58:17.099] Current State Stopped
[Info @19:58:17.099] Starting service TFSJobAgent...
[Info @19:58:17.099] Attempt=0
[Info @19:58:18.677] Attempt=0
[Info @19:58:21.180] Success
[Info @19:58:21.181] Done.
[Info @19:58:21.182] SETJOBSVCACCOUNT Completed.
[Info @19:58:21.183] Starting Node: NOTIFYLABCONFIGURED
[Info @19:58:21.183] Notify if Lab is configured.
[Info @19:58:21.190]
[Info @19:58:21.190] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:21.190] Confirming whether any administrative action is required for the lab service.
[Info @19:58:21.190] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:21.191] Getting collections.
[Info @19:58:21.212] vmm server name is not set. No admin action required for Lab.
[Info @19:58:21.212]
[Info @19:58:21.212] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:21.212] Lab Management is not configured for any team project collections. No action required.
[Info @19:58:21.212] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Info @19:58:21.222] NOTIFYLABCONFIGURED Completed. Can you check the advanced properties on the two TFS apppools? Are they set to Enable32Bit=true? Try explicitly setting that to false if it is and doing an iisreset


Reply