Sitecore azure re-deployment

308 Views Asked by At

I am using site-core azure for deployment. I have clean-up the deployment using the link below: https://kb.sitecore.net/articles/771717

after that when i am trying to deploy again, its throwing below error:

Execute package failed System.ApplicationException: AdvaiyaWebSiteTestScusCe01Role01SSc437Staging [S] Execute package failed ---> System.ApplicationException: Execute package is failed ---> System.Runtime.Remoting.RemotingException: Object '/e44991be_f499_4234_a3a7_de70f8a3bcf7/6qjthylyeqgvlu+u0v4xxedj_286.rem' has been disconnected or does not exist at the server. Server stack trace: at System.IO.FileStream.get_CanRead() at MS.Internal.IO.Zip.ZipIOLocalFileBlock.CheckFileAccessParameter(Stream stream, FileAccess access) at

How to resolve?

Thanks

2

There are 2 best solutions below

7
On BEST ANSWER

I have seen this error using both Sitecore Azure module and Visual Studio, where Azure .NET SDK 2.5 were used. Nevertheless, I have not seen it with SDK 2.4 or 2.6.

Since you cannot use the other SDK version with Sitecore Azure module, the only thing you can try is, to run a deployment again.

Otherwise, use the latest Azure .NET SDK with Visual Studio: https://github.com/olegburov/sitecore-azure-content/blob/master/articles/how-to-deploy-sitecore-80-solution-to-microsoft-azure-web-app-using-visual-studio.md

3
On

To export Sitecore Session database as *.bacpac file please refer to the following article: https://github.com/olegburov/sitecore-azure-content/blob/master/articles/how-to-deploy-sitecore-databases-to-azure-sql-database.md