It is possible that when you deploy your CSPKG file , you may encounter an error as "The specified deployment slot Production is occupied" and your package deployment will fail.
This error may occur in the following cases:
- Error Creating a New Deployment
- Error creating deployment for hosted service 'Your-Service-Name'
- During Actual Deployment
Here is the call stack which is showed during the error and exception:
The specified deployment slot Production is occupied. Date: 5/27/2011 10:04:11 PM UTC Dr. Watson Diagnostic ID: 869cd6b1b974480b9419c61d942734de Inner exception message: Details: HostName:RD************* Timestamp:5/27/2011 10:04:10 PM Code:SlotOccupied Description:The specified deployment slot Production is occupied. Exception Details: An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Microsoft.Cis.DevExp.Services.Rdfe.RdfeConflictException: The specified deployment slot Production is occupied. at AsyncHelper.RethrowableException.AsyncHelper.IRethrowableException.Rethrow() at AsyncHelper.ExceptionUtility.ReThrow(Exception exception) at Microsoft.Cis.DevExp.Services.Rdfe.DataModel.Operation`1.EndRun(IAsyncResult asyncResult) at Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement.ServiceManagementService.EndCreateDeployment(IAsyncResult asyncResult) at AsyncInvokeEndEndCreateDeployment(Object , Object[] , IAsyncResult ) at System.ServiceModel.Dispatcher.AsyncMethodInvoker.InvokeEnd(Object instance, Object[]& outputs, IAsyncResult result) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage6(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) Exception Rethrown at:[1] at AsyncHelper.RethrowableException.AsyncHelper.IRethrowableException.Rethrow() at AsyncHelper.ExceptionUtility.ReThrow(Exception exception) at Microsoft.Cis.DevExp.Services.Rdfe.DataModel.Operation.EndExecuteOnFrontend(IAsyncResult asyncResult) at Microsoft.Cis.DevExp.Services.Rdfe.DataModel.Operation.<RunInternal>d__14.MoveNext() at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) Exception Rethrown at:[0] at Microsoft.Cis.DevExp.Services.Rdfe.Operations.CreateDeploymentOperation.<ExecuteOnFrontend>d__5.MoveNext() at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin)Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement.ConflictFaultServer Error: The specified deployment slot Production is occupied. (Conflict)
Here are two workarounds you can use to solve this problem:
- Delete the existing production deployment and re-deploy with new package
- Start the current deployment (Production), Deploy new package in Staging slot, Perform VIP-Swap operation.
Jessica Cauffiel Emmanuelle Vaugier Sarah Silverman Larissa Meek Gina Carano
No comments:
Post a Comment