# Installation v1.0.0.1440 - Replacing existing files failed

**URL:** https://www.finalbuilder.com/forums/t/installation-v1-0-0-1440-replacing-existing-files-failed/5678
**Category:** Discussion
**Created:** [February 10, 2013, 11:33am UTC](https://www.finalbuilder.com/forums/t/installation-v1-0-0-1440-replacing-existing-files-failed/5678 "2013-02-10T11:33:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [February 10, 2013, 11:33am UTC](https://www.finalbuilder.com/forums/t/installation-v1-0-0-1440-replacing-existing-files-failed/5678/1 "2013-02-10T11:33:42Z")

</div>

Morning,

Thanks for the breadcrumb fixes over the weekend.

I'm just trying to upgrade to v1.0.0.1440 and I'm getting a stack of exceptions during the install, where the process is not overwriting existing files.&nbsp; I noticed that a stack of the services were still running, even after the installation UI said it was turning them off. I was also unable to stop the "Continua CI Application Service" as I get a "Error 1061:&nbsp;The service cannot accept control messages at this time."&nbsp; I think there is something funky going on here.&nbsp; I can't get the "Retry" button to work, only the "Ignore" button. I've eventually "Aborted" the installation.

Attachment unavailable

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 11, 2013, 12:17pm UTC](https://www.finalbuilder.com/forums/t/installation-v1-0-0-1440-replacing-existing-files-failed/5678/2 "2013-02-11T12:17:23Z")

</div>

Sounds like the service crashed during shutdown. You will need to terminate the process. Have a look in the windows eventlog and see if there is anything noteworthy there.

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [February 11, 2013, 1:10am UTC](https://www.finalbuilder.com/forums/t/installation-v1-0-0-1440-replacing-existing-files-failed/5678/3 "2013-02-11T01:10:36Z")

</div>

> Posted By [Vincent Parrett](https://www.finalbuilder.com/User-Profile/userid/5.aspx) on 10 Feb 2013 05:17 PM  
> Sounds like the service crashed during shutdown. You will need to terminate the process. Have a look in the windows eventlog and see if there is anything noteworthy there.

  

I eventually did a multi server reboot as there were a few things in play here. The SQL Server 2012 Server 2012 was due for reboot. It looks like there was a crash in some part of the service, as you said and no amount of IIS restarting or attempts to restart the service worked.

I had a repo with a setting issue:

> Cannot get new changesets for @link(2002, 31aa26d0-bcf4-4880-8daf-be634d7b4741)[NBStore-Codeplex]: Value cannot be null.   
> Parameter name: path1   
> This event has been reported 297 times.

I had some other events that just look like timing/upgrade events, post upgrade like:

> Exception: ResourceNotFoundException   
> Message: Could not update properties of agent 'jdbne01' as a connection could not be established on 192.168.\*\*\*.\*\*\*:9002. Make sure the port has been excluded from any firewalls enabled on the target machine.   
> Stack Trace: at Continua.Modules.Builds.Agents.AgentManager.UpdatePropertiesForAgent(RegisteredAgent agent)   
> at Continua.Modules.Builds.Agents.AgentManager.Register(String address, String hostname, Int32 port, String version)   
> at Continua.Modules.Builds.Services.AgentRegistrationService.Register(String hostname, Int32 port, String version)   
> at SyncInvokeRegister(Object , Object[] , Object[] )   
> at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
> at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   
> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)   
> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)   
> at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
> 
> And
> 
> > The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:10'.   
> > This event has been reported 3 times.
> > 
> > I'm going to assume they are just "agent upgrade/timing issues", so I'm not worried.
> > 
> > &nbsp;
> > 
> > The more concerning events&nbsp;were a **series of&nbsp;transaction failures** , which I've added for your reference (as they seemed to be one off failures).
> > 
> > > The Build Queue Monitor threw the following exception:  
> > > NHibernate.TransactionException: Begin failed with SQL exception ---\> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---\> System.ComponentModel.Win32Exception: The wait operation timed out   
> > > --- End of inner exception stack trace ---   
> > > at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   
> > > at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)   
> > > at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   
> > > at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)   
> > > at System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginTransaction(IsolationLevel iso)   
> > > at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)   
> > > at System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel isolationLevel)   
> > > at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)   
> > > --- End of inner exception stack trace ---   
> > > at Continua.Shared.Data.Hibernate.NHibernateDatabase..ctor(ISession session)   
> > > at Continua.Shared.Data.Hibernate.NHibernateDatabaseFactory.Open()   
> > > at Continua.ApplicationSessionContext.get\_Database()   
> > > at Continua.LicenseManager.GetLicenseDTOs()   
> > > at Continua.LicenseManager.GetEffectiveLicenseCount()   
> > > at Continua.Modules.Builds.BuildQueue.Monitor()   
> > > at Continua.Modules.Builds.BuildQueue.\<.ctor\>b\_\_0()
> > > 
> > > Exception: TransactionException   
> > > Message: Begin failed with SQL exception   
> > > Stack Trace: at Continua.Shared.Data.Hibernate.NHibernateDatabase..ctor(ISession session)   
> > > at Continua.Shared.Data.Hibernate.NHibernateDatabaseFactory.Open()   
> > > at Continua.ApplicationSessionContext.get\_Database()   
> > > at Continua.Modules.Builds.Agents.AgentManager.Register(String address, String hostname, Int32 port, String version)   
> > > at Continua.Modules.Builds.Services.AgentRegistrationService.Register(String hostname, Int32 port, String version)   
> > > at SyncInvokeRegister(Object , Object[] , Object[] )   
> > > at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
> > > at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   
> > > at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)   
> > > at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)   
> > > at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)   
> > >   
> > > Exception: SqlException   
> > > Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)   
> > > Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   
> > > at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)   
> > > at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   
> > > at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)   
> > > at System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginTransaction(IsolationLevel iso)   
> > > at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)   
> > > at System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel isolationLevel)   
> > > at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)   
> > >   
> > > Exception: Win32Exception   
> > > Message: The semaphore timeout period has expired   
> > > Stack Trace:&nbsp;   
> > > The background process XMPP notification queue threw the following exception: NHibernate.TransactionException: Begin failed with SQL exception ---\> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) ---\> System.ComponentModel.Win32Exception: The semaphore timeout period has expired   
> > > --- End of inner exception stack trace ---   
> > > at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   
> > > at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)   
> > > at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()   
> > > at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)   
> > > at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   
> > > at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)   
> > > at System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName)   
> > > at System.Data.SqlClient.SqlInternalConnection.BeginTransaction(IsolationLevel iso)   
> > > at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)   
> > > at System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel isolationLevel)   
> > > at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)   
> > > --- End of inner exception stack trace ---   
> > > at Continua.Shared.Data.Hibernate.NHibernateDatabase..ctor(ISession session)   
> > > at Continua.Shared.Data.Hibernate.NHibernateDatabaseFactory.Open()   
> > > at Continua.ApplicationSessionContext.get\_Database()   
> > > at Continua.Notification.NotificationManager.GetPublisherById(Guid id)   
> > > at Continua.Notification.Queues.XmppQueue.CreateClient()   
> > > at Continua.Notification.Queues.XmppQueue.Monitor()   
> > > at Continua.Shared.BackgroundMonitor.Run()
