Showing posts with label offline. Show all posts
Showing posts with label offline. Show all posts

Friday, 8 September 2017

Download Offline Installer for VS 2017

There is no ISO available to download for VS2017. You can view why Microsoft did not make ISO available, is discussed in here. However if you want to download VS 2017 to perform an offline installation you can follow the steps described below.

  • Download the relevant VS installation .exe (for example vs_enterprise__984310617.1489458965.exe).
  • Copy it to your local hard drive folder let’s say E:\Install
  • Create a folder to download installation files say E:\Install\VS2017 (can be in a different path such as D:\VS2017)
  • Open command prompt as administrator and change the directory to where your downloaded .exe is available
  • Execute the command below


Sunday, 23 August 2015

Take Azure Web Application Offline – While Deploying with VS Release Management

You may encounter below error while deploying a Web Application to Azure via RM Server.
*******************************************************************************************************
Info: Adding sitemanifest (sitemanifest).
Info: Deleting file (xxxxxxxxxx\webapp-log.txt).
Warning: An error was encountered when processing operation 'Delete File' on 'we
bapp-log.txt'.
Retrying operation 'Delete' on object filePath (xxxxxxxxxxxxx\webapp-log.txt).
Attempt 1 of 5.
Warning: An error was encountered when processing operation 'Delete File' on 'we
bapp-log.txt'.
Retrying operation 'Delete' on object filePath (xxxxxxxxxxxxx\webapp-log.txt).
Attempt 2 of 5.
Warning: An error was encountered when processing operation 'Delete File' on 'we
bapp-log.txt'.
Retrying operation 'Delete' on object filePath (xxxxxxxxxxxxx\webapp-log.txt).
Attempt 3 of 5.
Warning: An error was encountered when processing operation 'Delete File' on 'we
bapp-log.txt'.
Retrying operation 'Delete' on object filePath (xxxxxxxxxxxxx\webapp-log.txt).
Attempt 4 of 5.
Warning: An error was encountered when processing operation 'Delete File' on 'we
bapp-log.txt'.
Retrying operation 'Delete' on object filePath (xxxxxxxxxxxxx\webapp-log.txt).
Attempt 5 of 5.
Error Code: ERROR_FILE_IN_USE
More Information: Web Deploy cannot modify the file 'webapp-log.txt' on the dest
ination because it is locked by an external process.  In order to allow the publ
ish operation to succeed, you may need to either restart your application to rel
ease the lock, or use the AppOffline rule handler for .Net applications on your
next publish attempt.
  Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE
.
Error: I/O error occurred.
Error count: 1.

*******************************************************************************************************
How to resolve
To resolve above issue it is required to set the rule to take web application offline while deploying with web deploy.
-enableRule:AppOffline

Should be set in the Web Deployment component in the RM server template.

image

With this change web application is taken offline while the deployment happens.

image

Change made to default page and checked in.

image


Build and Release.

image

image

Site under construction (Taken offline)

image

Deployment done.

image

image



Popular Posts