SPTimerv3 keep stopping after a few minutes - sharepoint-2007
On SharePoint 2007, the timer service stopped after running a few minutes since started. There is two errors in the event log:
Event ID 7011, A timeout (30000 milliseconds) was reached while waiting for a transaction response from the SPTimerV3 service.
Event ID 7034, The Windows SharePoint Services Timer service terminated unexpectedly. It has done this 4 time(s).
SharePoint log:
Timestamp Process TID Area Category EventID Level Message Correlation
11/23/2011 20:42:22.57 OWSTIMER.EXE (0x0E98) 0x1198 Search Server Common MS Search Administration 0 High CheckForUpgradingAndReturnStatus synchronize logic finds the SearchContext.SearchApplication.IndexServiceInstance is null for ssp 81a16b2b-5ea5-46c6-88f3-b7e16c95861e, the application registry will get removed
11/23/2011 20:42:22.57 OWSTIMER.EXE (0x0E98) 0x1198 Search Server Common MS Search Administration 9e53 High SearchDataAccessServiceInstance.Synchronize(). searchserviceinstance status is bad. Object statuses: ssp status Online sspdb Online searchdb Online ssp search service instance -1 local search service instance Disabled
11/23/2011 20:42:22.57 OWSTIMER.EXE (0x0E98) 0x1198 SharePoint Portal Server SSO 8inc Medium In SSOService::Synch(), sso database conn string:
11/23/2011 20:42:22.62 OWSTIMER.EXE (0x0E98) 0x0C08 Excel Services Excel Services Administration 8tqi Medium ExcelServerSharedWebApplication.Synchronize: Starting synchronize for instance of Excel Services in SSP 'SSP - myhosted-server.net'.
11/23/2011 20:42:22.62 OWSTIMER.EXE (0x0E98) 0x0C08 Excel Services Excel Services Administration 8tqj Medium ExcelServerSharedWebApplication.Synchronize: Successfully synchronized instance of Excel Services in SSP 'SSP - myhosted-server.net'.
11/23/2011 20:42:22.62 OWSTIMER.EXE (0x0E98) 0x0C08 Office Server Office Server Shared Services 6pmr High Error getting the administration site for SSP 'SSP - myhosted-server.net'. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id) at Microsoft.Office.Server.Administration.SharedResourceProvider.VerifyAdministrationSite()
11/23/2011 20:42:23.55 OWSTIMER.EXE (0x0E98) 0x0E48 ULS Logging Unified Logging Service 8wsw High Now terminating ULS (OWSTIMER.EXE, Microsoft.Office.Server.Native.dll)
11/23/2011 20:42:23.67 OWSTIMER.EXE (0x0E98) 0x0E48 ULS Logging Unified Logging Service 8wsw High Now terminating ULS (OWSTIMER.EXE, onetnative.dll)
11/23/2011 20:42:23.67 OWSTIMER.EXE (0x0E98) 0x0E48 ULS Logging Unified Logging Service 8wsw High Now terminating ULS (OWSTIMER.EXE, ONETNA~1.DLL)
11/23/2011 20:43:02.06 w3wp.exe (0x0EEC) 0x10E8 SharePoint Portal Server Runtime 8gp7 Medium Topology cache updated. (AppDomain: /LM/W3SVC/1102933676/ROOT-1-129665176823658565)
11/23/2011 20:43:03.82 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:03.82* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:03.82 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:03.82* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:03.88 w3wp.exe (0x12AC) 0x130C CMS Publishing 8zug Medium PublishingHttpModule.Init() calling AppDomainUnloadListener.Register()
11/23/2011 20:43:03.88 w3wp.exe (0x12AC) 0x130C CMS Publishing 8x0a High AppDomainUnloadListener.RegisterSelf() entered lock(this=34622967)
11/23/2011 20:43:24.63 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:24.63* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:24.63 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:24.63* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:28.38 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:28.38* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:28.38 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:28.38* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:39.18 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:39.18* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:39.18 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:39.18* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:45.63 Microsoft.Office.Server.Convers (0x0668) 0x0CC4 Document Conversions Load Balancer Service 7jhf Medium RegisterLauncher called with uri http://myhostedSP01:8082/HtmlTrLauncher
11/23/2011 20:43:47.89 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:47.89* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:43:47.89 w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception No administration site found for SSP SSP - myhosted-server.net. System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemoteFarm(SPFarm farm, Guid id, SPUrlZone zone) at Microsoft.Office.Server.Administration.SharedResourceProvider.GetAdministrationSiteUrl(SPUrlZone zone) at Microsoft.Office.Server.Web.AdministrationQuickLaunchProvider.GetChildNodes(SiteMapNode parent) System.IO.FileNotFoundException: The site with the id ccf05a44-6d22-4524-9b23-5e8855086ed7 could not be found. at M...
11/23/2011 20:43:47.89* w3wp.exe (0x12AC) 0x130C Office Server Office Server Shared Services 8z8k Exception ...icrosoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone) at Microsoft.SharePoint.SPSite.LookupUriInRemo
11/23/2011 20:44:02.05 w3wp.exe (0x0EEC) 0x10E8 SharePoint Portal Server Runtime 8gp7 Medium Topology cache updated. (AppDomain: /LM/W3SVC/1102933676/ROOT-1-129665176823658565)
11/23/2011 20:44:55.37 w3wp.exe (0x0EEC) 0x10C0 Windows SharePoint Services General 0 Medium Entering MRU trim routine.
11/23/2011 20:44:55.37 w3wp.exe (0x0EEC) 0x10C0 Windows SharePoint Services General 0 Medium Initial table size: 44540730 in 220 entries
11/23/2011 20:44:55.37 w3wp.exe (0x0EEC) 0x10C0 Windows SharePoint Services General 0 Medium Final table size: 44540730 in 220 entries
11/23/2011 20:44:55.37 w3wp.exe (0x0EEC) 0x10C0 Windows SharePoint Services General 0 Medium Exiting MRU trim routine.
Never mind, I found the cause. It was due to an ill-configured FBA membership provider.
Related
IIS website : error trying to access site in browser (Kestrel problem)
I created a site in ASP.NET Core with VisualStudio and then copied the files to the server and linked IIS (8.5) to it. I configured a binding with localhost:443. However, when I browse to https://localhost:443 I obtain an error: An error occurred while starting the application with the following message: .NET Core 4.6.28008.01 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 6.3.9600 | Need help? When I access the site via dotnet .\MVF2.dll, I obtain the following critical error: crit: Microsoft.AspNetCore.Server.Kestrel[0] Unable to start Kestrel. System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransport.BindAsync() at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass22_0`1.<<StartAsync>g__OnBind|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken) What's happening with Kestrel? To see my Program.cs, Startup.cs and web.config see question https://stackoverflow.com/questions/59986062/website-deployment-via-iis-cant-access-site
I solved the problem. It was a problem with the app and connection strings. I inserted in the web.config file in the server the option stdoutLogEnabled="true" and then saw the error in the log files. This option is in the line of the file that says: <aspNetCore processPath=".\myapp.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" />
TF221122: An error occurred running job Test Management Warehouse Sync, ResultFailureTypeName (type IndexOutOfRangeException)
We have upgraded out TFS server 2012 update 2 to TFS 2012 Update 4. After update we found below error in event viewer. Now we cannot create new team project or cannot delete existing project. Now all the deleted project state showing as 'Deleted(Pending)' TF53010: The following error has occurred in a Team Foundation component or extension: Date (UTC): 4/6/2018 5:23:09 AM Machine: TFS Application Domain: TfsJobAgent.exe Assembly: Microsoft.TeamFoundation.Framework.Server, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319 Service Host: Process Details: Process Name: TFSJobAgent Process Id: 4660 Thread Id: 4348 Account name: DOMAIN\TFSService Detailed Message: TF221122: An error occurred running job Test Management Warehouse Sync for team project collection or Team Foundation server Default Collection. Exception Message: ResultFailureTypeName (type IndexOutOfRangeException) Exception Stack Trace: at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at Microsoft.TeamFoundation.TestManagement.Warehouse.AdapterFormatHelper.FormatDimensionData(DimensionMember dm, Column col, SqlDataReader reader) at Microsoft.TeamFoundation.TestManagement.Warehouse.TeamTestWarehouseAdapter.CreateDimensionEntries(Mapping mapping, SqlDataReader reader) at Microsoft.TeamFoundation.TestManagement.Warehouse.TeamTestWarehouseAdapter.CallbackCreateFactAndDimensionEntries(Mapping mapping, SqlDataReader reader) at Microsoft.TeamFoundation.TestManagement.Warehouse.WarehouseResultDatabase.QueryTestResults(SqlBinary watermark, Int32 limit, ProcessRowCallback resetCallback, ProcessMappingDataCallback dataCallback) at Microsoft.TeamFoundation.TestManagement.Warehouse.TeamTestWarehouseAdapter.QueryForResults(WarehouseResultDatabase wrd, SqlBinary waterMark, Int32 limit) at Microsoft.TeamFoundation.TestManagement.Warehouse.TeamTestWarehouseAdapter.ProcessIntegratedResults(WarehouseRowVersionQueryDelegate wqd, String highWaterMarkProperty, String processLimitProperty, Int32 defaultLimit) at Microsoft.TeamFoundation.TestManagement.Warehouse.TeamTestWarehouseAdapter.MakeDataChanges() at Microsoft.TeamFoundation.Warehouse.WarehouseSyncJobExtension`1.MakeDataChanges(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, String& resultMessage) at Microsoft.TeamFoundation.Warehouse.WarehouseSyncJobExtension`1.RunInternal(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) at Microsoft.TeamFoundation.Warehouse.WarehouseJobExtension.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage)
Try to clean the cache files by following the steps below: Clean the Cache folder on client computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\4.0\Cache. Clean the Cache folder on Server machine. The folder path is: C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0 After cleaned, on Server machine, click Start and select Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.
TFS vNext build agent fails with 407 proxy authentication error
Triggering a build from Visual Studio Team Services on an on-premise vNext build agent fails at the point of getting sources from the repo, presumably because of a corporate proxy. The build log on VSTS shows: 2016-01-28T12:35:03.7688078Z Syncing repository: MyProject (TFVC) 2016-01-28T12:35:03.7688078Z workspaceName=ws_3_3 2016-01-28T12:35:05.0730362Z ##[error]HTTP code 407: Proxy Authentication Required 2016-01-28T12:35:05.3257849Z ##[error]Prepare repository failed with exception. On the build server the agent log shows the following exception: 16:17:14.895983 System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.DistributedTask.Agent.Common.AgentExecutionTerminationException: Prepare repository failed with exception. ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: HTTP code 407: Proxy Authentication Required ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. 16:17:14.895983 at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) 16:17:14.895983 at System.Net.HttpWebRequest.GetRequestStream() 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException) 16:17:14.895983 --- End of inner exception stack trace --- 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException) 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage) 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest() 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout) 16:17:14.895983 at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs) 16:17:14.895983 at Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, Int32 lastChangeId, Int32 features) 16:17:14.895983 at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.Connect(ConnectOptions connectOptions) 16:17:14.895983 at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.EnsureConnected(ConnectOptions optionsNeeded) 16:17:14.895983 at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.get_AuthorizedIdentity() 16:17:14.895983 at Microsoft.TeamFoundation.VersionControl.Client.Client.ResolveUserUniqueName(String user) 16:17:14.895983 at Microsoft.TeamFoundation.VersionControl.Client.Client.GetLocalWorkspace(String workspaceName, String workspaceOwner) 16:17:14.895983 at Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.TfvcHelper.SyncRepository(VersionControlServer server, Uri repositoryUrl, String workspaceName, String rootPath, WorkingFolder[] workingFolders, String sourceVersion, Boolean cleanRepository, String shelveset, CancellationToken cancellationToken) 16:17:14.895983 at Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.TfvcHelper.Sync(ITaskEndpoint endpoint, String localPath, Dictionary`2 serverPathMapping, String sourceVersion, Boolean cleanRepository, String workspaceName, String shelveset, String& actualSourceVersion, CancellationToken cancellationToken) 16:17:14.895983 at Microsoft.TeamFoundation.DistributedTask.Plugin.Build.TfvcSourceProvider.<>c__DisplayClass3_0.<PrepareRepositoryAsync>b__0() 16:17:14.895983 --- End of inner exception stack trace --- There are a lot of similar questions about the 407 proxy authentication error, with suggestions of config files to change, but none specific to the problem of the vNext build agent. Is there a config file somewhere that I can edit to fix this problem?
The config file you need to change is VsoWorker.exe.config, which can be found in the following kind of location C:\BuildAgent\TFS_Build\agent\agent\Worker. Within the <configuration> block add the following code: <system.net> <defaultProxy useDefaultCredentials="true"> </defaultProxy> </system.net>
I'm using VSTS behind a corporate proxy but have already set my git proxy up globally. If I've done this (so can pull from the collection from the command line) then using the latest vso agent it just works: https://github.com/Microsoft/vsts-agent
Connecting TeamCity to Visual Studio Online
I'm having trouble connecting TeamCity server (TeamCity Enterprise 8.0.6 (build 27767)) to Viusal Studio Online. I have searched and read many articals with the following being helpful : - Connecting TeamCity to TFS Connecting TFS to TeamCity Unfortunately these did not solve the current issue. I can successfully connect to (https://bobtbuilder.visualstudio.com) via VS2013 as well as via web browser using the bob.t.builder#live.co.uk credentials. I have set up the Alternative authentication Credentials and try all combinations, but from the error log below the issue does not appear to be authentication based. Here is the current error message : - TFS failed. ExitCode: 111, command: "D:\Program Files (x86)\TeamCity\webapps\ROOT\WEB-INF\plugins\tfs\bin\tfs-native.exe" "##D:\Program Files (x86)\TeamCity\temp\TC-TFS-23-1111_263\command.params", in file: {https://bobtbuilder.visualstudio.com/DefaultCollection, /user:***** /password:***** /hash:S, /noProxy, D:\Program Files (x86)\TeamCity\temp\TC-TFS-23-1111_262.result, ConnectionTest, $/Builder}, completed in: 63 second(s) stdout: TFS Native Verifier v8.0 Copyright (C) 2006-2013 JetBrains s.r.o. Running under .NET Framework 4.0.30319.18408 INFO - INFO - Use Team Explorer 2013 INFO - TFS Native Accessor v8.0 Copyright (C) 2006-2013 JetBrains s.r.o. INFO - Connecting to server https://bobtbuilder.visualstudio.com/DefaultCollection INFO - WebProxy is disabled Connection test: Server='https://bobtbuilder.visualstudio.com/DefaultCollection' Username='##LIVE##bob.t.builder#live.co.uk' Root='$/Builder' ERROR - TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection. Technical information (for administrator): Unable to connect to the remote server System.Exception: TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection. Technical information (for administrator): Unable to connect to the remote server ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection. Technical information (for administrator): Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 65.52.8.37:443 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException) at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage) at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest() at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout) at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs) at Microsoft.TeamFoundation.Framework.Client.Registration.GetRegistrationEntries(String toolId) at Microsoft.TeamFoundation.Framework.Client.RegistrationProxy.GetRegistrationEntries(String toolId) at Microsoft.TeamFoundation.Framework.Client.RegistrationService.RefreshMemoryCache() at Microsoft.TeamFoundation.Framework.Client.RegistrationService.RefreshCachesIfNeeded(Boolean direct) at Microsoft.TeamFoundation.Framework.Client.RegistrationService.GetRegistrationEntries(String toolId) at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.FindServiceLocation(String serviceType, String toolId) at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.LocationForCurrentConnection(String serviceType, Guid serviceIdentifier) at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected() at Microsoft.TeamFoundation.Client.TfsConnection.Disconnect() at JetBrains.TeamCity.Tfs.TfsLogin.TFSDispose(TfsTeamProjectCollection t) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\TfsLogin_VS12.cs:line 17 at JetBrains.TeamCity.Tfs.TfsLoginBase`1.DoWithAuthenticatedConnection(String server, String username, String password, JBAction`1 action) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\TfsLogin.cs:line 48 at JetBrains.TeamCity.Tfs.Command.Do() in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Command.cs:line 27 at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Program.cs:line 134 --- End of inner exception stack trace --- at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Program.cs:line 438 Any help appreciated
I had almost exactly this problem and it was due to the companies proxy farking it up. You fix it by adding a file called internal.properties in your teamcity\data\config with teamcity.tfs.useSystemProxy=true Obviously.
TFS 2005: Error messages when creating a development instance
I'm attempting to create a Dev instance of TFS 2005 (non SP1) with a view to test SP1. We're using dual server mode. So far, I've installed TFS on my App machine, restored the db from prod on my database machine, and updated references in my db. Also ran the usual tfsadminutil commands. When I open VS2005 and attempt to connect to TFS, I get this error: Team Foundation Server scdctstmp01 does not exist or is not accessible at this time. Technical information (for administrator): HTTP code 503: TF30059: Fatal error while initializing web service The event log on my app machine gives 2 errors: Event Type: Error Event Source: TFS Version Control Event Category: None Event ID: 3023 Date: 1/12/2011 Time: 2:23:53 PM User: N/A Computer: SCDCTSTMP01 Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 1/12/2011 6:23:53 AM Machine: SCDCTSTMP01 Application Domain: /LM/W3SVC/3/Root/VersionControl-6-129671942250700000 Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 4440 Thread Id: 4660 Account name: JUSTICE\svctfsservicetest Detailed Message: TF14073: The stored download key is not valid. The key will be regenerated. Web Request Details Url: http://scdctstmp01:8080/VersionControl/v1.0/repository.asmx [method: POST] User Agent: Team Foundation (devenv.exe, 8.0.50727.147) Headers: Content-Length=319&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip%2cgzip%2cgzip&Accept-Language=en-AU&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAHgAAAAYABgAkAAAAA4ADgBIAAAAEAAQAFYAAAASABIAZgAAABAAEACoAAAANYKI4gUBKAoAAAAPSgBVAFMAVABJAEMARQBSAGEAdABpAGwAYQBsAEEAVwBLAFMANQAzADcAMgA2ADEAPY1tpAEvSp0AAAAAAAAAAAAAAAAAAAAAyQBeCmtO9f7LX%2fiQDfGQkQsvS8PePBVfQSawM960yZWsaavouGJD6A%3d%3d&Expect=100-continue&Host=scdctstmp01%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.147)&X-TFS-Version=1.0.0.0&X-VersionControl-Instance=182973de-f5c6-4c0f-9895-91f36f476551 Path: /VersionControl/v1.0/repository.asmx Local Request: False Host Address: 10.96.144.249 User: JUSTICE\RatilalA [authentication type: NTLM] Exception Message: Keyset does not exist (type CryptographicException) Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx) at System.Security.Cryptography.SafeProvHandle.ReleaseHandle() at System.Runtime.InteropServices.SafeHandle.InternalDispose() at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing) at System.Runtime.InteropServices.SafeHandle.Dispose() at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing) at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose() at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GetKeyInformation(Byte[] privateKey, Int32& keyLength, Byte[]& publicKey) at Microsoft.TeamFoundation.VersionControl.Server.RepositoryProperties.set_PrivateKey(Byte[] value) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. and Event Type: Error Event Source: TFS Version Control Event Category: None Event ID: 3000 Date: 1/12/2011 Time: 2:23:59 PM User: N/A Computer: SCDCTSTMP01 Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 1/12/2011 6:23:59 AM Machine: SCDCTSTMP01 Application Domain: /LM/W3SVC/3/Root/VersionControl-6-129671942250700000 Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 4440 Thread Id: 4660 Account name: JUSTICE\svctfsservicetest Detailed Message: TF14000: A critical error occured while generating new download key. Shutting down the current AppDomain Web Request Details Url: http://scdctstmp01:8080/VersionControl/v1.0/repository.asmx [method: POST] User Agent: Team Foundation (devenv.exe, 8.0.50727.147) Headers: Content-Length=319&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip%2cgzip%2cgzip&Accept-Language=en-AU&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAHgAAAAYABgAkAAAAA4ADgBIAAAAEAAQAFYAAAASABIAZgAAABAAEACoAAAANYKI4gUBKAoAAAAPSgBVAFMAVABJAEMARQBSAGEAdABpAGwAYQBsAEEAVwBLAFMANQAzADcAMgA2ADEAPY1tpAEvSp0AAAAAAAAAAAAAAAAAAAAAyQBeCmtO9f7LX%2fiQDfGQkQsvS8PePBVfQSawM960yZWsaavouGJD6A%3d%3d&Expect=100-continue&Host=scdctstmp01%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.147)&X-TFS-Version=1.0.0.0&X-VersionControl-Instance=182973de-f5c6-4c0f-9895-91f36f476551 Path: /VersionControl/v1.0/repository.asmx Local Request: False Host Address: 10.96.144.249 User: JUSTICE\RatilalA [authentication type: NTLM] Exception Message: Keyset does not exist (type CryptographicException) Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx) at System.Security.Cryptography.SafeProvHandle.ReleaseHandle() at System.Runtime.InteropServices.SafeHandle.InternalDispose() at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing) at System.Runtime.InteropServices.SafeHandle.Dispose() at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing) at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose() at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GenerateNewPrivateKey(Int32 keyLength) at Microsoft.TeamFoundation.VersionControl.Server.AdministrationManager.GenerateRepositoryKey(Int32 keyLength) at Microsoft.TeamFoundation.VersionControl.Server.Global.Initialize() For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Anyone knows what the issue is? Thanks.
Found out that the database I was copying was SP1, while my test server was not. To find TFS version: Navigate to C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\bin Right click on Microsoft.TeamFoundation.Server.dll, Properties, Version File version 8.0.50727.762 = SP1. File version 8.0.50727.147 = RTM.